469,292 Members | 1,306 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,292 developers. It's quick & easy.

Installing multiple python versions - CentOs Linux

The current CentOs Linux distro includes python 2.4.3. I need to
install a more recent version but I am worried about breaking CentOs
python dependencies. Is it safe to install python 2.6 using pup?
Oct 17 '08 #1
3 10464
Brendan schrieb:
The current CentOs Linux distro includes python 2.4.3. I need to
install a more recent version but I am worried about breaking CentOs
python dependencies. Is it safe to install python 2.6 using pup?
It should be, yes. Usually, Distros make sure it doesn't break anything
- and python can have several installations living happily along each
other.

The only caveat I see is that you might accidentially replace
/usr/bin/python with the newer version. Make sure you keep that to the
one the system wants, and simply use python2.6 as executable-name.

Diez
Oct 17 '08 #2
On Oct 17, 2:51*pm, "Diez B. Roggisch" <de...@nospam.web.dewrote:
Brendan schrieb:
The current CentOs Linux distro includes python 2.4.3. I need to
install a more recent version but I am worried about breaking CentOs
python dependencies. Is it safe to install python 2.6 using pup?

It should be, yes. Usually, Distros make sure it doesn't break anything
- and python can have several installations living happily along each
other.

The only caveat I see is that you might accidentially replace
/usr/bin/python with the newer version. Make sure you keep that to the
one the system wants, and simply use python2.6 as executable-name.

Diez
If you install from sources, the safest path is to run

$ sudo make altinstall (will add the version number to the executable)

and NOT

$ sudo make install

Oct 17 '08 #3
If you install from sources, the safest path is to run
>
$ sudo make altinstall (will add the version number to the executable)

and NOT

$ sudo make install
Ah, that is perfect. Thank-you!
Oct 17 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by Peter Maas | last post: by
7 posts views Thread by Edward Diener | last post: by
reply views Thread by Darren L. Weber | last post: by
1 post views Thread by Ioannis Vranos | last post: by
1 post views Thread by Nick Day | last post: by
5 posts views Thread by jgelfand | last post: by
3 posts views Thread by Alexandre Gillet | last post: by
1 post views Thread by F. | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.