LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Uninstall Linux Programs (https://www.linuxquestions.org/questions/linux-software-2/uninstall-linux-programs-628391/)

Fill 03-16-2008 04:46 AM

Uninstall Linux Programs
 
Hi guys, I need to uninstall PHP from my system, which was configured and compiled by me.

Is there any command to remove software that was installed and compiled by ourselves, software that wasn't installed using the Package Manager?

I've been searching for a while and found the command 'make uninstall'. I tried to run it but I get 'NO RULE TO MAKE TARGET STOP', so I guess PHP hasn't got any uninstall script.

Then I read this:

Quote:

Well, you could check the install target in your makefile and see which files get installed where, then remove them. Or add an uninstall target in the makefile to do it for you.
1 - Can I add an uninstall target on my makefile if it hasn't one? Is it very difficult? How do I do it?

Thanks in advance for your replies.

acid_kewpie 03-16-2008 05:42 AM

there are tools like checkinstall to do this, but they must be used to install as well. the advice you read is about the size of it. I wouldn't think adding an uninstall would be at all fun / viable for you. instdall again and then delete the files you can see were added.

Fill 03-16-2008 08:32 AM

Hi,
Thanks for your reply

So you suggest deleting the files manually. Well I don't think I need to reinstall just to see which files are created, can't I just read the makefile to check the created folders and files and delete them?


All times are GMT -5. The time now is 08:41 PM.