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.

This question already has an answer here:

I installed a program using make and sudo make install. Is there a command I can use to remove these files now?

share|improve this question

marked as duplicate by i08in, guntbert, Eric Carvalho, Rinzwind, Richard Apr 6 at 19:25

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Thanks, I didn't even see that in the search. –  kookman98 Apr 5 at 18:46

2 Answers 2

up vote 1 down vote accepted

sudo make uninstall is usually defined and removes most, if not all, files that were installed.

share|improve this answer

It totally depends on the author of the makefile. Sometimes you can run sudo make uninstall from the same directory that you ran that command from, but it's rather rare honestly.

This is why it is usually best to install only from .deb packages, since they almost always can be cleanly removed from your system.

share|improve this answer
    
So someone could possibly make a package that is impossible to cleanly remove? –  kookman98 Apr 5 at 18:46
    
Yes, furthermore a package is really just a collection of scripts, so someone could write a make install that replaces all of your files with pictures of cats. :) That's why it's important to trust your sources. –  Dereck Wonnacott Apr 5 at 21:16

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