Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I followed this tutorial and installed python 2.5. Now when I enter the python terminal it reads python 2.5 and not 2.6.

How do I remove python 2.5? So it reverts back to 2.6?

Python was 2.5 was installed by:

make install

It was installed on Fedora, I was told changing the Pythonpath would help but I don't know how to do it or what Path to put in?

share|improve this question
up vote 2 down vote accepted

The python you installed manually ended up under /usr/local, which is the directory for manually installed programs. Since /usr/local/bin is usually in the program search path before /usr/bin (which is where most distribution-provided executables are), when you run python, it runs /usr/local/bin/python.

To remove your manually installed python, remove at least /usr/local/bin/python (or rename it to python2.5, if it's not already a symbolic link to python2.5). If you're not using the 2.5 installation at all, remove all of its bits under /usr/local: /usr/local/lib/python2.5, and probably others such as /usr/local/man/man1/python*.

share|improve this answer
worked a treat thanks – Phil Aug 20 '10 at 23:39

Your Answer


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.