LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do uninstall programs not RPM?? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-uninstall-programs-not-rpm-22354/)

Red Guy 06-01-2002 10:16 PM

How do uninstall programs not RPM??
 
This is my question, I can install programs from source code, but I donīt know how uninstall it.

How is the correct way of uninstall this kinds of programs???

Thanks.

taz.devil 06-01-2002 10:20 PM

You should be able to go back into the directory you compiled the source from and type as su or root:

make uninstall

rverlander 06-01-2002 10:58 PM

If make uninstall dun work try:

rm -rf /place/where/it/was/installed

acid_kewpie 06-02-2002 02:59 AM

erm.. and what if it was installed in /usr/local/bin? i think maybe you should be a little more careful about advice... unless you're saying that on purpose... which is fair enough :D

Sfin 06-02-2002 03:25 AM

Well if make uninstall didn't work, then you got to check the makefile for every file that it installed, and there might be more then just a simple file in usr/bin or /bin

for example man pages, and all of these files that were compiled then moved to the specific locations need to be removed. Uninstalling is a hastle, but hopefully the person who made the program added an uninstall procedure in the MAKEFILE, so

make uninstall

should work. Otherwise you got to do what I said above, I think that is. There might be a better way to delete though, and I don't know it yet.

Chooco 06-02-2002 05:11 AM

so does this mean i should keep the source of every piece of crap i download?

acid_kewpie 06-02-2002 05:16 AM

well if it's crap then you're not going to want it are you? :D generally tho, yes that is the general idea. you can infact just keep the Makefiles for the source but picking them out from a source tree is a bit of a waste of time. The general idea tho is that you have plenty of space and like keeping source in /usr/src/ permanently. most programs you can simply remove by deleting the single executable it makes, but naturally some produce more than jsut one program. most source is fairly small however, <10mb decompressed. you can always just recompress the source and archive it tho. mind you my source compile of mozilla took up 1.2gb!


All times are GMT -5. The time now is 02:11 AM.