LinuxQuestions.org
Review your favorite Linux distribution.
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-31-2005, 08:30 AM   #1
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
how to uninstall a "tarred" source


hello all,
what i know about uninstalling was to go inside that particular directory and type "make uninstall" as root there.
but its not working here..........i'm trying to uninstall the shorewall.
i installed it through .bz2

Code:
root@bond:/plugins/shorewall-2.4.3# make uninstall
make: `uninstall' is up to date.
root@bond:/plugins/shorewall-2.4.3#
i untarred it inside /plugins........and obviosly a folder is existing inside /etc
How should i do this now???

regards
 
Old 08-31-2005, 09:19 AM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware 14.1 (32 and 64 bit)
Posts: 1,587

Rep: Reputation: 121Reputation: 121
In Slackware you could use checkinstall (I think it is able to do rpms, too, but you would have to check if it is able to do this for RedHat). If you use checkinstall to install the files after "./configure && make" it does the "make install" job for you and uses installpkg to install the app. You can uninstall them quite easily after that.
You can find checkinstall in the extra directory on the Slackware CDs or on any mirror: http://slackware.it/en/pb/searchpkg....g=checkinstall
 
Old 08-31-2005, 09:23 AM   #3
geeman2.0
Member
 
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
Yeah, what titopoquito said

You need to realize that not every makefile will include an "uninstall" target. In fact, they don't even have to include an "install" target either.
It's only a convention that source tarballs will include a configure script and a "make install" target, but there's nothing stopping developers from ignoring these conventions.

Thus every time you use "make install" you run the risk of not being able to remove the app cleanly.
Unless of course, you use checkinstall
 
Old 08-31-2005, 06:13 PM   #4
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Quote:
Thus every time you use "make install" you run the risk of not being able to remove the app cleanly.
Not true - you could examine the makefile, see what files it creates, and write your own "uninstall" target
 
Old 09-01-2005, 12:08 PM   #5
geeman2.0
Member
 
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
Quote:
Not true - you could examine the makefile, see what files it creates, and write your own "uninstall" target
Touche
 
  


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
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 12:26 PM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 04:07 PM
Can you explain the difference between "Free Software (GNU)" and "Open Source"? vharishankar General 5 03-03-2005 10:40 AM
How to uninstall "Internet / Intranet Input Method"(IIMMF) in FC2? acer_peri Fedora 2 06-05-2004 03:26 PM
How to uninstall "Internet / Intranet Input Method"(IIIMF) in FC2? acer_peri Linux - Software 0 06-05-2004 08:30 AM


All times are GMT -5. The time now is 04:38 PM.

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