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 01-30-2004, 01:33 PM   #1
SuSE_User
Member
 
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
DrOzz
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
vincebs
Member
 
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)
 
  


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
how to intall rpms from .tar.bz 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

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

All times are GMT -5. The time now is 08:02 PM.

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