Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have two applications that I attempted to install, but they didn't work and now I can't get rid of them. They were both installed through sudo python setup.py install so there aren't any actual package files that I can remove from Synaptic/Software center. Niether of the README files say anything about uninstalling and trying sudo python setup.py uninstall (as someone suggested) didn't work. Is there another way to get rid of these applications?

Using 11.04, if that helps

share|improve this question
    
This doesn't answer, but may be a lesson: "There is no uninstall command and no uninstall option. It is pretty usual to record the list of installed files and remove/uninstall a Python module/program with that list. Options for 'install' command: --record filename in which to record list of installed files" from: redhat.com/archives/rhl-list/2007-May/msg00332.html –  desgua May 1 '11 at 6:21

2 Answers 2

up vote 1 down vote accepted

Martin v. Löwis answered this here:

"You need to remove all files manually, and also undo any other stuff that installation did manually.

If you don't know the list of all files, you can reinstall it with the --record option, and take a look at the list this produces."

share|improve this answer

You should always install Python apps with "pip". pip supports uninstall option.

share|improve this answer
1  
Can you use pip to install a local package if you know where the source and setup.py files are? I assumed the maintainer would have had to put the files someplace. –  PKKid May 18 '12 at 0:02
    
@PKKid pip install http://example.com/path/to/zipball works. For a local path use pip install ~/projects/foo/. –  matt wilkie Oct 24 at 16:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.