LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-16-2008, 04:46 AM   #1
Fill
Member
 
Registered: Jun 2007
Posts: 96

Rep: Reputation: 16
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.
 
Old 03-16-2008, 05:42 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 03-16-2008, 08:32 AM   #3
Fill
Member
 
Registered: Jun 2007
Posts: 96

Original Poster
Rep: Reputation: 16
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How does one uninstall programs in Linux? AaaaAaaaA! Linux - Newbie 4 12-17-2005 02:53 AM
how do you uninstall programs. LinuxPadawan Linux - Software 3 04-13-2005 04:10 PM
uninstall programs? tristure Linux - Software 1 10-27-2003 04:02 PM
How to uninstall programs? esael Slackware 7 10-25-2002 05:55 PM
How to uninstall programs? Ice Dragon Linux - Newbie 4 09-02-2002 01:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration