LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-01-2003, 06:27 PM   #1
cav
Member
 
Registered: Feb 2003
Location: Chicago
Distribution: Slackware 10.2
Posts: 154

Rep: Reputation: 30
make uninstall?


I am curious how to go about uninstalling a program that I build and installed from source code. If I want to uninstall something, do I have to have the original folder where all the makefiles were created? Should I be keeping these folders after I install a new program? Thanks.
 
Old 05-01-2003, 07:08 PM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
If you are on Slackware, look into an application called checkinstall at www.freshmeat.net

However, for your question:
If you want to uninstall something, and a "make uninstall" is included in the Makefile, then yes, you should at least keep the original tarball to untar and uninstall. If uninstall isn't included in the Makefile, then you will need to manually remove each file that it has "installed" from make install.

HTH

Cool
 
Old 05-01-2003, 07:09 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,986
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
Either that (keeping them) or

what Master said :)

Here's the link http://checkinstall.izto.org/download.php

Works for non-slack too ;)

Cheers,
Tink
 
Old 05-01-2003, 08:32 PM   #4
contrasutra
Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
Check the /extra directory of the Slackware FTP, they have a prebuilt package of Checkinstall.

Also, Checkisntall is great, because it gives you a copy of the package it makes, so you can quickly reinstall all your programs (if its the same computer) in an emergency. It makes backup a breeze.
 
Old 05-04-2003, 08:46 PM   #5
cav
Member
 
Registered: Feb 2003
Location: Chicago
Distribution: Slackware 10.2
Posts: 154

Original Poster
Rep: Reputation: 30
Cool, im looking into checkinstall now. Thanks a lot guys.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Make uninstall kernel? johncsl82 Linux - Newbie 2 05-02-2006 11:31 AM
uninstall from src if no make uninstall dtra Linux - Software 3 04-29-2005 09:13 AM
Source uninstall with 'make uninstall' HOWTO! Creeps Linux - Newbie 6 09-14-2004 11:03 AM
How to make rule for make install and make uninstall melinda_sayang Programming 1 06-14-2004 05:58 AM
Uninstall without make uninstall zynor Linux - Software 3 08-23-2003 10:00 PM


All times are GMT -5. The time now is 09:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration