OS Manuals

/usr/bin/rpmkeys

Redhat Package Management utilities (RPM)

From rpm 6.1.0-r2 (os), captured 2026-11-05 by running rpmkeys --help (exit 0). permalink

Usage: rpmkeys [OPTION...]

Keyring options:
  -K, --checksig                 verify package signature(s)
  -i, --import                   import an armored public key
  -x, --export                   export an public key
  -t, --test                     don't import, but tell if it would work or not
  -d, --delete                   Erase keys from RPM keyring
  -e, --erase                    Erase keys from RPM keyring
  -l, --list                     list keys from RPM keyring
      --rebuild                  rebuild the keyring - convert to current
                                 backend
      --from=STRING              get keys from this backend when rebuilding
                                 current backend

Common options for all rpm modes and executables:
  -D, --define='MACRO EXPR'      define MACRO with value EXPR
      --undefine=MACRO           undefine MACRO
  -E, --eval='EXPR'              print macro expansion of EXPR
      --target=CPU-VENDOR-OS     Specify target platform
      --macros=<FILE:...>        read <FILE:...> instead of default file(s)
      --load=<FILE>              load a single macro file
      --noplugins                don't enable any plugins
      --nodigest                 don't verify package digest(s)
      --nosignature              don't verify package signature(s)
      --rcfile=<FILE:...>        read <FILE:...> instead of default file(s)
  -r, --root=ROOT                use ROOT as top level directory (default: "/")
      --dbpath=DIRECTORY         use database in DIRECTORY
      --querytags                display known query tags
      --showrc                   display final rpmrc and macro configuration
      --quiet                    provide less detailed output
  -v, --verbose                  provide more detailed output
      --version                  print the version of rpm being used

Help options:
  -?, --help                     Show this help message
      --usage                    Display brief usage message
Options (28)
OptionDescriptionSource
-K, --checksigverify package signature(s)help
-i, --importimport an armored public keyhelp
-x, --exportexport an public keyhelp
-t, --testdon't import, but tell if it would work or nothelp
-d, --deleteErase keys from RPM keyringhelp
-e, --eraseErase keys from RPM keyringhelp
-l, --listlist keys from RPM keyringhelp
--rebuildrebuild the keyring - convert to current backendhelp
--from STRINGUse the keys from the specified backend to rebuild the currently configured keystore backend.help + man
-D, --define 'MACROdefine MACRO with value EXPRhelp
--undefine MACROundefine MACROhelp
-E, --eval 'EXPR'print macro expansion of EXPRhelp
--target CPU-VENDOR-OSSpecify target platformhelp
--macros FILE:...read <FILE:...> instead of default file(s)help
--load FILEload a single macro filehelp
--nopluginsdon't enable any pluginshelp
--nodigestdon't verify package digest(s)help
--nosignaturedon't verify package signature(s)help
--rcfile FILE:...read <FILE:...> instead of default file(s)help
-r, --root ROOTuse ROOT as top level directory (default: "/")help
--dbpath DIRECTORYuse database in DIRECTORYhelp
--querytagsdisplay known query tagshelp
--showrcdisplay final rpmrc and macro configurationhelp
--quietprovide less detailed outputhelp
-v, --verboseprovide more detailed outputhelp
--versionprint the version of rpm being usedhelp
-?, --helpShow this help messagehelp
--usageDisplay brief usage messagehelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.