473,394 Members | 1,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 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 3171
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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,...
0
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...

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.