Linux - GeneralThis 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
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.
If were to install a package via RPM, I could use KDE Package manager to unintall it. But what about if I have a source file. From what I understand, the 'make install' command puts files in their appropriate place and make the needed sym links. Say I want to uninstall this program, do I have to search my HDD for the files, or is the a command to use.
1. The source may provide an uninstall option. To use it, you'd go to the source directory and type "make uninstall". Note, the source might not refer to it as "uninstall". If make complains that there's not such target, then the developers either did not supply an uninstall target or named it something other than "uninstall". Read the documentation that came with the source to find out (README, INSTALL, etc.)
2. If you still can't find the answer, then you'll have to backtrack from the Makefile itself. You'll need to know how a makefile is organized, or it'll look like a jumbled mess. Find the rule in the makefile for the "install" target. Then simply do the inverse of the commands they specify. If they do a "cp file /to/another/dir", then you do an "rm /to/another/dir/file".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.