Linux - NewbieThis 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
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.
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.
Hi. First post from a n00b here.
I've just begun trying to tinker with Linux (FC4), especially with installing programs: the ./configure, make, & make install routine.
Now my question is: how does one uninstall a program after it's been installed?
Is there a quick way to do such thing, ie. deleting the folder that the program was installed on?
Or does one have to worry about the dependencies, etc. that the program may have hooked onto or modified?
If you compile the programs like you are now, then you can usually just enter "make uninstall". But you need to make sure you keep the compile directory on your computer . If you've deleted it, then you can always just delete the directories that the programs got installed to (download the source again, and check to see where it installed files to).
You can also try out checkinstall; you'll need to download it if you don't already have it, and run checkinstall as root after the "make" command. If you're familiar with Windows, then what checkinstall basically does is create a single install file (package) from the many source files. You can then mess with that package with whatever package management software comes with your distribution.
Personally I think it makes application management easier, as you can see in one place all the apps you have installed, and remove if you want, without having to allocate space on yoru hard drive for a bunch of source code directories. Of course, you can also create your own package manually (relatively).
The best way to uninstall would be to get the precompiled package for your distribution. If you use a more popular distribution, you should be able to find one.
which is of course a thread telling you at length that you should have used checkinstall to install the thing in the first place...not very useful if you're already trying to get rid of it :-).
As you installed from source the app won't alter any existing files on your system...a source tar ball contains just the source for that app not the dependancies as well. Therefore, besides make uninstall, you could just delete the dir and it would be gone. As for removing any extra files that it writes to your system then I think you're stuck with the longhand method of checking exactly what those are via the readme/maintainers webby and sitting down with a few rm -rf commands.
For what its worth I prefer the ./configue, make, make install route.
a source tar ball contains just the source for that app not the dependancies as well. Therefore you could just delete the dir and it would be gone. As for removing any extra files that it writes to your system then I think you're stuck with the longhand method of checking exactly what those are via the readme/maintainers webby and sitting down with a few rm -rf commands.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.