Hello there. uname is a standard utility and should be on every Linux distribution (I thought). Do you get nothing at all if you type uname -r at a prompt?
The other way to find out which kernel version you have is to do:
dpkg-query -W linux-image*
The highest numbered one is likely to be the one you are running. Alternatively, have a look at the grub menu when you boot, as this displays the Linux kernel version.
Once you know what it is, install the appropriate headers package. E.g. on my system, the dpkg-query line returns:
Hello there. uname is a
Hello there. uname is a standard utility and should be on every Linux distribution (I thought). Do you get nothing at all if you type uname -r at a prompt?
The other way to find out which kernel version you have is to do:
The highest numbered one is likely to be the one you are running. Alternatively, have a look at the grub menu when you boot, as this displays the Linux kernel version.
Once you know what it is, install the appropriate headers package. E.g. on my system, the dpkg-query line returns:
So my kernel is linux-image-2.6.15-27-386. So I need to install:
(just change image to headers).
Hope this helps.