How do I install kernel header files? - Ask Ubuntu
https://askubuntu.com/questions/7570904.11.2011 · Active Oldest Votes 130 You should be able to install the kernel header files for the currently running kernel by running the following in a terminal: sudo apt-get install linux-headers-$ (uname -r) In general, the kernel header packages are named linux-header-* where "*" indicates the version & variant (generic, server, etc.). Share