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. |
You should be able to go back into the directory you compiled the source from and type as su or root:
make uninstall |
If make uninstall dun work try:
rm -rf /place/where/it/was/installed |
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
|
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. |
so does this mean i should keep the source of every piece of crap i download?
|
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. |