Forrest logo
tool overview
On this page you find all important commands for the CLI tool rpm. If the command you are looking for is missing please ask our AI.

rpm

RPM (Red Hat Package Manager) is a command line tool used primarily in Linux-based operating systems to manage software packages. The tool is developed and maintained by Red Hat Inc.

RPM is used for installation, querying, verification, updating, and removal of packages. It works with the .rpm package format, which contains installation scripts, binaries, libraries, and other necessary files.

With RPM, users can easily install software packages from repositories or local files. It handles dependencies by automatically installing any required packages. It also provides options to query package information, such as version, architecture, and installed files.

RPM offers advanced features like package signing and verification, which ensures the authenticity and integrity of software packages. It also supports package upgrades and downgrades, allowing users to switch between different versions of a package.

Using RPM, system administrators can efficiently manage software installations across multiple machines. It simplifies the process of software distribution and updates, enhancing the overall stability and security of the system.

RPM has become a widely adopted package management tool in various Linux distributions, including Red Hat Enterprise Linux, CentOS, Fedora, and openSUSE. Its usage extends beyond personal computers and is also utilized in server environments to handle critical software installations.

List of commands for rpm:

  • rpm:tldr:09036 rpm: Show changed, missing and/or incorrectly installed files of matching packages.
    $ rpm --verify --all '${php-*}'
    try on your machine
    explain this command
  • rpm:tldr:15426 rpm: Forcibly install a package regardless of currently installed versions.
    $ rpm --upgrade ${package_name-rpm} --force
    try on your machine
    explain this command
  • rpm:tldr:2755a rpm: List versions of all matching packages.
    $ rpm --query --all '${mariadb*}'
    try on your machine
    explain this command
  • rpm:tldr:60dcd rpm: List package-owned files.
    $ rpm --query --list ${kernel}
    try on your machine
    explain this command
  • rpm:tldr:68584 rpm: Display the changelog of a specific package.
    $ rpm --query --changelog ${package_name}
    try on your machine
    explain this command
  • rpm:tldr:805d7 rpm: Show scriptlets from an RPM file.
    $ rpm --query --package --scripts ${package_name-rpm}
    try on your machine
    explain this command
  • rpm:tldr:e45e3 rpm: Identify owner of a file and show version of the package.
    $ rpm --query --file ${-etc-postfix-main-cf}
    try on your machine
    explain this command
  • rpm:tldr:fb093 rpm: Show version of httpd package.
    $ rpm --query ${httpd}
    try on your machine
    explain this command
tool overview