Linux Scroll

Just another site

RPM – RPM Package Manager

RPM use in Redhat, Fedora, Suse, Centos.

Using RPM to Install Packages:

$ rpm -ivh package.rpm

* i – install
* v – verbose
* h – hash

Using RPM to Upgrade Packages:

$ rpm -Uvh package.rpm

* U – Upgrade

Using RPM to Erase Packages:

$ rpm -ev package.rpm

* e – erase

Using RPM to Query installed Packages:

$ rpm -qa | grep -i package

* q – query
* a – all

Display all recently installed rpm:

$ rpm -qa --last

Display thunderbird installed info:

$ rpm -qi thunderbird

* i – Display detail

Find out what dependencies a rpm file need:

$ rpm -qpR package.rpm 

* p – Package

Verify all installed package:

$ rpm -Va

RPM Database


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: