Linux Tutorial: Installing or Upgrading an RPM on Red Hat

Leave a comment Standard

Since  I look these up all the time I figured it was time to put them all in one place!

Installing an RPM

rpm -ivh package_name_here.rpm

Updating an RPM

rpm -uvh package_name_here.rpm

Check To See if the RPM is Installed

rpm -qa package_name_here.rpm

Check To See if the RPM is Installed (partial name)

rpm -qa | grep part_name

Getting More Help on RPMS and Options

rpm –help

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s