Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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. –  Lohoris May 11 '10 at 8:33
    
Don't touch /usr/bin at all, you don't need to do that. –  Lohoris May 11 '10 at 8:34

2 Answers 2

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

 
discard

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.