Tuesday, September 1, 2009

How to install the rpm package in Fedora or RHEL

Originally standing for "Red Hat Package Manager", RPM now stands for "RPM Package Manager," which is a recursive acronym.We don't have to worry about these things,We are concentrating on the installing the rpm in our Linux [RHEL or Fedora]

1. Install the package
rpm -ivh packageName
2. Upgrade the existing package
rpm -Uvh packageName
3. Query for installed package
rpm -qa packageName
if you don't know exact package name [Say hotrod-1.0-1.i386.rpm ],you can use command as
rpm -qa | grep hotrod
if you try
rpm -qa
this will list out all the installed rpm packages.

These commands are enough for installing the rpm packages.

No comments:

Blog Archive