
To list all installed packages: $ repoquery -a -installed Repoquery is part of yum-utils package, so you need to install it first. You can fully customize and format its output, so it can be fed to other tools easily. This tool is useful to inspect package dependencies, search files inside a package, as well as packages from different repositories. $ yum list installed | grep Three: repoqueryĪnother tool for querying information about RPM packages and yum repositories is repoquery. The following command shows a list of packages installed from EPEL repository.


Since the yum output contains repository information, if you want to get a list of RPM packages installed from a specific repository only, you can filter the output with grep. Similar to rpm, the yum package manager also allows you to get a list of installed packages. So if you want to get a list of packages installed from a particular repository, rpm cannot help you. However, the rpm command itself does not recognize the notion of repositories. The following command queries all installed packages and shows the result. The easiest way to show all installed packages on CentOS is via rpm command.

If you are running CentOS or RHEL system, there are a few ways to get a list of all installed RPM packages, either from all available repositories or from a specific repository.

In other times, you may just want to know what packages you installed from a specific third-party repository. Also when you are trying to migrate your old Linux system to to a freshly installed newer OS release, you need to keep track of previously installed package list. When you want to create a new server which has exactly the same set up as any existing server X, you need to find out what packages have been installed on server X. Is there a way to get a full list of all RPM packages that I installed since I set up my initial CentOS system? Ī summary of the done tasks is in: #1840 (comment)Īs the OpenSearch documentation is not very clear and some issues have been found in the process, exhausting testing has been necessary to validate this development.Question: I want to find out what packages are installed on my CentOS box, so that I can replicate all the installations on another computer. This PR modifies the dependencies of the Installation Assistant, specifically the dependencies related to the Wazuh dashboard to generate PDF reports.
