LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Uninstalling (https://www.linuxquestions.org/questions/linux-general-1/uninstalling-47425/)

Cichlid 02-27-2003 11:33 AM

Uninstalling
 
Hi all,

If were to install a package via RPM, I could use KDE Package manager to unintall it. But what about if I have a source file. From what I understand, the 'make install' command puts files in their appropriate place and make the needed sym links. Say I want to uninstall this program, do I have to search my HDD for the files, or is the a command to use.

Thanks,

Erik

Dark_Helmet 02-27-2003 11:46 AM

Two possibilities that I know of:

1. The source may provide an uninstall option. To use it, you'd go to the source directory and type "make uninstall". Note, the source might not refer to it as "uninstall". If make complains that there's not such target, then the developers either did not supply an uninstall target or named it something other than "uninstall". Read the documentation that came with the source to find out (README, INSTALL, etc.)

2. If you still can't find the answer, then you'll have to backtrack from the Makefile itself. You'll need to know how a makefile is organized, or it'll look like a jumbled mess. Find the rule in the makefile for the "install" target. Then simply do the inverse of the commands they specify. If they do a "cp file /to/another/dir", then you do an "rm /to/another/dir/file".

kater 02-27-2003 11:58 AM

Or you search with

(as root):
find / -name "Appyouwanuninstall"

(as user):
slocate "Appyouwantuninstall"


All times are GMT -5. The time now is 07:38 AM.