PDA

View Full Version : kernel version



munna_dude
3rd July 2007, 10:20 AM
how to know my kernel version
Fedira5 AMD

cheers
munna

baschti
3rd July 2007, 10:28 AM
open a terminal and type:
uname -r

glennzo
3rd July 2007, 10:38 AM
But wait, there's more! If you order in the next 7 minutes we'll throw in more kernel version discovery commands! Free!
[glenn@toshiba ~]$ uname
Linux
[glenn@toshiba ~]$ uname -r
2.6.21-1.3228.fc7
[glenn@toshiba ~]$ uname -ra
Linux toshiba 2.6.21-1.3228.fc7 #1 SMP Tue Jun 12 15:37:31 EDT 2007 i686 i686 i386 GNU/Linux
[glenn@toshiba ~]$
Much more under man uname and info uname

munna_dude
3rd July 2007, 10:42 AM
great help
thank you all

jcliburn
4th July 2007, 02:08 AM
But wait, there's more! If you order in the next 7 minutes we'll throw in more kernel version discovery commands! Free!
[glenn@toshiba ~]$ uname
Linux
[glenn@toshiba ~]$ uname -r
2.6.21-1.3228.fc7
[glenn@toshiba ~]$ uname -ra
Linux toshiba 2.6.21-1.3228.fc7 #1 SMP Tue Jun 12 15:37:31 EDT 2007 i686 i686 i386 GNU/Linux
[glenn@toshiba ~]$
Much more under man uname and info uname
And tragically, not one of the above commands reveal what vanilla kernel version you're running. That requires something silly like this:

rpm -q --changelog kernel-2.6.21-1.3228.fc7 | grep 2.6

There is hope, however. I read that F8 kernel numbers will incorporate the vanilla version number. This is especially good news for rawhide users, who today run a kernel numbered 2.6.21-something-or-other.fc8, when the underlying vanilla kernel is actually 2.6.22-rc7.

glennzo
4th July 2007, 03:14 AM
Thank you Mr. JCliburn. How do you remember this stuff?

Jongi
4th July 2007, 09:51 AM
This is news to me. Didn't know the uname version that appears is not necessarily the "base kernel" version. What drives the decision to name the fc kernel 2.6.21... when the vanilla kernel is 2.6.22...

EDIT: Silly me. It seems the answer is in the detail. I take it the release candidates for the next kernel version are released under the version of the existing stable kernel?

jcliburn
4th July 2007, 12:21 PM
I take it the release candidates for the next kernel version are released under the version of the existing stable kernel?
Your conclusion is correct.