You can use relatively new software by using Software Collections. For example, if you want to use Python 2.7 on Cent OS 6, do the following.
sudo yum install centos-release-scl-rh
sudo yum install python27
Software Collections are not available just by installing them. To actually use it, execute the following command.
scl enable python27 bash
This will launch a new bash and you will be able to use Python 2.7.8. If you want to keep it available at all times, you should write source /opt/rh/python27/enable
in .bashrc
.
Recommended Posts