rpm -qa and architecture info

Phebe_Mertes at aotx.uscourts.gov Phebe_Mertes at aotx.uscourts.gov
Tue Mar 9 19:57:07 UTC 2010


                                                                                                              
  From:       Yong Huang <yong321 at yahoo.com>                                                                  
                                                                                                              
  To:         redhat-list at redhat.com                                                                          
                                                                                                              
  Date:       03/09/2010 01:32 PM                                                                             
                                                                                                              
  Subject:    rpm -qa and architecture info                                                                   
                                                                                                              
  Sent by:    redhat-list-bounces at redhat.com                                                                  
                                                                                                              







`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


rpm -qi packagename

will give a full summary


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list






More information about the redhat-list mailing list