RPM has five basic modes of operation (not counting package building): installing, uninstalling, upgrading, querying, and verifying. This section contains an overview of each mode. For complete details and options try rpm -help, and see the rpm man page and the (previously mentioned) RPM book.