Click to See Complete Forum and Search --> : about uninstalling a application


xutoa
01-03-2002, 09:24 PM
I built my apache&php service in my linux server by using tar files.How do i deprive it from my pc cleanly?
just directly remove the folder where it was installed?
and when i use rpm -a -q ,it does not appear .y?
thanks

------------------
Simonxu

furrycat
01-03-2002, 09:42 PM
Depends where you installed it. If you configure apache with --prefix=/opt/apache and php with --prefix=/opt/php, for example (this is what I do), then it is sufficient to remove both directories. If you configured it with --prefix=/usr then you certainly don't want to go removing /usr. In that case you'd have to trash all the files manually.

If you didn't install from an RPM it won't show up in the RPM database.

Choozo
01-07-2002, 09:41 AM
If you still have the source directories where you did 'make' and 'make install', go there and try 'make uninstall' to remove the programs.

Cheers http://discussions.linuxplanet.com/smile.gif

furrycat
01-07-2002, 09:54 PM
Assuming the application uses GNU autoconfigure scripts or the authors wrote an uninstall rule in their Makefile by hand.

This is not the case with apache.