Install the kernel sources

From LQWiki
Jump to: navigation, search

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

and proceed depending on your distribution.

SUSE

To install the kernel sources with SUSE,

yast -i kernel-source

Ubuntu

To install the kernel sources with Ubuntu,

sudo apt-get install linux-source

See also