rpme(8) - RPM Package Manager
-?, --help
       Print a longer usage message then normal.
--version
       Print a single line containing the version number of rpm being used.
--quiet
       Print as little as possible - normally only error messages will be displayed.
-v     Print verbose information - normally routine progress messages will be displayed.
-vv    Print lots of ugly debugging information.
--rcfile FILELIST
       Each  of  the  files in the colon separated FILELIST is read sequentially by rpm for configuration
       information.  Only the first file in the list must exist, and tildes will be expanded to the value
       of              $HOME.               The              default              FILELIST             is
       /usr/lib/rpm/rpmrc:/usr/lib/rpm/redhat/rpmrc:/etc/rpmrc:~/.rpmrc.
--pipe CMD
       Pipes the output of rpm to the command CMD.
--dbpath DIRECTORY
       Use the database in DIRECTORY rather than the default path /var/lib/rpm
--root DIRECTORY
       Use the file system tree rooted at DIRECTORY  for  all  operations.   Note  that  this  means  the
       database  within DIRECTORY will be used for dependency checks and any scriptlet(s) (e.g.  %post if
       installing, or %prep if building, a package) will be run after a chroot(2) to DIRECTORY.
--allfiles
       Installs or upgrades all the missingok files in the package, regardless if they exist.
--badreloc
       Used with --relocate, permit relocations on all file paths, not just those OLDPATH's  included  in
       the binary package relocation hint(s).
--excludepath OLDPATH
       Don't install files whose name begins with OLDPATH.
--excludedocs
       Don't  install  any  files which are marked as documentation (which includes man pages and texinfo
       documents).
--force
       Same as using --replacepkgs, --replacefiles, and --oldpackage.
-h, --hash
       Print 50 hash marks as the package archive  is  unpacked.   Use  with  -v|--verbose  for  a  nicer
       display.
--ignoresize
       Don't check mount file systems for sufficient disk space before installing this package.
--ignorearch
       Allow  installation  or  upgrading  even if the architectures of the binary package and host don't
       match.
--ignoreos
       Allow installation or upgrading even if the operating systems of the binary package and host don't
       match.
--includedocs
       Install documentation files. This is the default behavior.
--justdb
       Update only the database, not the filesystem.
--nodigest
       Don't verify package or header digests when reading.
--nomanifest
       Don't process non-package files as manifests.
--nosignature
       Don't verify package or header signatures when reading.
--nodeps
       Don't do a dependency check before installing or upgrading a package.
--noorder
       Don't  reorder  the  packages  for an install. The list of packages would normally be reordered to
       satisfy dependencies.
--noscripts
--nopre
--nopost
--nopreun
--nopostun
       Don't execute the scriptlet of the same name.  The --noscripts option is equivalent to
--nopre --nopost --nopreun --nopostun

and turns off the execution of the corresponding %pre, %post, %preun, and %postun scriptlet(s).
--notriggers
--notriggerin
--notriggerun
--notriggerprein
--notriggerpostun
       Don't execute any trigger scriptlet of the named type.  The --notriggers option is equivalent to
--notriggerprein --notriggerin --notriggerun --notriggerpostun

and  turns  off  execution  of  the  corresponding  %triggerprein,  %triggerin,  %triggerun,   and
%triggerpostun scriptlet(s).
--oldpackage
       Allow an upgrade to replace a newer package with an older one.
--percent
       Print  percentages  as  files are unpacked from the package archive.  This is intended to make rpm
       easy to run from other tools.
--prefix NEWPATH
       For relocatable binary packages, translate all file paths that start with the installation  prefix
       in the package relocation hint(s) to NEWPATH.
--relocate OLDPATH=NEWPATH
       For  relocatable  binary packages, translate all file paths that start with OLDPATH in the package
       relocation hint(s) to NEWPATH.  This option can be used repeatedly if  several  OLDPATH's  in  the
       package are to be relocated.
--replacefiles
       Install the packages even if they replace files from other, already installed, packages.
--replacepkgs
       Install the packages even if some of them are already installed on this system.
    --test Do not install the package, simply check for and report potential conflicts.

ERASE OPTIONS
    The general form of an rpm erase command is

    rpm {-e|--erase} [--allmatches] [--nodeps] [--noscripts] [--notriggers] [--test] PACKAGE_NAME ...

    The following options may also be used:
--allmatches
       Remove  all  versions  of  the  package  which  match PACKAGE_NAME. Normally an error is issued if
       PACKAGE_NAME matches multiple packages.
--nodeps
       Don't check dependencies before uninstalling the packages.
--noscripts
--nopreun
--nopostun
       Don't execute the scriptlet of the same name.  The --noscripts  option  during  package  erase  is
       equivalent to
--nopreun --nopostun

and turns off the execution of the corresponding %preun, and %postun scriptlet(s).
--notriggers
--notriggerun
--notriggerpostun
       Don't execute any trigger scriptlet of the named type.  The --notriggers option is equivalent to
--notriggerun --notriggerpostun

and turns off execution of the corresponding %triggerun, and %triggerpostun scriptlet(s).
    --test Don't  really uninstall anything, just go through the motions.  Useful in conjunction with the -vv
           option for debugging.

QUERY OPTIONS
    The general form of an rpm query command is

    rpm {-q|--query} [select-options] [query-options]

    You may specify the format that package information should be printed in. To do this, you use the
--qf|--queryformat QUERYFMT
-a, --all
       Query all installed packages.
-f, --file FILE
       Query package owning FILE.
-g, --group GROUP
       Query packages with the group of GROUP.
--hdrid SHA1
       Query  package  that  contains  a  given  header identifier, i.e. the SHA1 digest of the immutable
       header region.
-p, --package PACKAGE_FILE
       Query an (uninstalled) package PACKAGE_FILE.  The PACKAGE_FILE may be specified as an ftp or  http
       style  URL, in which case the package header will be downloaded and queried.  See FTP/HTTP OPTIONS
       for information on rpm's internal ftp and http client support. The  PACKAGE_FILE  argument(s),  if
       not  a binary package, will be interpreted as an ASCII package manifest unless --nomanifest option
       is used.  In manifests, comments are permitted, starting with a '#', and each line  of  a  package
       manifest  file  may  include white space separated glob expressions, including URL's, that will be
       expanded to paths that are substituted in place of the package manifest as additional PACKAGE_FILE
       arguments to the query.
--pkgid MD5
       Query package that contains a given package identifier, i.e. the MD5 digest of the combined header
       and payload contents.
--querybynumber HDRNUM
       Query the HDRNUMth database entry directly; this is useful only for debugging.
--specfile SPECFILE
       Parse and query SPECFILE as if it were a package. Although not  all  the  information  (e.g.  file
       lists)  is  available,  this type of query permits rpm to be used to extract information from spec
       files without having to write a specfile parser.
--tid TID
       Query package(s) that have a given TID transaction identifier. A unix time stamp is currently used
       as a transaction identifier. All package(s) installed or erased within a single transaction have a
       common identifier.
--triggeredby PACKAGE_NAME
       Query packages that are triggered by package(s) PACKAGE_NAME.
--whatprovides CAPABILITY
       Query all packages that provide the CAPABILITY capability.
--whatrequires CAPABILITY
       Query all packages that require CAPABILITY for proper functioning.
--changelog
       Display change information for the package.
-c, --configfiles
       List only configuration files (implies -l).
--conflicts
       List capabilities this package conflicts with.
-d, --docfiles
       List only documentation files (implies -l).
--dump Dump file information as follows (implies -l):

       path size mtime filedigest mode owner group isconfig isdoc rdev symlink
--filesbypkg
       List all the files in each selected package.
-i, --info
       Display  package  information,  including  name,  version,  and  description.    This   uses   the
       --queryformat if one was specified.
--last Orders the package listing by install time such that the latest packages are at the top.
-l, --list
       List files in package.
--provides
       List capabilities this package provides.
-R, --requires
       List capabilities on which this package depends.
--scripts
       List   the  package  specific  scriptlet(s)  that  are  used  as  part  of  the  installation  and
       uninstallation processes.
-s, --state
       Display the states of files in the package (implies -l).  The state of each file is one of normal,
       not installed, or replaced.
    --triggers, --triggerscripts
           Display the trigger scripts, if any, which are contained in the package.

VERIFY OPTIONS
    The general form of an rpm verify command is

    rpm {-V|--verify} [select-options] [verify-options]

    Verifying  a package compares information about the installed files in the package with information about
    the files taken from the package metadata stored in the rpm  database.   Among  other  things,  verifying
    compares  the  size,  MD5  sum,  permissions,  type, owner and group of each file.  Any discrepancies are
    displayed.  Files that were not installed from the package, for example, documentation files excluded  on
    installation using the "--excludedocs" option, will be silently ignored.

    The  package  selection options are the same as for package querying (including package manifest files as
    arguments).  Other options unique to verify mode are:
--nodeps
       Don't verify dependencies of packages.
--nodigest
       Don't verify package or header digests when reading.
--nofiles
       Don't verify any attributes of package files.
--noscripts
       Don't execute the %verifyscript scriptlet (if any).
--nosignature
       Don't verify package or header signatures when reading.
--nolinkto
--nofiledigest (formerly --nomd5)
--nosize
--nouser
--nogroup
--nomtime
--nomode
--nordev
       Don't verify the corresponding file attribute.
--ftpproxy HOST
       The host HOST will be used as a proxy server for all ftp transfers,  which  allows  users  to  ftp
       through  firewall  machines  which  use  proxy  systems.  This  option  may  also  be specified by
       configuring the macro %_ftpproxy.
--ftpport PORT
       The TCP PORT number to use for the ftp connection on the proxy ftp server instead of  the  default
       port. This option may also be specified by configuring the macro %_ftpport.

rpm allows the following options to be used with http URLs:
--httpproxy HOST
       The  host  HOST  will  be  used  as a proxy server for all http transfers. This option may also be
       specified by configuring the macro %_httpproxy.
--httpport PORT
       The TCP PORT number to use for the http connection on the proxy http server instead of the default
       port. This option may also be specified by configuring the macro %_httpport.