Build Python 2.6 on CentOS 5.3
download python 2.6.2 tarball
extract python 2.6.2 tarball to /usr/src
E.g., tar -xvjf /share/download/Python-2.6.2.tar.bz2 -C /usr/src
> cd /usr/src/Python-2.6.2
> ./configure
> make
make a symbolic link in /usr/bin for the python 2.6.2 interpreter
> ln -s /usr/src/Python-2.6.2/python /usr/bin/python26
verify that the correct python interpreter is executed
> python26
verify that python 2.6.2 appears in the heading
Subscribe to:
Post Comments (Atom)
3 comments:
Thanks for the guide. We'll try this soon.
Anyway I think that to run python 2.6, following you procedure you will need to run "python26" not "python 26"
Thanks Fabio. Corrected the typo.
Use active python to solve this problem.
Post a Comment