Arch Linux How to Install Kernel Headers
There are many different reasons that you might want to install kernel headers on an Arch Linux system. Fortunately it is extremely easy to do. Just because you are doing something with the kernel doesn’t mean that this operation necessarily has to be difficult.
To install kernel headers on Arch just run the following:
pacman -S linux-headers
You may also need to reboot depending on why you were installing the kernel headers.
You can actually install a specific version of the kernel headers like this:
pacman -S linux-armv7-headers-3.16.1-1
This comes in handy when you don’t just want whatever the latest version is.