Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-14-2006, 11:06 AM
|
#1
|
Member
Registered: Oct 2003
Location: Greece
Posts: 260
Rep:
|
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
|
|
|
06-14-2006, 12:41 PM
|
#2
|
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
|
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.
|
|
|
06-14-2006, 12:43 PM
|
#3
|
Member
Registered: Oct 2004
Distribution: slamd64-current, slackware-current, clfs 6.1, arch-current, ubuntu dapper
Posts: 144
Rep:
|
not all software has this but if you still have the source folder i believe you can do make uninstall
doh too late
|
|
|
06-14-2006, 12:47 PM
|
#4
|
Member
Registered: Oct 2003
Location: Greece
Posts: 260
Original Poster
Rep:
|
Nice it worked thanks .
|
|
|
06-14-2006, 01:07 PM
|
#5
|
Member
Registered: Oct 2003
Location: Greece
Posts: 260
Original Poster
Rep:
|
tronayne i have tried checkinstall and is quite handy.
The tgz file of checkinstall is situated here
|
|
|
06-14-2006, 11:03 PM
|
#6
|
Member
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 05:24 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|