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

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!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct