Re: R:How to verify the running kernel's architecture?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 17 Jan 2007 16:43:45 +0100, Roberto Malinverni wrote:

> Try the --queryformat switch of rpm, against the installed kernel package:
> 
> rpm -q kernel --queryformat '%{NAME} %{VERSION} %{ARCH}\n'
> 
> I don't remember if you need single or double quotes, though.

This will work:

rpm -q --queryformat "%{name}-%{arch}\n" <package name>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux