0

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

kookman98
  • 145
  • 2
  • 10

2 Answers2

1

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

saiarcot895
  • 10,757
  • 2
  • 36
  • 39
1

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.

  • So someone could possibly make a package that is impossible to cleanly remove? – kookman98 Apr 05 '14 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 05 '14 at 21:16