473,486 Members | 1,560 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 10645
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
4550
by: Peter Maas | last post by:
Recently I replaced Win2k with Linux on my desktop computer. Using mostly multi-platform software I thought this would be easy. It was not as easy as expected getting wxPython to work. There seemed...
7
3194
by: Edward Diener | last post by:
I can install Python 2.4 on the Fedora 3 Linux system, but after I do a number of Linux utilities and commands, like yum, stop working because they were dependent on the Python 2.3 installation....
0
620
by: Darren L. Weber | last post by:
The following is a first attempt to almost create a shell script for installation of ATLAS and LAPACK. It does not work right now and it is specific to a particular platform. It is posted here to...
3
2359
by: Cowmix | last post by:
For my day job I am forced to run RHEL3 (and Centos3 on my desktop). I want to be able to use a few applications that require Python 2.4.X but RHEL3 ships with Python 2.2.3. I have tried to install...
1
10301
by: Ioannis Vranos | last post by:
OS: Scientific Linux 4.4 (http://www.scientificlinux.org) which is a Red Hat Enterprise Linux 4 derivative (http://www.redhat.com/rhel/), like CentOS (http://www.centos.org), White Box Linux...
1
1714
by: Nick Day | last post by:
Hi, I'm trying to install PIL from source on my CentOS 4.5 server. The build summary reports that I have everything installed... ...
5
2195
by: jgelfand | last post by:
I'm installing Python 2.4.4 on a CentOS release 4.6 (Final) 64-bit machine. Running "./configure --prefix="/ usr/local/yosi/ciao-4.0/ots" --enable-shared" appears to be fine, but I get the...
3
1904
by: Alexandre Gillet | last post by:
Hi, I am trying to build python-2.4.5 on Centos 5.1, which is a virtual machine running with xen. I am not able to build python. The compilation crash with the following: gcc -pthread -c ...
1
3258
by: F. | last post by:
Hello, I have problems making python on CentOS 5. Seems that can not find something. I can not find the problem. Where is the problem?
0
6964
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7123
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6839
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7305
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4863
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4559
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.