[Tutor] RPMs

Magnus Lycka magnus@thinkware.se
Mon, 16 Sep 2002 02:38:50 +0200


At 12:20 2002-09-15 -0400, fleet@teachout.org wrote:
>I've finally decided to upgrade from 1.5 to 2.2.  I've found the RPMs.
>There's an RPM for RH7.3 and one for RH7.2.  My system is RH7.1 (of
>course!).  Can I use either of the RH7.+ RPMs or should I use the RH6.2
>binary?

Please note that most of the administration tools in Red Hat
rely on Python 1.5.2. You can't upgrade from 1.5.2 to 2.2
without breaking a lot of things.

For that reason Python 2.x is a separate package in Red Hat,
and the python 2.2 executable will be /usr/bin/python2, and
/usr/bin/python will still be 1.5.2.

This will be a bit problematic if you have a lot of programs
with #!/usr/bin/python or #/usr/bin/env python. In the second
case I suppose you can somehow trick env to find the python2
binary for the normal users, and python 1.5.2 for root...

See http://www.python.org/2.2.1/rpms.html


--=20
Magnus Lyck=E5, Thinkware AB
=C4lvans v=E4g 99, SE-907 50 UME=C5
tel: 070-582 80 65, fax: 070-612 80 65
http://www.thinkware.se/  mailto:magnus@thinkware.se