How to find installed RPM architecture?

Bevan C. Bennett bevan at fulcrummicro.com
Mon Jan 19 19:38:36 UTC 2004


Nelson Guedes Paulo Junior wrote:
> 
> That's my sole question:
> How to find the architecture of an installed RPM, like, for example,
> glibc?????
> 
> How do I know if someone has installed the .i386 or the .i686 package?

It's not the most obvious thing to discover, but the following will work:

rpm -q --qf '%{ARCH}\n' glibc





More information about the fedora-list mailing list