On Fri, 2005-08-12 at 02:29 -0500, Bryan J. Smith wrote: > Does anyone know how to easily list the arch of packages on a system? > I can't seem to figure out something from "rpm" at the CLI. I have the following in ~/.rpmmacros: # Change default RPM query format to show ARCH %_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch} Example: # rpm -q glibc glibc-2.3.4-2.9.i686 glibc-2.3.4-2.9.x86_64 Can do something similar from the command-line: $ rpm -q --queryformat='%{name}-%{version}-%{release}.%{arch}\n' openldap openldap-2.2.13-2.i386 openldap-2.2.13-2.x86_64 While OT - A sometimes-useful variant: $ rpm -qa --queryformat='%{epoch}:%{name}-%{version}-%{release}.%{arch}\n' aspell 12:aspell-0.50.5-3.fc3.x86_64 12:aspell-0.50.5-3.fc3.i386 Phil