LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 12-12-2005, 03:03 PM   #1
Cogar
Senior Member
 
Registered: Oct 2005
Location: It varies, but usually within 100 feet of a keyboard.
Distribution: Fedora 10, Kubuntu 8.04, Puppy 4.1.2, openSUSE 11.2
Posts: 1,126

Rep: Reputation: 52
Unistalling software in Linux


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.
 
Old 12-12-2005, 03:19 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unistalling linux with few tools available! condor_x Linux - Newbie 5 07-30-2004 08:55 PM
How to Installing/Unistalling Programmes in Linux (RH9)?? AskMe Linux - Newbie 4 09-24-2003 12:44 PM
Unistalling RedHat Linux 8 Curtis Linux - General 1 04-11-2003 07:16 AM
Unistalling programs in linux? bripage Linux - General 2 08-08-2002 11:33 AM
unistalling GT I.N.C Linux - Newbie 9 07-10-2002 11:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration