LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 06-18-2004, 04:08 PM   #1
mgyamada
LQ Newbie
 
Registered: Jun 2004
Distribution: Gentoo
Posts: 15

Rep: Reputation: 0
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
 
Old 06-18-2004, 04:11 PM   #2
Micro420
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: Reputation: 45
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.
 
Old 06-18-2004, 04:11 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
This has been answered many times:

rpm: rpm -e package

source: rm -rf /path/to/install
 
Old 06-18-2004, 04:12 PM   #4
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
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...
 
Old 06-18-2004, 04:12 PM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
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.
 
Old 06-18-2004, 04:22 PM   #6
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
if you install things from source alot, this may be of interest

http://asic-linux.com.mx/~izto/checkinstall/

good luck.
 
Old 06-18-2004, 04:32 PM   #7
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

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


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
Need to uninstall SuSe 8.1 & there is no uninstall jwhibdon Linux - Software 10 10-26-2006 11:57 AM
uninstall from src if no make uninstall dtra Linux - Software 3 04-29-2005 09:13 AM
remote control sotware for windows clients mlu Linux - Software 6 02-20-2005 02:02 PM
Source uninstall with 'make uninstall' HOWTO! Creeps Linux - Newbie 6 09-14-2004 11:03 AM
Uninstall without make uninstall zynor Linux - Software 3 08-23-2003 10:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:10 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