Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to install a specific version of python. I will be using yum install python26. My question is, does that upgrade the current python installed on the machine or does it install the new python in addition to the current one?

I need to be able to keep the current version default (which is 2.4.3) and also install the new 2.6

share|improve this question

1 Answer 1

In answering your question:

can you install multiple versions of python with yum

Yes you can, but check your OS site first and make sure you install/altinstall, not update and use the different version names, Python2.4 and Python2.6. There is not much info on how to install two Python versions with Yum and a lot of how to without.

Read mainly the first and last sections, but the whole page is worth a read.

Stack Overflow has some good advice and links, if you prefer different ways to install.

share|improve this answer
    
Just to reinforce the "be careful" point... make sure you get it right else any scripts/apps that rely on python (e.g. including system management) may break. Not sure how much of an issue it is with your (unnamed) distribution but some are more susceptible than others. –  PriceChild Apr 13 '11 at 8:37

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.