List installed packages

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gabriel9999
    New Member
    • Jul 2019
    • 15

    List installed packages

    How can I list installed rpm packages ?
  • SioSio
    Contributor
    • Dec 2019
    • 272

    #2
    The way to check is as follows.
    $ man rpm
    or
    $ rpm --help

    The package search is the -q option, and the -a option to search all.

    Comment

    • cetpainfotech
      New Member
      • Jan 2023
      • 15

      #3
      To list all installed RPM packages on a Linux system, you can use the command "rpm -qa". This command will show you a list of all the RPM packages that are currently installed on your system.

      You can also use the command "yum list installed" which is for the yum package manager. This command will show you a list of all the packages that are currently installed on your system, including both RPM and non-RPM packages.

      Comment

      • dommerly
        New Member
        • May 2023
        • 3

        #4
        To list the installed RPM packages on a Linux system, you can use the following command
        Code:
        rpm -qa
        This command will display a list of all the installed RPM packages along with their names and versions. If you want to save the list to a file for further analysis, you can redirect the output to a text file using the following command:
        Code:
        rpm -qa > packages.txt
        This will create a file named "packages.t xt" and write the list of installed RPM packages to that file. You can then open the file and view the list of packages using a text editor or any other tool of your choice.

        Keep in mind that this command will work on RPM-based Linux distributions such as Red Hat, CentOS, Fedora, and openSUSE. If you are using a different package manager, the command may vary.

        Comment

        • tmuxwarrior
          New Member
          • Sep 2024
          • 1

          #5
          Thank you!

          To get the most recent packages installed:
          rpm -qa --last

          I want to add for anyone else out there that is debugging packages
          Use rpm -Va to check if any of the files for the installed packages have been modified, corrupted or deleted.

          For a specific package use:
          rpm -V <package-name>

          Example
          rpm -V httpd

          You can even list the changelog of packages:
          rpm -q --changelog <package-name>
          rpm -q --changelog httpd

          Comment

          Working...