SlackwareThis Forum is for the discussion of Slackware Linux.
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.
I have installed various drivers and applications on my slack machine to get it running how I like it. I do the basic ./configure make make install routine with them all. Tonight I have been tackling Bluetooth support, and I have made a bit of a mess! I have all the sources from which I installed, but I was wondering how to uninstall the files so I can start again.
Is there a simple way to do it (like removing packages easy) or do I have to hunt down the files copies to various locations when I ran make install?
I have found out how to do it in Red Hat, Mandrake, and Debian, but nothing for Slackware (ie not apt-get or rpm help)
go in the sources directory and do make uninstall.
next time when installing from source you can try checkinstall (instead of make install just type checkinstall). it creates a package from the source and installs it. later you can easily remove it with removepkg
Please note that GCC does not support `make uninstall' and probably won't do so in the near future as this would open a can of worms. Instead, we suggest that you install GCC into a directory of its own and simply remove that directory when you do not need that specific version of GCC any longer, and, if shared libraries are installed there as well, no more binaries exist that use them.
So you have been lucky. Many Makefiles are not written so properly. As already mentioned, installation by packages solely is the way.
Yes. In addition to not having an `uninstall' target, sometimes they do have an `uninstall' target, but it makes bad assumptions. By doing this, it ends up either leaving traces behind, or removing stuff used by other distros. Always be careful with source installs.