How can I upgrade bash to >= 4.1 on CentOS 5.5?

Posted by Agvorth on Server Fault See other posts from Server Fault or by Agvorth
Published on 2012-07-01T19:23:41Z Indexed on 2012/07/01 21:18 UTC
Read the original article Hit count: 254

Filed under:
|
|

I have a CentOS 5.5 VPS server.

I want to use RVM.

According to the console output when I run the RVM installer, RVM requires bash >= 4.1.

I just ran yum update. My bash version is now 3.2.25.

If I understand how yum works, that means that 3.2.25 is sort of the version of bash that "belongs with" my CentOS version, and it's the latest version I can get using yum. (Right? Or am I wrong about this?)

How can I get that on my CentOS 5.5 system?

To clarify, I understand that I can just download the source and install, but I'm hesitant to break out of yum's version management system. Is there a way to upgrade bash without disrupting yum?

© Server Fault or respective owner

Related posts about centos

Related posts about bash