How to verify if a package is installed?

Solution In Progress - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content