Operating Systems > Linux and UNIX

Removing programs from source

(1/1)

TheQuirk:
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?

voidmain:
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.

TheQuirk:
# make uninstall

worked on naim, but for BitchX I guess I'm forced to read the makefile. . .

voidmain:
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 ]

beltorak0:
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.

Navigation

[0] Message Index

Go to full version