Yum list files in installed package




















A more elegant solution would be to use the package manager, which in my case is YUM. How can YUM be used to achieve this? There is a package called yum-utils that builds on YUM and contains a tool called repoquery that can do this.

On at least one RH system, with rpm v4. If you are having this issue, try adding the --installed flag: repoquery --installed -l rpm. I don't think you can list the contents of a package using yum, but if you have the. Yum doesn't have it's own package type. Yum operates and helps manage RPMs. So, you can use yum to list the available RPMs and then run the rpm -qlp command to see the contents of that package. How are we doing? Please help us improve Stack Overflow.

Take our short survey. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. In order to list all installed packages on CentOS 7, you can use the yum list installed command. For example:. As you can see from the output, this command line command will show you a long list of all installed packages, including the package name, package version and the repository name from which the package was installed.

Or, useless at the end of this command:. Use the rpm ——help command for more options, or refer to the documentation.

Yum-utils is a software package that adds functionality to the standard YUM package manager. The yum-utils package uses yum repositories to pull information. Now you understand how to list and filter installed packages on CentOS. Introduction Managing a CentOS operating system often means knowing the software packages that are installed. Was this article helpful? TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web.

Millions of people visit TecMint! If you like what you are reading, please consider buying us a coffee or 2 as a token of appreciation. We are thankful for your never ending support. Can somebody help me in finding files opened by yum on debian Linux…. The files are supposed to be having commands to do my assignment but they are been hidden.

The easiest way to view installed package files is to use the Synaptic Package Manager.



0コメント

  • 1000 / 1000