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.


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.

|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 Mar 20 '10 at 14:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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