Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 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 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: – desgua May 1 '11 at 6:21
up vote 10 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."


python install --record files.txt to generate the list

cat files.txt | xargs rm -rf to remove the files recorded by the previous step.

share|improve this answer

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

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

Your Answer


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.