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

My dedicated server is centos with cpanel. I need to upgrade python for eyeD3 program. How do i upgrade to latest python stable ? from cpanel or SSH ?

Thanks

share|improve this question

2 Answers 2

up vote 1 down vote accepted

If you use CentOS, yum provide update python. You can update Python to >= 2.5 at your own risk.

I recommendation install new version Python in /opt.

share|improve this answer
    
what risks are possible ? –  RULE101 Jan 29 '11 at 17:20
    
@ahmet CentOS uses python 2.5 for a lot of internal things. yum is one of the biggies. Basically, its par for the course that you just install a version of python from source in the /opt/ directory. It ends up being cleaner all around. –  Jordan Reiter Feb 3 '11 at 15:58

A good practice for this is installing another version of Python side by side with the system provided one, python on CentOS (and most Linux distros) is very heavily tied with the operating system, upgrading the system one to a new version is not recommendable.

I normally add a new python repo and point my program to use that version of python instead, there's an amazing guide for installing python side by side (you'll need shell access for this), check it out here http://www.question-defense.com/2009/12/25/how-to-install-python-2-6-on-centos-5-without-breaking-yum

share|improve this answer

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.