Super User is a question and answer site for computer enthusiasts and power users. 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

Is there anyway of removing files installed by running the command make install?

share|improve this question
up vote 1 down vote accepted

The majority of packages that have make install also provide a make uninstall; this will usually remove package files, but not configuration files, similar to how apt-get remove works, in contrast to apt-get purge.

This, of course, only works properly if you keep the original package directory or reconfigure it using the same parameters for --prefix and such.

share|improve this answer

On Ubuntu, it's actually pretty easy:

Install CheckInstall:

sudo aptitude install checkinstall

Run Make and let checkinstall create a .deb:

sudo make; sudo checkinstall

Uninstall the .deb and you're done.

Ubuntu Wiki

share|improve this answer

There is no automated way - that is why we have package managers.

You would have to manually go through the Makefile and find the files / directories that it installs and manually remove them.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .