Server Fault is a question and answer site for system and network administrators. 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 want to install Python 2.6, but as it's still experimental for Debian Linux, I'm wondering what my best course of action is. Is the right idea to install it into /usr/local for my system and then update the python sym link in /usr/bin to point to that version? Are there other considerations or ways to do it I should be thinking about?

share|improve this question
I just compiled it myself and installed in /usr/local. Both 2.6 and 3.1. – o0'. May 11 '10 at 8:33
Don't touch /usr/bin at all, you don't need to do that. – o0'. May 11 '10 at 8:34
up vote 1 down vote accepted

Using the altinstall make target instead of the install target will create a python2.6 executable, without touching the existing python link or executable.

share|improve this answer

You can install the python on a different location and when using the binary in any other programs, use the full path to the binary where you have installed.

share|improve this answer

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.