472,964 Members | 2,346 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,964 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 3159
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: shagshag13 | last post by:
hello, i accidentally delete etc/python2.2/site.py on my debian system could some one help me to recreate this file as i didn't know what it contains ? thanks,
0
by: Xavier | last post by:
Greetings, While messing around with the "dl" module I ran into a segfault. *DO NOTE THAT THE FOLLOWING OCCURED ON 2 OF MY LINUX WORKSTATIONS* ------ # python -c 'import dl;...
1
by: km | last post by:
Hi all, is there a debian binary of python2.4 ? tia, KM
6
by: Miernik | last post by:
On my Debian GNU/Linux system I have Python 2.3 installed in /usr/lib/python2.3/ where most Python system files like /usr/lib/python2.3/gzip.py /usr/lib/python2.3/gzip.pyc...
3
by: Tin Gherdanarra | last post by:
Hallo, when trying to run the script ez_setup.py, I fail with unable to open /usr/lib/python2.3/config/Makefile This is true. There is no /usr/lib/python2.3/config directory. A check on...
1
by: Rustom Mody | last post by:
Recently I had trouble with the sqlite package under my debian etch box as follows: I first installed the debian package python-pysqlite1.1 using synaptic. Since this seemed too old for other...
2
by: Pradnyesh Sawant | last post by:
Hello, I have a code snippet which does 'import xmltramp' to parse an xml file received over the network. Also, I have 2 instances of python, namely python2.4 and python2.5 on my box. The...
4
by: hawk | last post by:
Hi, my environment is debian, python 2.5.2. when i call con.enable_load_extension(True), the following message prompt out. debian:~# python2.5 Python 2.5 (release25-maint, Jul 20 2008, 20:47:25)...
1
by: Roger Erens | last post by:
On my Ubuntu8.04 box I installed python-all and subsequently setuptools for both 2.4 and 2.5 interpreters. To make a clean upgrade to 8.10 I need to uninstall setuptools. Any hints for doing that?...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.