LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unistall (https://www.linuxquestions.org/questions/linux-newbie-8/unistall-262954/)

inonothing 12-05-2004 04:18 PM

Unistall
 
How do you uninstall a program? And does it remove the binary/library files also?

btmiller 12-05-2004 04:20 PM

Depends on how you installed the program: RPM, compile from source, binary tarball, other package management system ... which did you use?

inonothing 12-05-2004 04:52 PM

Whenever i install something it is usually comes with the suffix .tar.gz and then i just extract the files and type ./config, make, make install

basileus 12-06-2004 06:02 AM

Most well written makefiles have also a "uninstall" rule. Try this out in the source dir (same where you did "./configure ... etc"

make uninstall

If that does not work, I suppose you will have to check from the Makefile where the install-rule copies the files and remove them by hand.

You should definitely use your distribution's package manager, if possible.

For Debian:

apt-get
aptitude
synaptic

RPM-based distros (not a specialist with these)

urpmi
yum
apt4rpm

shmonkey 12-06-2004 09:13 AM

In future you should use the checkinstall program when installing from source. I think thats what most slackware people use anyway.

http://asic-linux.com.mx/~izto/checkinstall/

Regards

Shmonkey


All times are GMT -5. The time now is 04:00 PM.