LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-12-2004, 02:19 PM   #1
demmylls
Member
 
Registered: Aug 2003
Location: AT
Distribution: Fedora Core 3
Posts: 404

Rep: Reputation: 30
keeping source file for uninstalling


how do i be able to uninstall a program that installed using source code?
what i mean is to "make uninstall"
which file should i keep in the source tree so that i can do make uninstall?

if i wanna keep the whole folder of source, that will take alot of space.
 
Old 03-12-2004, 05:13 PM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Thats kinda hard to say. Not all packages are the same, you may only need the Makefile but then again you could have many levels of sub directories and each one could have its own Makefile. The program may have an uninstall script or an install script and you just pass an arguement to it to make it uninstall.

What you could do is just remove the whole directory and keep the tarball. If you ever decide to uninstall the program you can untar the sources and go back and do a "make uninstall".
 
Old 03-13-2004, 12:27 AM   #3
demmylls
Member
 
Registered: Aug 2003
Location: AT
Distribution: Fedora Core 3
Posts: 404

Original Poster
Rep: Reputation: 30
huh?
will that work?
how about when i pass --prefix argument when i installing the application?

the newly untared file dont have the information of my --prefix right? so how can i uninstall from there.

is there any source manager that will track what and where files being installed and then be able to removeit without having the actuall compiled source?

Last edited by demmylls; 03-13-2004 at 12:32 AM.
 
Old 03-13-2004, 01:14 AM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Quote:
Originally posted by demmylls
huh?
will that work?
how about when i pass --prefix argument when i installing the application?

the newly untared file dont have the information of my --prefix right? so how can i uninstall from there.

is there any source manager that will track what and where files being installed and then be able to removeit without having the actuall compiled source?
Checkinstall will make rpm's.
 
Old 03-13-2004, 03:44 AM   #5
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
You're right, what I posted would only work if you did a standard install. You could save the entire directory as a bzipped tarball. That way you have all the config files when you want to uninstall. I don't know though, it seems there should be a better way to do this. Have you looked at uninst?
 
  


Reply



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
Uninstalling applications from source cjpsparks Linux - Software 6 02-01-2005 11:53 AM
keeping track of source tarball versions. levicc00123 Linux - Software 1 12-14-2004 12:49 PM
Is there a way of uninstalling Mozilla but keeping the email program? petercool General 8 06-15-2004 08:46 AM
Uninstalling from source Snowie Linux - General 4 02-26-2004 01:37 PM
uninstalling programs from source contrasutra Linux - Software 9 02-14-2004 09:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:45 AM.

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
Open Source Consulting | Domain Registration