-   Linux - Newbie (
-   -   Determine active kernel package version on machine with multiple versions (

Rickkkk 03-01-2017 09:26 AM


Originally Posted by pan64 (Post 5673373)
yes, see post #7, uname should work. also see man uname about usage

+1 +1 +1 ... Yup. uname -a will give you running kernel info and your package manager will undoubtedly have a query command permitting you to find installed packages. As mentioned - kernel headers and docs aren't actually "running" - the kernel is. And yes, you may have several kernels installed and available to boot on your system - to be chosen at boot time.

Cheers :-)

chrism01 03-03-2017 05:57 AM

I would look at it this way (on a RHEL/Centos/... distro):


# running kernel : also usually matches the 1st entry in /boot/grub/grub.conf
uname -a

# Other installed & avail kernels : see also other entries in /boot/grub/grub.conf
rpm -qa| grep -i kernel

NB: I don't have v7, so the above may not be true for v7.


All times are GMT -5. The time now is 12:56 PM.