rpm is used for package management or system administration in the RHEL family. Consult the distribution manual for release-specific behaviour.
rpm -qi <package>rpm is used for package management or system administration in the RHEL family. Consult the distribution manual for release-specific behaviour.
rpm [options] action package.rpmrpm is used for package management or system administration in the RHEL family. Consult the distribution manual for release-specific behaviour.
rpm -qi <package>Show command help and options where supported.
rpm --help| Option / clause | Description |
|---|---|
-q, --query <package> | Query installed package information. |
-qa / -qi / -ql | List packages, show package details or list package files. |
-i, --install <file.rpm> | Install a local RPM file; dependency resolution may be needed. |
-U, --upgrade <file.rpm> | Install or upgrade from an RPM file. |
-e, --erase <package> | Remove an installed package. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.