LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How do I uninstall? (https://www.linuxquestions.org/questions/linux-general-1/how-do-i-uninstall-85922/)

slice4e 08-26-2003 01:03 PM

How do I uninstall?
 
Hello everybody ,

I am a newbe and I would appreciate if anybody takes some time
to help me out.

I have installed a program like this:

gunzip -c lam-7.0.tar.gz | tar xf -
./configure .....
make
make install

This is fine.
But now I want to uninstall what I just installed? How can I do it?

By the way how do I uninstall when I have installed with RPM?

Thank you for your help and time

MasterC 08-26-2003 01:08 PM

RPM = rpm -e packagename To find the packagename:
rpm -qa | grep package

To uninstall the above installed program/application:
make uninstall
in the source directory where you typed 'make install'. On the occasion the author has put the target to make uninstall in there, that'll work. However it's not always the case. You could read through the Makefile to see what you need to 'undo' or, in the future use a tool called Checkinstall:
www.freshmeat.net
To do your make install. This will keep track of packages that are installed from source for you. Read the documentation with it to find out how to use it on your system ;) Or even if you can (which distro?)

Cool

MadCactus 08-26-2003 02:59 PM

yeah do what MasterC says, but heres another thing i just started doing myself:

when doing ./configure, make and make install, add ">> ./install.log".
after each command, or just "./configure && make && make install > ./install.log".

This will save all the output so you have a record of just exactly what each command did. Probably fairly useless, but maybe it'll help if theres no other option.

slice4e 08-26-2003 10:05 PM

Thank you very much guys, I will try that.
You were very helpful.


All times are GMT -5. The time now is 07:10 PM.