Python 2.4 on Ubuntu 10.04

written on 2010-08-16

The installation of python2.4 on Ubuntu 10.04 had me pulling the hair from my head. I needed to deploy a Plone project using Fabric and buildout-source-release and python2.4, but the latter has been dropped for Ubuntu 10.04. Through dirty hacks it was possible to release, but now I've got the propper solution.

Using: and I finally ended up with:

# Jaunty 2.4 packages wget\\\_2.4.6-1ubuntu3.\\\_i386.deb -O python2.4-minimal.deb wget\\\_2.4.6-1ubuntu3.\\\_i386.deb -O python2.4.deb wget\\\_2.4.6-1ubuntu3.\\\_i386.deb -O python2.4-dev.deb sudo dpkg -i python2.4-minimal.deb python2.4.deb python2.4-dev.deb

# Setup tools wget\\\ sudo python2.4 -U setuptools

# Clean up rm python2.4-minimal.deb python2.4.deb python2.4-dev.deb

Update: After upgrading to Ubuntu 10.10 the instructions still seem to work.