Install the kernel sources

In order to compile Linux drivers you may need your kernel's sources to be installed on your system. To install them,


 * find out your distribution

and proceed depending on your distribution.

= SUSE =

To install the kernel sources with SUSE,

yast -i kernel-source
 * open a console and issue

= Ubuntu =

To install the kernel sources with Ubuntu,

sudo apt-get install linux-source
 * open a console and issue

= See also =
 * installing software