Operating System - Linux
1830239 Members
2119 Online
109999 Solutions
New Discussion

Re: upgrading from python2.3.5 to python2.4.2

 
vrushali
New Member

upgrading from python2.3.5 to python2.4.2

I have suse 10.1 installed on disk. It comes with python 2.4.2 . As I wanted Python 2.3.5, I installed it in /usr/local/lib, Now, when I type
# python, I have python v 2.3.5
and when I type
# python2.4, I have python 2.4.2

I do not want to keep python 2.3.5, and I would like that python -> launches python 2.4.2.
how will i do that.
Thanks for any hint
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: upgrading from python2.3.5 to python2.4.2

Shalom,

I don't know if there was a code breaking functionality problem with this upgrade.

I suggest the following:
1) Do a good sample test of your python code on the new system. If it works, take the risk and upgrade. if you find issues, plan a migration.

2) Consider keeping both versions and using a variable to point to the version you want to use.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
dirk dierickx
Honored Contributor

Re: upgrading from python2.3.5 to python2.4.2

create an alias for python, pointing to the python2.4, seems like the safest way to do it.