How to install Linux Kernel headers on Debian or Ubuntu
www.garron.me › en › go2linuxDec 08, 2010 · To install the Linux Kernel headers on Ubuntu or Debian Linux run this command to install the sources for your kernel specific version. sudo apt-get install linux-headers-$(uname -r) And this command to install the generic package, and keep your sources up to date. Every time you run. sudo apt-get update && sudo apt-get upgrade Your kernel and kernel headers will upgrade if an upgrade is available.