471,334 Members | 1,844 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,334 software developers and data experts.

uninstall python2.5 on debian

Hello,
both python2.3 and python2.5 are installed on my Debian webserver. For
some reason, I would like to uninstall Python2.5 which was installed
from source (make install) and keep 2.3.
I have tried make uninstall and searched the web, but that did not help me.
I guess rm -Rf python2.5 is not a wise thing to do.

thanks,
Dimitri

--
---
You can't have everything. Where would you put it? -- Steven Wright
---
please visit www.serpia.org
Sep 18 '07 #1
3 3083
In message <ma*************************************@python.or g>, dimitri
pater wrote:
I would like to uninstall Python2.5 which was installed
from source (make install) and keep 2.3.
How about doing the make install again, and making a note of which files
were installed, and removing those?
Sep 19 '07 #2
On Sep 18, 9:03 am, "dimitri pater" <dimitri.pa...@gmail.comwrote:
Hello,
both python2.3 and python2.5 are installed on my Debian webserver. For
some reason, I would like to uninstall Python2.5 which was installed
from source (make install) and keep 2.3.
I have tried make uninstall and searched the web, but that did not help me.
I guess rm -Rf python2.5 is not a wise thing to do.

thanks,
Dimitri

--
---
You can't have everything. Where would you put it? -- Steven Wright
---
please visitwww.serpia.org
I'm not sure if this is what you're looking for, but in /usr/bin/
there is a symbolic link named 'python' that points to a python
version in the same directory. I had the same issue and just
redirected the pointer (deleted the old one and created an new one
with the same name that pointed to the python version I wanted to use
when invoking 'python'). Having said that, the other python version is
still installed...(which was no problem at all in my case).

Sep 21 '07 #3
I have tried make uninstall and searched the web, but that did not help me.
I guess rm -Rf python2.5 is not a wise thing to do.
It's part of the solution. There is no automated install procedure; you
have to manually remove everything that got installed. In <prefix>/bin,
it's most files that have 2.5 in their name, plus any links to them. In
<prefix>/lib, it's python2.5. In <prefix>/include, it's python2.5. Plus
a few things that I probably forgot.

Regards,
Martin
Sep 22 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by shagshag13 | last post: by
1 post views Thread by km | last post: by
3 posts views Thread by Tin Gherdanarra | last post: by
1 post views Thread by Rustom Mody | last post: by
2 posts views Thread by Pradnyesh Sawant | last post: by
1 post views Thread by Roger Erens | last post: by
reply views Thread by rosydwin | last post: by

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.