RPM (Red Hat Package Manager)
`rpm` is a low-level package management tool for managing `.rpm` package files on Red Hat-based systems. It is primarily for emergency or manual situations, as `dnf` is the preferred tool.
RPM Commands
| Command | Description |
|---|---|
rpm -q <package_name> | Checks if a package is installed. |
rpm -qa | Displays a list of all installed packages. |
rpm -qi <package_name> | Displays detailed information about a package. |
rpm -qf /path/to/file | Checks which installed package owns a specific file. |
sudo rpm -ivh package.rpm | Installs an `.rpm` package file. The `i` stands for install, `v` for verbose, and `h` for a hash (`#`) progress bar. |