Installing Build and Kernel Headers for your Linux distribution is very easy using the apt-get tool available in Debian based systems. Ubuntu and it's variants being derived from Debian, can also have the Linux Build and Kernel headers installed using the apt-get tool. Just use the following command to install the build and header files for Ubuntu or Debian Linux: The uname -r in the above command