Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: TheQuirk on 20 December 2002, 04:21

Title: Removing programs from source
Post by: TheQuirk on 20 December 2002, 04:21
I know this has been addressed in a thread about two days ago, but I can't seem to find it. . .

How do I remove a package that I compiled from source?
Title: Removing programs from source
Post by: voidmain on 20 December 2002, 05:07
The summary answer is it's an extreme pain in the ass, and it's another reason you should use a package management system if at all possible. You should have no problem finding it by clicking search at the top of the page and search the Linux/UNIX forums.
Title: Removing programs from source
Post by: TheQuirk on 20 December 2002, 05:13
# make uninstall

worked on naim, but for BitchX I guess I'm forced to read the makefile. . .
Title: Removing programs from source
Post by: voidmain on 20 December 2002, 05:15
Like mentioned in the other thread it's all up to the programmer who created the application. By far most source tar balls do not have an "uninstall" in the Makefile.

[ December 19, 2002: Message edited by: void main ]

Title: Removing programs from source
Post by: beltorak0 on 20 December 2002, 05:28
If you have the room, you can "./configure --prefix=/opt" and "root# make install".  All the files you need to delete will be in "/opt", but you need to also delete the corresponding files from the real install prefix.  "/usr/local" usually.  maybe "/usr".  just don't delete important directories, like "/usr/lib".  that would suck.

-t.