Skip to content

ozcodes/rhel5-python26

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

rhel5-python26

Installing Python 2.6 on RHEL 5

Instructions:

Get the epel-release-5-4.noarch.rpm from fedora archives at: https://archive.fedoraproject.org/pub/archive/epel/5/x86_64/epel-release-5-4.noarch.rpm

Place the file in the root directory of the machine and run the install.sh script

Additional info

The script install the epel file in order to use yum for the python 2.6 installation and then add python 2.6 as an alias to the python command so that when python is used it uses the python 2.6 and not the 2.4 that comes with rhel.

Python 2.6 as permanent default python

You will notice that after reboot python 2.6 is not the default python. To make it so insert this line "alias python='/usr/bin/python2.6'" in the user's ".bashrc" file. for example if you use root as your user the file would be at /root/.bashrc

About

Installing Python 2.6 on RHEL 5

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages