Kernel headers for latest kernel on Debian 9.9
How do I install kernel headers for my kernel? I have "Latest 64 bit" in my Linode configuration.
root@ln3:/home/jarle# uname -r
5.1.11-x86_64-linode127
root@ln3:/home/jarle# apt search linux-headers-$(uname -r)
Sorting… Done
Full Text Search… Done
root@ln3:/home/jarle# apt search linux-headers-5
Sorting… Done
Full Text Search… Done
1 Reply
jackley
Linode Staff
Hey @dubidub — Linode’s kernels don’t have published headers. If you need kernel headers, your best best is to switch to Debian’s upstream kernel.
The guide below should walk you through doing that:
https://www.linode.com/docs/platform/how-to-change-your-linodes-kernel/
Reply here if you’ve got any questions!