faqts : Computers : Operating Systems : Linux

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 3 people (67%) answered Yes
Recently 2 of 3 people (67%) answered Yes

Entry

Operating system: Linux: Installer: File: Remove: How to uninstall a .rpm package?

Feb 27th, 2004 03:47
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 27 February 2004 - 12:36 am -------------------

Operating system: Linux: Installer: File: Remove: How to uninstall 
a .rpm package?

---

The rpm program will check in its database before uninstalling a 
package
and will not uninstall a package that is already there, even if you
are trying to uninstall a newer version.

---

You can do the uninstallation by using the -e parameter:

---

To uninstall, use the command:

 rpm -e <your .rpm filename>

---

e.g.

 rpm -e bison1-35.6.rpm

---
---

A typical sequence to uninstall a .rpm package might be:

Steps: Overview:

 1. -Open a console

 2. -Login as root

     1. su

     2. supply your root password

 3. -Get some information about the currently present packages,
     and help in order to find them

Operating system: Linux: Uninstaller: File: Check: How to view 
information about .rpm packages? [query]
http://www.faqts.com/knowledge_base/view.phtml/aid/26858/fid/445

 4. -Type on the command line

      rpm -e <your rpm packagename>

     e.g.

      rpm -e bison1.2.3-6

 5. -Then uninstallation will start and proceed further
     usually automatically

---
---

Note:

If you want to override yourself the restrictions of the rpm
software (e.g. it does not let you install a package, because
it depends on another package which is not present), you
can use the commands (thus use this with caution):

 rpm -e -nodeps <your package name>

e.g.

 rpm -e -nodeps bison1.2.3-6

---
---

Internet: see also:

---

Operating system: Linux: Uninstallation: File: Overview: Can you give 
me an overview of uninstallation?
http://www.faqts.com/knowledge_base/view.phtml/aid/29106/fid/107

----------------------------------------------------------------------