Install.: downgrade 2.2 to 2.1.3. or additionally?

Richard Jones rjones at ekit-inc.com
Wed May 8 02:08:11 EDT 2002


On Wed, 8 May 2002 16:58, Florian Konnertz wrote:
> I got python 2.2. installed by the linux slackware distro.
> I want to use Zope, it requires 2.1.x.
> Is there anything to take care of, when installing a second python,
> respectively do I have to deinstall the old one?

Python 2.1 and 2.2 will live side-by-side on a linux machine - they install 
their libs in /usr/lib/python2.1 and /usr/lib/python2.2.

The most important thing to watch out for is the python executable itself 
(typically /usr/bin/python).

To have both installed, make a copy of /usr/bin/python to /usr/bin/python2.2 - 
then you'll be able to run apps using 2.2 with that binary. Once 2.1 is 
installed, move it to /usr/bin/python2.1 and symlink whichever is more 
convenient to /usr/bin/python. You should be able to get zope to start up 
using /usr/bin/python2.1 if you want to keep /usr/bin/python symlinked to 
2.2.


   Richard






More information about the Python-list mailing list