Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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'm running Ubuntu 11.10. I have both Python 2.7 and 3.2 installed on the system and available in /usr/bin/. I am looking to start using pythonbrew and it seems it will want me to install my python versions in my user directory. Do I need to do anything with the currently installed versions python? the info on pythonbrew that I can find doesn't really mention the legacy versions of python that might be installed on a system.


share|improve this question
up vote 0 down vote accepted

You will have a symlink at /usr/bin/python pointing to either /usr/bin/python3.2 or /usr/bin/python.2.6

When you type "python" at the command line, it will search the folders in the PATH and exectute the first python it finds - the one in /usr/bin right now, which is a symlink so will run either python2.6 or python3.2

If you install other version of python in your home folder, then provided the python exectutable for these installations are earlier in the PATH than the system one, it will be run in its place.

An alternative would be to run the installed version of python by specifying the path, in which case the PATH variable is not considered - for example:


You can always run a local version in preference to a system version, so you don't need to do anything about them.

share|improve this answer
thanks. cleared up. all is well. – El Stupido Jan 23 '12 at 21:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .