Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.