Linux Commands Helper
💬 Your AI-powered Linux assistant
rpm Command - RPM Package Manager
The rpm command is used to install, query, verify, update, and remove RPM packages on RPM-based systems.
Syntax
rpm [options] [package_file...]
Examples
rpm -ivh package.rpm
Install the specified RPM package with verbose and hash marks.
rpm -q package_name
Query if a package is installed.
rpm -e package_name
Remove an installed package.
Notes
- rpm is commonly used on Red Hat, CentOS, and Fedora systems.
- Common options:
-i
(install),-e
(erase/remove),-q
(query),-v
(verbose),-h
(hash marks).