DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
LKP System Management

RPM commands

The following list provides a brief description and syntax for commonly used rpm commands.

To test install:

   rpm -ivh --test pkgname
To install:
   rpm -ivh pkgname
To uninstall:
   rpm -e pkgname
To update:
   rpm -Uvh pkgname
To freshen (similar to update, but only installs if previous version exists):
   rpm -Fvh pkgname
To query what version of a package is installed
   rpm -q pkgname
query package this file is part of
   rpm -qf filename
provide information about pkgname
   rpm -qfl pkgname
See rpm(8linux).
Next topic: Managing filesystems
Previous topic: Package management

© 2002 Caldera International, Inc. All rights reserved.
UnixWare 7 Release 7.1.3 - 17 October 2002