rpm -qa and architecture info

Yong Huang yong321 at yahoo.com
Tue Mar 9 19:31:32 UTC 2010


`rpm -qa' shows the package names (and versions and releases). This command

rpm -qa --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n'

shows that plus architecture. Is there a shorter command that does the same, i.e. shows name, version, release and arch? It's hard to remember and type that long line. I want something like

rpm -qa [a simple option that shows arch IN ADDITION TO what the preceding option i.e. -qa shows]

Yong Huang


      




More information about the redhat-list mailing list