Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 01-30-2004, 01:33 PM   #1
Registered: Jan 2004
Distribution: SuSE 9.0
Posts: 74

Rep: Reputation: 15
Uninstalling RPMS

How do you uninstall RPMs?
Old 01-30-2004, 01:38 PM   #2
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
rpm -e <packagename>
without the <>
Old 01-31-2004, 02:51 AM   #3
Registered: Oct 2003
Location: Mississauga, ON
Distribution: Ubuntu 9.04
Posts: 496

Rep: Reputation: 30
You might want to type rpm -qa | grep <program-name> to get your program's package name.

rpm -qa lists all the rpm packages you have installed

| grep <program-name> looks in the list for your program name.

Let's say I want to uninstall RealPlayer. If I type rpm -e RealPlayer, rpm will say that I don't have it installed, even though I do.

So I type rpm -qa | grep RealPlayer and I get this line: RealPlayer-8.0-1

Then I type rpm -e RealPlayer-8.0-1 and it works! (Unless there are dependencies to uninstall as well)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to intall rpms from and .tar.gz and .src.rpms gadekishore Linux - Software 13 12-26-2005 02:57 PM
uninstalling/reinstalling prob with RPMs olllllo Linux - Software 6 12-04-2003 03:54 PM
Uninstalling RPMs JimmyJ Linux - Newbie 3 06-18-2003 12:20 PM
Red Hat RPMs vs Mandrake RPMs pioniere Linux - Distributions 4 02-27-2003 12:38 PM
Uninstalling RPMs in RH8.0 kaidoggy Linux - General 11 10-25-2002 08:17 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:00 PM.

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