kernel architecture - how to find it out
Ed Wilts
ewilts at ewilts.org
Mon Jun 28 18:39:53 UTC 2004
On Mon, Jun 28, 2004 at 07:51:28PM +0200, Graham Leggett wrote:
>
> But rpm -q -i kernel does not tell me which architecture was installed.
>
> Is there a way of getting this information out of RPM? Surely up2date
> should figure the architecture out automatically?
[ewilts at p6000 ewilts]$ rpm -qa 'kernel*' --queryformat '%{name}-%{version}-%{release}.%{arch}\n'
kernel-pcmcia-cs-3.1.31-13.i386
kernel-utils-2.4-8.37.5.i386
kernel-2.4.21-15.0.2.EL.athlon
kernel-2.4.21-15.EL.athlon
kernel-2.4.21-9.0.3.EL.athlon
--
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts at ewilts.org
Member #1, Red Hat Community Ambassador Program
More information about the redhat-list
mailing list