Linux – Install Python 2.6 on Debian Linux

debianlinuxpython

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?

Best Answer

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