Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to uninstalll software installed after compiling packages with

make 

and installed with

make install

I am using Linux Mint Debian i know that the software installed using apt can be removed using

sudo apt-get remove {package-name}

But i am looking for a method to uninstall software installed otherwise

share|improve this question

2 Answers 2

If you still have the original source tree, it might support a "make uninstall".

If not, you'll have to figure out which files were copied where by the "make install", and delete them manually. "make install" scripts generally don't keep any records of what they've installed for automatic uninstallation purposes. (This is why package systems like apt were invented!)

share|improve this answer

You have to use an additional tool, like checkinstall, to keep track of what files have been installed.

Make sure to use a different prefix than usual software, so as not to clash, like this:

./configure --with-prefix=/usr/local
make
sudo checkinstall make install
share|improve this answer

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.