Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I would like to uninstall Doom 3 from my computer. I installed it more-or-less to see how well my system would run using the Linux NVIDIA drivers. (It runs fine, by the way.) Anyway, the program installed itself with a script and of course, cannot be removed with YaST, since YaST did not install it.
After some investigation, I discovered a program included in SUSE's distribution called CheckInstall. Unfortunately, it only seems to work to help install and uninstall packages from source, not with programs that use a proprietary installer.
I searched the web and these forums, and all I found for removing programs were suggestions like, "Well, it takes a lot of work. You have to find all the files manually and delete them." Although this may be true, it is hardly helpful, since there are many files in any computer these days and locating them all would be a weeklong task, if they all indeed could be located manually.
Therefore, my question is this: is there some reasonably efficient procedure for determining where a program put all of its files so they can be removed? Is there some utility that can help this? I would rather do the job right. If that is not possible, I will just leave the game where it is. Its only fault is that it is taking up hard drive space and there is almost a zero chance that I would ever want to use it again. Any helpful suggestions will be appreciated.
If you installed from an rpm package, it's as easy as 'rpm -e <packagename>'. Debian probably has something similar with their package format.
If you installed from source, or if you want to in the future, look in the package for an uninstall script. It it isn't there and you install anyway, the only way to remove is to chase down the files one by one. It might be helpful to print a list of the contents in the tarball before installing, and save the list. That'll tell you most of the files to remove. It just won't tell you the names of files created during compile.
There are alternatives with tarballs. Checkinstall can go through the install steps for you and create an rpm to install. That brings you back to 'rpm -e' above.
Stow and encap can install tarballs in /usr/local/stow or /usr/local/encap, then symlink to the normal installation locatiions. They can also do what tarballs can't otherwise do: upgrade a tarball installation instead of making a parallel installation. To remove a tarball installed this way, just delete the directory it installed into, and chase down the dangling symlinks. If I remember correctly, there is a utility called symlinks that can chase them down for you. There may be others.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.