LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 06-14-2006, 10:06 AM   #1
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Rep: Reputation: 30
retrieve files for deletion


Hi

i have installed a tar.gz file using the ./configure, make, make install. No i wish to unistall it . Is there a way to identify where
all those files have gone?

Thanks you
 
Old 06-14-2006, 11:41 AM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
Many Makefiles contain an uninstall directive; i.e., "make uninstall."

For those that don't, you can "cheat death" by, in the directory where you built that software (and haven't blown it away yet), just execute the checkinstall utility -- it creates a Slackware package and you can then "removepkg packagename" to remove the installation.

If you did blow it away, just redo the configure and make steps then run checkinstall and "removepkg packagename."

If you did not install checkinstall, it's in the extra directory.
 
Old 06-14-2006, 11:43 AM   #3
Youri
Member
 
Registered: Oct 2004
Distribution: slamd64-current, slackware-current, clfs 6.1, arch-current, ubuntu dapper
Posts: 144

Rep: Reputation: 15
not all software has this but if you still have the source folder i believe you can do make uninstall

doh too late
 
Old 06-14-2006, 11:47 AM   #4
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Original Poster
Rep: Reputation: 30
Nice it worked thanks .
 
Old 06-14-2006, 12:07 PM   #5
props666999
Member
 
Registered: Oct 2003
Location: Greece
Posts: 260

Original Poster
Rep: Reputation: 30
tronayne i have tried checkinstall and is quite handy.
The tgz file of checkinstall is situated here
 
Old 06-14-2006, 10:03 PM   #6
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 32
Checkinstall won't work for any file that does anything special in an installation(such as updating scrollkeeper database, or things like that that are automatically done in a make install), and it does not do ANYTHING that make uninstall does(such as undoing what was done in make install) except for removing files.

This could result in zombie entries of a program in whatever database it registers itself into.

That wasn't worded well, but I think you understand.

make install
make clean


and then make uninstall when you want to uninstall is the absolute safest and most stable way to install software from source, and checkinstall should only be used if there is no uninstall function at all.(even then, make install DESTDIR=/work && cd /work && makepkg <pkgname> is still better, as at least that way you know checkinstall/installwatch isn't missing certain files(such as static linked libraries and such))

I think I'd rather keep the 500K extra(compared to how large the packages are, on average) source code than worry about using checkinstall.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
help recovering from chkdsk.exe deletion of files? Lleb_KCir General 11 07-15-2005 12:30 PM
Accidental Deletion of some /usr/lib files Huddlebum Linux - General 17 03-08-2004 02:05 PM
Is it possible to retrieve overwritten files? jloaf Linux - General 4 10-21-2003 01:49 AM
Deletion of massive number of files KendersPlace Linux - General 4 04-01-2003 01:27 PM
Foolish deletion of /etc/fonts/ files & Gimp diversityx Linux - General 0 01-28-2003 03:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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