rpm -ivh package.rpm

Category: Administration

rpm -ivh package.rpm

Install an RPM package file

Installs package.rpm with -i for install, -v for verbose progress, and -h for the hash progress bar. RPM does not resolve remote dependencies like dnf does, so unmet dependencies fail the install. Prefer dnf install on systems that have it.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.