How do I list installed packages with architecture information?

Updated -

This article discusses a method to list the installed packages (RPMs) and their architecture types. This is particularly useful when checking the install base for 64 bit systems. The following command will list all packages installed on the system:

/bin/rpm -qa --qf "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\\n"

Sample output from the command above is shown below:

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