LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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: 147

Rep: Reputation: 18
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:31 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration