Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
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.

share|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 posting your answer, you agree to the privacy policy and terms of service.

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