How to extract list of all packages installed in RHEL and the associated licenses
Issue
- Red Hat provides a package manifest for each major RHEL release. This manifest contains lists of all packages and the associated licenses.
How can I find out the licenses associated to packages from the command line?
Environment
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.