Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-28-2002, 06:22 PM   #1
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?

Old 08-28-2002, 06:47 PM   #2
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, 07:15 PM   #3
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.




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

All times are GMT -5. The time now is 07:39 AM.

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