Install Linux-Headers on Jetson Nano failed

Hello

If i try to run this installation command:

nvidia@ubuntu:~$ sudo apt install linux-headers-$(uname -r)
Reading package lists… Done
Building dependency tree
Reading state information… Done

i always get this error:

E: Unable to locate package linux-headers-4.9.337-tegra
E: Couldn’t find any package by glob ‘linux-headers-4.9.337-tegra’
E: Couldn’t find any package by regex ‘linux-headers-4.9.337-tegra’

I found this similar topic:

but was unable to follow it in any way to install a custom kernel. How do i install these specific headers?

Best regards
Felix

Hi,

kernel header files should already be included in /usr/src/, and is there any reason you have to install it separately?