LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-28-2002, 07:22 PM   #1
prac2
LQ Newbie
 
Registered: Oct 2001
Location: New Zealand
Distribution: Mandrake 8.2
Posts: 11

Rep: Reputation: 0
Re: Uninstalling a program that was installed from source


Hello Everyone,
I have no real problem uninstalling a program from an rpm, but what about if I get the source of a program, compile and install? Does there have to be a specific uninstall script with the source with allows a clean uninstall?

TIA
 
Old 08-28-2002, 07:47 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
It depends on a developer who mantains the code, if the developer is kind enough he/she might include uninstall target in the Makefile, hence making our life easier just run as root
make uninstall
However, some developers don't include uninstall target, usually for code that resides only in one directory somewhere on the filesystem (i.e /usr/local/apache) then removing this directory with all its content resolves uninstall problem.
Another caegory of developers tend to spread files install in different places without providing uninstall target in Makefile (executables in one place, shared libs in another, plugins yet somewhere else). In such a case you have to hunt down every file it installed and remove it.
 
Old 08-28-2002, 08:15 PM   #3
prac2
LQ Newbie
 
Registered: Oct 2001
Location: New Zealand
Distribution: Mandrake 8.2
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks neo,
if that is the case, then I assume I have to disect the code to discover where these files are going.

Cheers

prac2
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 to tell dselect about a program installed from source? lugoteehalt Debian 4 06-11-2004 12:00 PM
installed program via source, how can i find the executable? guest Linux - Newbie 3 05-04-2004 03:44 AM
how to uninstall a program which has installed using source marsques Linux - Newbie 4 02-09-2004 02:35 PM
How to unistall program installed from source Grzegorz Linux - Software 3 01-16-2004 08:09 AM
Remove program which installed by source code cccc Linux - Software 3 09-09-2003 02:24 PM


All times are GMT -5. The time now is 11:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration