I would like to install Python 2.6 and mod_python on CentOS 5 (x64).

The system is delivered with old python 2.4 and I want the new one with minimal maintenance effort (compiling and having a different installation seams to be suboptimal solution).

Is there a solution for this, other than starting to recompile lots of packages? If not should I switch to Ubuntu?

Please remember that I'm talking about x64 - I found a repository on net with updated packages but it is not x64.

link|improve this question

79% accept rate
feedback

1 Answer

up vote 2 down vote accepted

Just use an additional repository like the one of the IUS Community Project, which contains the latest release of Python 2.6 and 3.1.

link|improve this answer
Thanks this worked. One remark I had to make a symlink between /usr/local/lib/python2.6 and /usr/lib/python2.6 because python did not find the packages installed with easy_install/setuptools. – Sorin Sbarnea Mar 20 '10 at 14:47
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.