RPM(8) System Manager's Manual rpm - RPM rpm {-q|--query} [-] [-] [_ ...] [_ ...] rpm {-V|--verify} [-] [-] [_ ...] rpm {-i|--install} [-] [-] _ ... rpm {-U|--upgrade} [-] [-] _ ... rpm {-F|--freshen} [-] [-] _ ... rpm --reinstall [-] [-] _ ... rpm --restore [-] [-] _ ... rpm {-e|--erase} [-] [-] _ ... rpm --querytags rpm-common(8) rpm . rpm . . . : . -V, --verify () rpm. . . -q --query () . -i, --install () . --upgrade. -U --upgrade () . () / . -F --freshen () . --reinstall () . --restore () . -e --erase . --querytags . --queryformat. popt(3) . --initdb --rebuilddb --verifydb rpmdb(8). --addsign --delsign --resign rpmsign(1). -K --checksig --import rpmkeys(8). --specfile rpmspec(1). rpm-common(8) rpm . PACKAGE_FILE rpm rpm-manifest(5). URL ftp http . FTP/HTTP rpm ftp http. _ _. . rpm -qa rpm -qp _ . rpm-common(8) . --allfiles missingok . --badreloc --relocate _ . --excludepath _ _. --excludeartifacts build-id. --excludeconfigs --noconfigs . --excludedocs ( texinfo). --force --replacepkgs --replacefiles --oldpackage. --ignoresize . --ignorearch . --ignoreos . --includedocs . . --nocontexts SELinux . rpm-plugin-selinux(8) . --nocaps . --noverify . --nosysusers --oldpackage . --prefix NEWPATH NEWPATH. --relocate OLDPATH=NEWPATH OLDPATH NEWPATH. OLDPATH . --replacefiles . --replacepkgs . --allmatches PACKAGE_NAME. PACKAGE_NAME . --install --upgrade --reinstall --erase. --deploops . -h --hash 50 . -v|--verbose . --justdb . --nodb . --nodeps . --noorder . . --noplugins . --noscripts . --nopre --nopost --nopreun --nopostun --nopretrans --noposttrans --nopreuntrans --nopostuntrans --nopre --nopost --nopreun --nopostun --nopretrans --noposttrans --nopreuntrans --nopostuntrans . --notriggers . --notriggerprein --notriggerin --notriggerun --notriggerpostun --notriggerin --notriggerun --notriggerprein --notriggerpostun . --percent . rpm . --test . -vv . --qf _ --queryformat _ rpm-queryformat(7). %_query_all_fmt rpm-config(5). : . -a, --all [SELECTOR ...] . SELECTOR tag=pattern name="b*" "b". --dupes . -f --file . --filecaps POSIX1.e. --fileclass ( libmagic). --filecolor (0 noarch 1 32 2 64 ). --fileprovide . --filerequire . -g --group . --noglob . --nomanifest rpm-manifest(5). -p --package _ ( ) _. --path PATH () PATH . PATH . --querybynumber HDRNUM HDRNUM . --specfile SPECFILE rpmspec(1) . --tid TID () TID . UNIX . . --triggeredby PACKAGE_NAME () PACKAGE_NAME. --whatobsoletes CAPABILITY CAPABILITY . --whatprovides CAPABILITY CAPABILITY. --whatrequires CAPABILITY CAPABILITY . --whatconflicts CAPABILITY CAPABILITY. --whatrecommends CAPABILITY CAPABILITY. --whatsuggests . --whatsupplements . --whatenhances . --changelog . --changes . --conflicts . --dump ( -l): --enhances (). --filesbypkg . --filetriggers (). -i --info . --queryformat . --last . -l --list . --obsoletes . --provides . --recommends (). -R, --requires . --suggests (). --supplements (). --scripts . -s, --state ( -l). . --triggers, --triggerscripts . --xml XML. -A, --artifactfiles ( -l). -c --configfiles ( -l). -d --docfiles ( -l). -L --licensefiles ( -l). --noartifact . --noconfig . --noghost . ( rpm-manifest(5) ). : --nodeps . --nodigest . --nofiles . --noscripts %verifyscript ( ). --nosignature . --nolinkto --nofiledigest ( --nomd5) --nosize --nomtime --nomode --nordev . --nouser --nogroup / . passwd(5) group(5). --nocaps . --verify 9 result attribute . 9 () () . "." () "?" ( ) ( ). ( B ) --verify : S M ( ) 5 ( MD5 ) D / L readLink(2) U G T mTime P caP a %artifact - ( build-id) c %config d %doc g %ghost l %license m %missingok - n %config(noreplace) - ( %config) r %readme s rpm-spec(5) 0 . rpm -Uvh hello-2.0-1.noarch.rpm hello-2.0-1.noarch.rpm . -Uvh rpm. rpm -Uvh --excludedocs --root /srv/test mydist-23.mft mydist-23.mft rpm-manifest(5) /srv/test . rpm -Fvh *.rpm . rpm -i kernel-6.15.4-200.x86_64.rpm kernel-6.15.4-200.x86_64.rpm . . -i . rpm -evh --allmatches libhello libhello . --allmatches . rpm -vh --reinstall hello-2.0-1.noarch.rpm hello-2.0-1.noarch.rpm . . rpm -v --restore --all . rpm --verify --noconfig openssh-server openssh-server . rpm -qa . rpm -qlv --noartifact glibc glibc ls(1) ls -l " " build-id's . rpm -q --qf "[%{filenames} %{filedigests}\n]" openssh-server openssh-server. rpm -qp --scripts --triggers --filetriggers myserver-1.0-1.x86_64.rpm myserver-1.0-1.x86_64.rpm. ! rpm --target ppc64le --eval "%optflags" %optflags ppc64le. rpm-common(8) rpm-config(5) rpm-rpmrc(5). rpm-common(8) popt(3) rpm2cpio(1) rpmbuild(1) rpmdb(8) rpmkeys(8) rpmsign(1) rpmspec(1) rpm-queryformat(7) rpm-manifest(5) rpm-version(7) rpm-plugins(8) rpm --help - rpm popt . http://www.rpm.org/ 3 . . : . RPM 6.0.1 6 2026 RPM(8)