Click to See Complete Forum and Search --> : How to uninstall software


Puloxor
02-11-2003, 09:55 PM
Here's a major newb question, how do I uninstall software?
I know if I installed an rpm, its rpm -e; but what if I compiled from source? ./configure ; make ; make install? Or uninstalling stuff that came with the distro?

slapNUT
02-11-2003, 10:54 PM
Usually you run this command from within the directory that has the Makefile:
make uninstall

Choozo
02-12-2003, 08:16 AM
If the Makefile don't have any 'uninstall' option, just read the 'install' section of the makefile, and manually remove those items listed there.
Then you may delete the source directory (where you did ./configure, make, etc.)

Beaudificus
02-12-2003, 09:15 AM
Originally posted by Puloxor

Or uninstalling stuff that came with the distro?

What kind of stuff do you want to uninstall that came with the distro? If they're important programs, you don't want to touch them.

You can locate most of your executables in the directories:

/usr/bin AND /usr/local/bin (and /bin)

Any super user programs can be found in:

/usr/sbin AND /usr/local/sbin (and /sbin)

In my experience, the first place to look for things, however, should be the /usr/bin and /usr/sbin directories.