This is a simple one but I found out that there are people out there that don’t know about it, so here we go.
sudo apt-get install linux-headers-$(uname -r)
This will install kernel headers for your current active kernel on Debian/Ubuntu.
This is a simple one but I found out that there are people out there that don’t know about it, so here we go.
sudo apt-get install linux-headers-$(uname -r)
This will install kernel headers for your current active kernel on Debian/Ubuntu.