Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-18-2004, 04:08 PM
|
#1
|
|
LQ Newbie
Registered: Jun 2004
Distribution: Gentoo
Posts: 15
Rep:
|
How do i uninstall sotware?
I've read a bunch of threads on this before but I can't quite get a straight answer... I know it depends on how you installed the software to begin with (rpm or source...)
rpm: If I understand correctly there is a command of some kind?
source: I can use "make uninstall" if I have the source files still, and even then it depends on the program? What if I don't have the source files? Is there some way to get rid of software cleanly? (ie: not just deleting it. or is that okay? I remember in Win that was pretty much the wrong thing to do)
thanks in advance
|
|
|
|
06-18-2004, 04:11 PM
|
#2
|
|
Senior Member
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
|
Re: How do i uninstall sotware?
Quote:
Originally posted by mgyamada
I've read a bunch of threads on this before but I can't quite get a straight answer... I know it depends on how you installed the software to begin with (rpm or source...)
rpm: If I understand correctly there is a command of some kind?
source: I can use "make uninstall" if I have the source files still, and even then it depends on the program? What if I don't have the source files? Is there some way to get rid of software cleanly? (ie: not just deleting it. or is that okay? I remember in Win that was pretty much the wrong thing to do)
thanks in advance
|
rpm -e filename.rpm
Since you're using Mandrake, you can go to the mandrake control center (or just type mcc in the konsole) and go to SOFTWARE, and then ADD/REMOVE RPM and select from a list.
I just pretty much delete the directory and files if there is no 'make uninstall'. Even if the program you compiled copied some files elsewhere, it wouldn't do anything. It would just sit in some other directory taking up space. But if you're like me and has a 120 GB hard drive, who cares? lololololololololololololololololololololololololololollolo 
Last edited by Micro420; 06-18-2004 at 04:12 PM.
|
|
|
|
06-18-2004, 04:11 PM
|
#3
|
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
This has been answered many times:
rpm: rpm -e package
source: rm -rf /path/to/install
|
|
|
|
06-18-2004, 04:12 PM
|
#4
|
|
Member
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405
Rep:
|
If you installed via an rpm, its easy to uninstall. First, you need to find the exact package name. To do this use the follwoing:
rpm -qa part_of_package_name
for instance, if you wanted to uninstall mplayer, you'd first do:
rpm -qa mplayer
then, it will return the entire package name of that program. Let's say it returns...
mplayer.1.2.3.4.rpm
then you use the following command:
rpm -e mplayer.1.2.3.4.rpm
and you're all set.
I can't help you with the packages you've installed from source, as I've not yet had to do this. Sorry....
Good luck...
|
|
|
|
06-18-2004, 04:12 PM
|
#5
|
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,088
|
Read man rpm that will tell you all about the uninstall option (hint: it's rpm -e). With programs installed from source, if you are lucky make uninstall will work. Other wise you need to track down each part of the installed program and manually delete it.
|
|
|
|
06-18-2004, 04:22 PM
|
#6
|
|
Guru
Registered: Sep 2003
Location: Danville, VA Approx. N 36°36.434' W 79°24.342' Accur. 100' or so.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,247
Rep: 
|
if you install things from source alot, this may be of interest
http://asic-linux.com.mx/~izto/checkinstall/
good luck.
|
|
|
|
06-18-2004, 04:32 PM
|
#7
|
|
Member
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238
Rep:
|
I am not sure that this will be of any help, but you can go to System -> Configuration -> Packaging -> Remove Software and just look up the program.
If that doesn't work, try a hack-saw.....you would be surprised on how good it makes you feel.
EEK.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:02 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|