How to verify if a package is installed?
Issue
- How to verify if a package is installed ?
- How to check which version of a package is installed ?
Note:
This knowledge article is specific to application distributed as RPM packages.
Starting with RHEL 8 some applications are distributed as AppStream modules,
to verify if a package distributed as an Appstream module is installed refer to the following knowledge article:
- How to verify if an AppStream module is installed?
Environment
- Red Hat Enterprise Linux 6, 7, 8, 9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.