LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-07-2004, 04:03 PM   #1
defy
Member
 
Registered: May 2004
Location: Greece
Distribution: Suse 9.1
Posts: 44

Rep: Reputation: 15
Configure - Make - Make Install


Hi,

it's a simple question but...

Ok, for installing a program that is not in rpm format you have to execute the three commands - configure, make, make install.

When you want to uninstall this program what do you run? Make uninstall or something exists?
If not what files are being created by the three above commands and where are they.
In simple words how do you uninstall such a program?

Thanks!!!
 
Old 06-07-2004, 04:20 PM   #2
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
some programs include an uninstall section, but some do not. To get around this, I recommend Checkinstall . It's designed to work with Slackware packages, RPMs, and Debian packages.

What it does is when you are compiling, you run checkinstall instead of make install, and it will build a package for your system, an install it. Then the compiled program will appear in your system's package database, so when/if you want to remove it, it can be done the same way you would a normal package (rpm, deb, tgz, etc).
 
Old 06-07-2004, 05:39 PM   #3
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
defy; as superbondbond advised that is correct for some distro's. not all
however some as sbb quoted do not. so check the distro first before installing for install apps. other wise careful of what you install!
 
Old 06-07-2004, 08:55 PM   #4
name_in_use450
Member
 
Registered: Jun 2004
Location: United States
Distribution: slackware 10.0 mostly; used many
Posts: 109

Rep: Reputation: 15
in freebsd ports type 'make deinstall' as root
 
Old 06-08-2004, 10:02 AM   #5
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
Quote:
Originally posted by penguin4
...that is correct for some distro's. not all...
Which ones specifically? For what reason(s)?
Quote:
Originally posted by penguin4
...however some as sbb quoted do not.
Do not what? Please elaborate.

If there is misinformation in what I say, it is certainly not intentional. Enlighten me.
I'm not attacking you. We are all here to learn.
 
Old 06-08-2004, 04:23 PM   #6
penguin4
Senior Member
 
Registered: May 2004
Location: california
Distribution: mdklinux8.1
Posts: 1,209

Rep: Reputation: 45
sbb; mdk 8.1 &7.1 did not have uninstalls at least the ones i've got.
looked everywhere on cd nothing but maybe didn't dig deep enough. but
thanks for your post did check out site you suggested. appears it meant for debian and complex distro's. enough just attempting to convey to other newbie's there is help just ask!
 
Old 06-08-2004, 04:30 PM   #7
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
It tends to depend on whether or not the programmer wrote an uninstall for their program. Always, always, read the INSTALL and README docs - that will say whether there is an uninstall available or not.
 
Old 06-08-2004, 05:30 PM   #8
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
XavierP explained it much better than I did.

when you're dealing with source, the uninstall rule is per-program, not per-distribution. Checkinstall is a good way around this, provided you have a way of handling one of those types of packages (tgz, rpm, deb). If anything, it helps me keep track of what's been installed.

hope that helps
 
Old 06-10-2004, 05:04 AM   #9
defy
Member
 
Registered: May 2004
Location: Greece
Distribution: Suse 9.1
Posts: 44

Original Poster
Rep: Reputation: 15
Thanks to you all,

Next time i will read for uninstall option before compiling new apps...
i have Suse 9.1 Pro and i will make a search if the CheckInstall is supported, does anyone know?

Thanks!
 
  


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
configure, make and make install commands don't work for me Fenster Fedora 8 08-18-2004 10:58 AM
Problem with Configure, Make, Make Install n8tgc Linux - Newbie 2 07-13-2004 03:16 PM
Installed using ./configure, make, make install, how to remove? EnVoy Mandriva 4 03-10-2004 07:05 PM
./configure , make and make install does not work mobassir Linux - Software 7 07-30-2003 09:20 AM
Can I automate the tar, ./configure, make, and make install of about 50 packages? JoeLinux Linux - General 2 04-13-2002 03:35 AM


All times are GMT -5. The time now is 12:56 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