LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-13-2003, 07:54 AM   #1
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Rep: Reputation: 30
Question delete compiled source


hi i compiled a source for mutella with ./configure make make install but
i want do unistall it

which command shall i use???

cheers

erling
 
Old 05-13-2003, 08:11 AM   #2
Sfin
Member
 
Registered: Apr 2002
Location: Michigan
Distribution: Slackware 8.0
Posts: 197

Rep: Reputation: 30
If you still have the folder that you used to install the program, then you can go to it, and use the command:

make uninstall

This will only work if the user has included a uninstall section in the Makefile.
 
Old 05-13-2003, 08:19 AM   #3
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Original Poster
Rep: Reputation: 30
ok thx sfin
 
Old 05-13-2003, 08:22 PM   #4
nakkaya
Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
make uninstall does not work then you will need to read the Makefile to see where everything gets installed and delete by hand
 
Old 05-14-2003, 12:06 AM   #5
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Original Poster
Rep: Reputation: 30
ok
 
Old 05-14-2003, 02:45 AM   #6
Waldi
Member
 
Registered: Apr 2003
Location: Warsaw, Poland
Distribution: Slackware current
Posts: 133

Rep: Reputation: 15
The best thing to do in the future is to use "checkinstall" instead of "make install", naturally after installing checkinstall package from Slack "extra" ftp directory. Checkinstall actually installs your compiled program and additionally creates yourprogram.tgz package (and installs it), so later removal of the program needs only "removepkg yourprogram.tgz". Couldn't be easier and you don't have to keep sources.
 
Old 05-14-2003, 08:58 AM   #7
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Original Poster
Rep: Reputation: 30
ok
 
Old 05-15-2003, 09:10 AM   #8
Kordell
LQ Newbie
 
Registered: May 2003
Location: Pittsburgh, PA
Distribution: Slack 9.0
Posts: 19

Rep: Reputation: 0
You could also make your own package.
.configure
make
As root:
make install DESTDIR=/tmp/pkg
cd /tmp/pkg
makepkg -l y -c n ***.tgz
installpkg ***.tgz
then move the pkg(***.tgz) if you want to keep it and delete the other info from /tmp/pkg

The package will then be in Slack's package manager if you want to remove it later. You also can keep the saved package for future installs.

Good luck.........

Last edited by Kordell; 05-15-2003 at 09:12 AM.
 
Old 05-15-2003, 09:21 AM   #9
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Original Poster
Rep: Reputation: 30
thx
 
  


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
Compiled Apache2 from source... emptystrings Linux - Software 1 11-17-2004 02:44 PM
uninstall apache 1.3 that was compiled from source? rgiggs Slackware 5 11-15-2004 03:48 AM
compiling software from source...how do i delete the folder w/ source? webazoid Linux - Software 2 07-01-2004 09:09 PM
RPM vs compiled source Yell0w_c0w Linux - Software 2 03-09-2004 12:15 PM
source compiled debian ruwach Debian 4 02-24-2004 12:51 AM


All times are GMT -5. The time now is 02:36 PM.

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