Home » Questions » Computers [ Ask a new question ]

Preferred way to install multiple python versions on Ubuntu Jaunty

Preferred way to install multiple python versions on Ubuntu Jaunty

Situation: Jaunty ships with 2.6, which does not fit my needs because many libraries are still failing. I want to have a system default 2.5. Also, for testing purposes, I need 2.6, 2.5 and 2.4 installed.

Asked by: Guest | Views: 381
Total answers/comments: 2
Guest [Entry]

You should be able to install 2.4, 2.5, 2.6 and/or 3.0 from the repositories using Synaptic Package Manager or apt-get or aptitude then use update-alternatives to set up a default. See my answer here for information on using update-alternatives (the answer is even specific to Python).
Guest [Entry]

"I know a number of people also use 'virtualenv' to create sub-environments with different versions and libraries.

Check it here: virtualenv"