rpm - Red Hat Package Manager
Package management is important function of the system administrator and is a very long and complicated discussion. This section will cover a few brief options for command to demonstrate how a package can be installed, a package can be removed and the database of packages installed can be queried to find information about installed packages. No effort will be made to explain how to deal with dependencies or errors that may come from installation attempts. Packages can be installed by the following command.
rpm -Uvh pathtopackage
The U option will cause an installed package to be upgraded or a new install to occur if the package is not on the system. The vh provide additional feedback about how the install process is going.
A package can be uninstalled with the following command:
rpm -e packagename
This will cause the package to be removed. A warning will occur if other packages installed are dependent on this package and the package will be left installed.
Finally the package database can be queried to find out if a package is installed with the command:
rpm -qa packagedname
Home - Table Of Contents - Contact Us
CertiGuide to A+ (A+ 4 Real) (http://www.CertiGuide.com/apfr/) on CertiGuide.com
Version 1.0 - Version Date: March 29, 2005
Adapted with permission from a work created by Tcat Houser et al.
CertiGuide.com Version © Copyright 2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.