| RPM-COMMON(8) | System Manager's Manual | RPM-COMMON(8) |
NAME
rpm-common - Operations and options common to the main rpm(8) executables
SYNOPSIS
RPMCMD [options] {-?|--help}
RPMCMD [options] --showrc
RPMCMD [options] --version
DESCRIPTION
The following RPMCMD executables share common configuration and the options and operations documented in this manual:
OPERATIONS
-?, --help
--version
--showrc
OPTIONS
--color <MODE>
- always
- auto (use color output on terminals)
- never (default)
--dbpath DIRECTORY
-D 'MACRO EXPR', --define='MACRO EXPR'
-E 'EXPR', --eval='EXPR'
--load FILE
--macros FILELIST
--nodigest
--nohdrchk
--nosignature
--pipe CMD
--predefine='MACRO EXPR'
--target PLATFORM
--quiet
--rcfile FILELIST
--root DIRECTORY
Note that rpm assumes the environment inside the root is set up by the caller, such as any mounts needed for the operation inside the root directory.
--undefine='MACRO'
-v, --verbose
DEBUG OPTIONS
--debug
--fsmdebug
--rpmiodebug
--stats
FTP/HTTP OPTIONS
These options are deprecated. Use special purpose software such as curl(1) or wget(1) for fetching data from the internet.
For some operations, rpm can act as an FTP and/or HTTP client so that packages can be queried or installed from the internet. Package files for install, upgrade, and query operations may be specified as an ftp or http style URL:
http://HOST[:PORT]/path/to/package.rpm
ftp://[USER:PASSWORD]@HOST[:PORT]/path/to/package.rpm
If both the user and password are omitted, anonymous ftp is used.
rpm allows the following options to be used with http and ftp URLs:
--httpproxy HOST
--httpport PORT
ENVIRONMENT
RPM_CONFIGDIR
EXIT STATUS
On success, 0 is returned, a nonzero failure code otherwise.
BUGS
Not all options are meaningful or implemented in all the executables they show in. In particular, --root and the various verify-related options are only honored by rpm(8) and rpmdb(8).
FILES
Database
/var/lib/rpm/
Temporary
/var/tmp/rpm*
SEE ALSO
| 2026-01-08 | RPM 6.0.1 |