2.4? That's extremely old. Nobody would be using that any more. And that would be a significant downgrade from 2.17. Did you mean 2.40? Also you probably should already be on Amazon Linux 2, or better yet, a completely different distribution.
– Michael HamptonDec 04 '20 at 10:27
Yes. It is version 2.40. Does that mean you can install glib 2.40 on Amazon Linux 2?
– yesnomarkDec 06 '20 at 04:18