LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-07-2009, 03:54 PM   #1
milomak
Member
 
Registered: May 2009
Posts: 90

Rep: Reputation: 17
How can I uninstall a python package installed with python setup.py install?


Is there a formal documented way?

I have found a method of doing it, but I find it difficult to believe the ability to uninstall is not formally supported.

http://kmandla.wordpress.com/2009/01...ppy-uninstall/

Essentially:

When you install - python setup.py install --record files.txt
when you uninstall - cat files.txt | xargs rm -rf

This will, however, require the user to look through files.txt like a hawk. It is really not an ideal situation I would think.
 
Old 11-16-2009, 09:22 PM   #2
stevenworr
LQ Newbie
 
Registered: Oct 2008
Posts: 13

Rep: Reputation: 1
You are correct that distutils does not support uninstall. If you have a choice, you should use rpms (or deb) which do.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Python Python Python (aka Python 3) LXer Syndicated Linux News 0 08-05-2009 08:30 PM
dpkg wont install gmail-notify b/c depends on obselete python package baldy1324 Debian 3 08-11-2006 04:56 PM
How to uninstall package installed with make install dhirsolo Linux - Software 3 07-29-2005 02:11 PM
Uninstall a python package danesp Linux - Newbie 8 06-01-2005 11:25 PM
install python 2.3 ,necssary to remove python 2.2 ngan_yine Linux - Newbie 7 12-28-2003 04:07 PM


All times are GMT -5. The time now is 10:27 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration