Installing packages (rpm) in Linux

The RPM package manager is one of the most powerful command line driven package managers. It is free software and has many libraries that allow for it to be used for advanced development. RPM is a core component in most of the Linux distributions like Redhat/ Fedora, SUSE, Mandriva, Ubuntu, etc.

So, for the first Linux basic tutorial, I thought it might be nice to start by writing about the most commonly used options of the rpm command…

To install a downloaded package, once you are in the directory where the rpm file is, type the following command in the terminal:
rpm -ihv RpmName.rpm

To upgrade an already installed package, type the following command:
rpm -Uhv package

To delete a particular package:
rpm -e package

In case you want to reinstall a package which has deleted parts,
rpm -i -force package

That’s all for now. In case you feel that I have missed something, let me know!

1 Comment so far

  1. [...] artykul’s journal wrote an interesting post today onHere’s a quick excerptRPM is a core component in most of the Linux distributions like Redhat/ Fedora, SUSE, Mandriva, Ubuntu, etc….So, for the first Linux basic tutorial, I thought it might be nice to start by writing about the most commonly used options of the rpm command…… [...]

Leave a Reply