Too many python installations. Should i remove them all and install the latest?
Νικόλαος Κούρας
nikos.gr33k at gmail.com
Fri May 31 14:02:50 EDT 2013
Τη Παρασκευή, 31 Μαΐου 2013 8:55:51 μ.μ. UTC+3, ο χρήστης Ian έγραψε:
> On Fri, May 31, 2013 at 11:42 AM, Νικόλαος Κούρας <nikos.gr33k at gmail.com> wrote:
>
> > OMG i gave by mistake
>
> >
>
> > root at nikos [/]# rm -rf /root/.local/
>
> >
>
> > did i screwed up my remote VPS which i host 10 peoples webpages?
>
>
>
> I don't know, is that where you were keeping the data?
>
>
>
> The website still appears to be working, as best I can tell from this
>
> computer. I've never actually been able to view it from here, because
>
> I get a UnicodeDecodeError at this line:
>
>
>
> host = socket.gethostbyaddr( os.environ['REMOTE_ADDR'] )[0]
>
>
>
> But at least I'm still seeing that error, so the server is still
>
> responding to requests.
Everything seem to be workign as expected, my webiste and the other 10 client websites just chhecked.
luckily i keep my stuff at /homw/nikos so there are untouched.
i hope i havent deleted anything though system need form /root/.local but i guess this is where root's user personal stuff and instalation of python from source where. i ddidnt know if it has soemhtign else.
root at nikos [/]# which python
/usr/bin/python
root at nikos [/]# which python3
/root/.local/lib/python2.7/bin/python3
root at nikos [/]# which python3.3
/usr/local/bin/python3.3
root at nikos [/]# ls -l /usr/bin/py
pydoc pygettext.py python python2.6 python3
pyflakes pynche python2 python2.6-config python-config
root at nikos [/]# ls -l /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 [/]#
please tell me how to unistall python 2.6 and just keep 2.7
and install 3.3.2 please uisng yum.
yum install python3 doesnt work for me.
More information about the Python-list
mailing list