Uinstalling Programs On Linux?

I were just wondering how that works?

#32900

well... that depends on how you installed the software...

if you installed an rpm (RedHat-Mandrake and some other):

at the command line type: rpm -qa |grep

that will give you the name of the rpm that you want to remove, and then

rpm -e

if you installed a tgz (Slackware):

just run: pkgtool

If you installed it from source code:

If you still have the source code around just cd into the directory and type : make uninstall *note* this doesn't always works

if you don't have the source code around download it and do the ./configure after that do: make uninstall

I don't remember how to delete debian packages sorry :)

I hope that helps.

PS. You have to be root to do this things in 99% of the occasion

#32919

For source that doesnt let you "make uninstall", I suggest you get a program called CHECK INSTALL. You run it instead of the "make install" command when compiling, and it will turn that source into a package for whatever system your on (tgz,rpm,deb), so the program is easily removable.

#32922