rpm-i Install a package Useful options to -i:
--excludedocs: Does not install documentation to save space
--replacepkgs: Replaces the package with a new copy of itself
--force: The 'big hammer' — Ignores all warnings and installs anyway
--noscripts: Does not execute any pre- or post-install scripts
--nodeps: Ignores any dependencies
--root path: Sets an alternative root to path
rpm -e Erase (deletes) a package. Useful option to -e:
--nodeps: Ignores any dependencies
rpm -U Upgrade a package, removing the older one but keeping modified files, such as configurations. Useful options to -U:
--oldpackage: Permits downgrading to an older version
Other options are the same as with rpm -i
rpm -q Query about package information. Useful options to -q:
-p file: Displays all information about the package file
-f file: Asks what package owns the file file?
--whatprovides x: Determines what packages provide x
--whatrequires x: Determines what packages require x
-i: Summarizes the package information
-l: Lists the files in package
--scripts: Displays the contents of any install, uninstall, or verifies scripts
--provides: Displays the capabilities package provides
--requires: Displays the capabilities package requires
rpm -V Verify packages against the RPM database .Useful options to - V:
-a: Verifies all installed packages
rpm -K Use GPG to verify a downloaded package Useful options to - K:
--nosignature: If you lack public GPG encryption keys, do not have GPG installed, or are legally prohibited from using GPG, this still verifies the package using size and MD5 checksums.
Добавить отзыв
ВСЕ ОТЗЫВЫ О КНИГЕ В ИЗБРАННОЕ

0

Вы можете отметить интересные вам фрагменты текста, которые будут доступны по уникальной ссылке в адресной строке браузера.

Отметить Добавить цитату