Revision 1 as of 2008-05-27 13:28:17

Clear message

5.9. Adding a second version of Python to a server

You need to have Python 2.2 or better for Mailman - but what if you can't upgrade your python because it will break other dependencies? Install an additional version of Python, and point to it in your Mailman configure statement. Python 2.4.4 is recommended as of the writing of this FAQ, check for current recommendation and alter as needed.

 # wget http://www.python.org/ftp/python/2.4.4/Python-2.4.4.tgz
 # tar xvzf Python-2.4.4.tgz
 # cd Python-2.4.4
 # ./configure
 # make
 # make altinstall

The altinstall gives you a new version of Python without messing with the old one(s).

Python2.4 is now at /usr/local/bin/python2.4 Your configure statement will then include:

 # ./configure --with-mail-gid=mail --with-python=/usr/local/bin/python2.4

Last changed on Mon Feb 12 20:09:57 2007 by Brad Knowles Converted from the Mailman FAQ Wizard

This is one of many Frequently Asked Questions.