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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.