rpm
RPM Package Manager. For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>. More information: <https://rpm.org/>.
Install
- All systems
-
curl cmd.cat/rpm.sh
- Debian
-
apt-get install rpm - Ubuntu
-
apt-get install rpm -
Alpine
-
apk add rpm - Kali Linux
-
apt-get install rpm - CentOS
-
yum install rpm - Fedora
-
dnf install rpm - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install rpm - OS X
-
brew install rpm - Raspbian
-
apt-get install rpm - Docker
-
docker run cmd.cat/rpm rpmpowered by Commando
RPM Package Manager. For equivalent commands in other package managers, see <https://wiki.archlinux.org/title/Pacman/Rosetta>. More information: <https://rpm.org/>.
-
Show version of httpd package:
rpm --query httpd -
List versions of all matching packages:
rpm --query --all 'mariadb*' -
Forcibly install a package regardless of currently installed versions:
rpm --upgrade path/to/package.rpm --force -
Identify owner of a file and show version of the package:
rpm --query --file /etc/postfix/main.cf -
List package-owned files:
rpm --query --list kernel -
Show scriptlets from an RPM file:
rpm --query --package --scripts package.rpm -
Show changed, missing and/or incorrectly installed files of matching packages:
rpm --verify --all 'php-*' -
Display the changelog of a specific package:
rpm --query --changelog package
© tl;dr; authors and contributors