QUERYING AND VERIFYING PACKAGES:
rpm
{-q|--query
} [select-options
] [query-options
]
rpm --querytags
rpm
{-V|--verify
} [select-options
] [verify-options
]
INSTALLING, UPGRADING, AND REMOVING PACKAGES:
rpm
{-i|--install
} [install-options
] PACKAGE_FILE ...
rpm
{-U|--upgrade
} [install-options
] PACKAGE_FILE ...
rpm
{-F|--freshen
} [install-options
] PACKAGE_FILE ...
rpm
{--reinstall
} [install-options
] PACKAGE_FILE ...
rpm
{-e|--erase
} [--allmatches
] [--justdb] [--nodeps
]
[--noscripts
] [--notriggers
] [--test
] PACKAGE_NAME ...
MISCELLANEOUS:
rpm --showrc
rpm --setperms
PACKAGE_NAME ...
rpm --setugids
PACKAGE_NAME ...
rpm --setcaps
PACKAGE_NAME ...
rpm --restore
PACKAGE_NAME ...
select-options
[PACKAGE_NAME] [-a,--all [
SELECTOR]] [-f,--file
FILE] [-g,--group
GROUP] [-p,--package
PACKAGE_FILE] [--hdrid
SHA1] [--pkgid
MD5]
[--tid
TID] [--querybynumber
HDRNUM] [--triggeredby
PACKAGE_NAME]
[--whatprovides
CAPABILITY] [--whatrequires
CAPABILITY]
[--whatrecommends
CAPABILITY] [--whatsuggests
CAPABILITY]
[--whatsupplements
CAPABILITY] [--whatenhances
CAPABILITY]
[--whatobsoletes
CAPABILITY] [--whatconflicts
CAPABILITY]
query-options
General: [--changelog
] [--changes
] [--dupes
] [-i,--info
] [--last
]
[--qf,--queryformat
QUERYFMT] [--xml
]
Dependencies: [--conflicts
] [--enhances
] [--obsoletes
]
[--provides
] [--recommends
] [-R,--requires
] [--suggests
]
[--supplements
]
Files: [-c,--configfiles
] [-d,--docfiles
] [--dump
] [--fileclass
]
[--filecolor
] [--fileprovide
][--filerequire
] [--filecaps
]
[--filesbypkg
] [-l,--list
] [-s,--state
] [--noartifact
]
[--noghost
] [--noconfig
]
Scripts and triggers: [--filetriggers
] [--scripts
]
[--triggers,--triggerscripts
]
verify-options
[--nodeps
] [--nofiles
] [--noscripts
] [--nodigest
] [--nosignature
]
[--nolinkto
] [--nofiledigest
] [--nosize
] [--nouser
] [--nogroup
]
[--nomtime
] [--nomode
] [--nordev
] [--nocaps
]
install-options
[--allfiles
] [--badreloc
] [--excludepath
OLDPATH] [--excludedocs
]
[--force
] [-h,--hash
] [--ignoresize
] [--ignorearch
] [--ignoreos
]
[--includedocs
] [--justdb
] [--nodeps
] [--nodigest
] [--noplugins
]
[--nocaps
] [--noorder
] [--noverify
] [--nosignature
] [--noscripts
]
[--notriggers
] [--oldpackage
] [--percent
] [--prefix
NEWPATH]
[--relocate
OLDPATH=
NEWPATH] [--replacefiles
] [--replacepkgs
]
[--test
]