Updated versions of various software are available through the Redhat “Software Collections” system.
This provides newer versions of many components than are available with the base OS.
Some packages available in Software Collections 1.2 include:
And their Software Collections 2.0 contains further packages such as python 2.7 and 3.3
<note> At the time of writing, we are distributing the following components:
Software Collections may not be available on all systems - for example, those systems “frozen” on a particular OS release for collaboration compatibility. </note>
We are now importing any installed software collections into the environment modules system, so you can easily load or unload them, including in your login scripts.
Please consult our modules section for more information.
You can use the command
scl to find out what is installed, or to enable a particular collection.
> scl -l php54 python33 > scl enable [collection1,collection2] bash e.g: > scl enable php54 bash > php --version PHP 5.4.16 (cli) (built: Oct 9 2013 18:11:47) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
There's apparently no “official” way to do this, but a redhat blog touches on the subject here:
(as noted above you can also use environment modules to achieve this).