* Werner [Sat, Feb 24, 2001 at 03:11:49PM -0500]:
>
> I know which architecture packages I have on my Linux box, but I would
> like to know how I can get rpm to tell me for a specific package if
> it's an i386 or an i686 package.
>
The following works, although a bit awkward to type:
[jweeriks@sandbox jweeriks]$ rpm -q --qf '%{ARCH}\n' kernel
i686
If there is an easier way, I bet Red Hat guys will inform us :)
For package files add -p to the above, or play around with
strings/grep.
--
Johannes Eriksson <[EMAIL PROTECTED]>
Computer Science, AA University
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list