How can I get a list of all of the RPM packages that have been installed on my system from a particular repo (e.g., "epel")?
The command above uses DNF to list the packages installed from the
As of RHEL6, as suggested in this stackoverflow answer, there's a more thorough method of doing this with
The repoid takes wild cards.
If we're going to cheat and pipe the output, then we can achieve pretty-print effect as well. Here's one using
To list all available packages in a specified repository, do:
Grepping yum's output is the most obvious way:
However, you can't display extra packages properties and it's difficult to parse with a script. The tool
and a more complex example:
You could check the
This example lists all package from VideoLAN repository:
Obviously, you need to determine if the