Too many python installations. Should i remove them all and install the latest?

Νικόλαος Κούρας nikos.gr33k at gmail.com
Fri May 31 13:10:05 EDT 2013


Τη Παρασκευή, 31 Μαΐου 2013 6:55:03 μ.μ. UTC+3, ο χρήστης Michael Torrie έγραψε:
> On 05/31/2013 09:20 AM, Νικόλαος Κούρας wrote:
> 
> > Why so many pythons in my system. Now in the case of my Python3
> 
> > installation, it looks like i have two parallel installations of
> 
> > Python3, but i don't. One is almost certainly a symlink to the other
> 
> > and not an actual installation.
> 
> 
> 
> Well is it a symlink?
> 
> 
> 
> > I'm thinking of:
> 
> > 
> 
> > yum remove python
> 
> > yum remove python3
> 
> > yum remove python3.3
> 
> 
> 
> What a fantastic way to completely break your os!  Python 2 is is a deep
> 
> dependency of CentOS.  You cannot remove it.  Python3 and 3.3 can be
> 
> removed of course.

root at nikos [~]# ls -al /usr/bin/python*
-rwxr-xr-x 3 root root 4864 Feb 22 02:00 /usr/bin/python*
lrwxrwxrwx 1 root root    6 Apr  5 20:34 /usr/bin/python2 -> python*
-rwxr-xr-x 3 root root 4864 Feb 22 02:00 /usr/bin/python2.6*
-rwxr-xr-x 1 root root 1418 Feb 22 02:00 /usr/bin/python2.6-config*
lrwxrwxrwx 1 root root   24 Apr  7 22:10 /usr/bin/python3 -> /opt/python3/bin/python3*
lrwxrwxrwx 1 root root   16 Apr  5 20:35 /usr/bin/python-config -> python2.6-config*
root at nikos [~]# 

so, i should just 'yum remove python3' ?

> root at nikos [~]# python3 -V 
> Python 3.3.0 
> root at nikos [~]# python3.3 -V 
> Python 3.3.0 

whre is that 3.3 anyway that which presents?



More information about the Python-list mailing list