How can I make RPM query output more information on Red Hat Enterprise Linux?

Updated -

Release Found: Red Hat Enterprise Linux, all versions

Problem

You want an RPM query to output more information about an RPM package, such as the architecture.

Solution

Sometimes the default output from an RPM query doesn't provide enough information. Using RPM macros can provide more data from an RPM database query. Here is an easy macro for for...

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