Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 have a VM of Ubuntu 10.10 x86, and I need to build a Mercurial installation against Python 2.4. I have to do this because the web host I am working on has Python 2.4 as the latest copy of Python.

In Ubuntu 9.10 it was a simple as editing two make files to target the python2.4 executable, and doing a make local against it. However since Ubuntu 10.10 does not have 2.4 I need to install the base, libraries, and dev tools for 2.4.

How do I go about doing this? I wasn't able to find a good walk-through via Google.

share|improve this question
up vote 8 down vote accepted

You can find python 2.4 and 2.5 in this PPA

I am successfully using the python2.5 from this PPA, but I have not tested the python2.4 packages.

This is a similar question.

share|improve this answer
You can also get Python 2.5 and 2.7 from that PPA. – brousch Nov 7 '10 at 20:34
That PPA provides python2.7 only for Lucid. python2.7 should be by default in Maverick. – Adi Roiban Nov 7 '10 at 21:34
Oh man it was a simple as installing python2.4 python2.4-dev on to my VM. Thanks a bunch man :) – Urda Nov 7 '10 at 21:42

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.