I want to uninstall python 2.6.5 and want to install python 2.5 Also want to uninstall nosetests new version and install old one.

OS is Ubuntu

link|improve this question
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
feedback

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

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

1 Answer

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown