PDA

View Full Version : [all variants] How do you uninstall programs installed using make?



AkuTenshi
September 20th, 2008, 10:12 PM
I was wondering how one would go about uninstalling something that was installed with ./configure -> make -> make install. Makefiles don't seems to have a 'remove' section, and make does not seem to have a built in 'sudo make remove <program>' feature. Any help?

cariboo
September 20th, 2008, 10:39 PM
CD into your source directory and run:


sudo make uninstall

Jim

AkuTenshi
September 20th, 2008, 10:41 PM
Nope, that just gives me this error:

make: *** No rule to make target `uninstall'. Stop.

issih
September 20th, 2008, 10:44 PM
Make is a utility that can be configured to do just about whatever the programmer wants in terms of compiling software and placing it...

practically all software provided that way comes with a readme file....that will detail the steps that you should take to install and probably uninstall the system...there is no guaranteed answer with make, it just doesn't work like that.

Hope that helps.

AkuTenshi
September 20th, 2008, 10:45 PM
Thanks, I will try to edit the install section of the Makefile to do the opposite of what is there already.