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 want to uninstall Python 2.6.5 and then install Python 2.5. I also want to uninstall nosetests new version and install the old one.

OS is Ubuntu.

share|improve this question

migrated from stackoverflow.com May 20 '11 at 15:20

This question came from our site for professional and enthusiast programmers.

    
Uninstall with aptitude remove and install with aptitude install? –  nmichaels May 20 '11 at 15:19
1  
possible duplicate askubuntu.com/questions/36443/… –  Blomkvist May 20 '11 at 15:42
2  
Downgrading python can actually interfere with Ubuntu. This should really be asked on askubuntu. –  Blomkvist May 20 '11 at 15:44

1 Answer 1

While this would be best asked on askubuntu I have used the answer outlined here before. The main idea is that you can use the Deadsnakes PPA in combination with virtualenv to use the specific Python version that you need. I use it all the time to build specific package versions of Mercurial to deploy to my remote Linux server and it works perfectly!

You should NOT uninstall or downgrade the default Python on an Ubuntu machine since internal programs and services do rely on it. You will get unexpected results if you do.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.