# Install Linux-Headers on Jetson Nano failed

**URL:** <https://forums.developer.nvidia.com/t/install-linux-headers-on-jetson-nano-failed/265546>\
**Category:** Jetson Nano\
**Tags:** kernel\
**Created:** [September 6, 2023, 9:17am UTC](https://forums.developer.nvidia.com/t/install-linux-headers-on-jetson-nano-failed/265546 "2023-09-06T09:17:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jetn\_Felix](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Jetn\_Felix](https://forums.developer.nvidia.com/u/Jetn_Felix)\
**Post date:** [September 6, 2023, 9:17am UTC](https://forums.developer.nvidia.com/t/install-linux-headers-on-jetson-nano-failed/265546/1 "2023-09-06T09:17:46Z")

</div>

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:

> [@Unable to locate package linux-headers-4.9.253-tegra](https://forums.developer.nvidia.com/t/unable-to-locate-package-linux-headers-4-9-253-tegra/213532):
>
> Hi, I have a Jetson Nano production module with a Auvidea JNX30 Carrier Board. I have set up the Jetson Nano with flash.sh script. Everything works fine until I want to install a driver for a 10Gbit/s network card. The following error occurred: dpkg-query: no packages found matching linux-headers-4.9.253-tegra Please install the necessary packages linux-headers-4.9.253-tegra. Example: sudo apt-get install linux-headers-4.9.253-tegra. Additionally it is still not possible to install the missin…

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

Best regards  
Felix

---

<div class="post-metadata">

**Author:** ![DaveYYY](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/daveyyy/32/233244_2.png) [@DaveYYY](https://forums.developer.nvidia.com/u/DaveYYY)\
**Post date:** [September 7, 2023, 1:25am UTC](https://forums.developer.nvidia.com/t/install-linux-headers-on-jetson-nano-failed/265546/3 "2023-09-07T01:25:34Z")

</div>

Hi,

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

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [September 27, 2023, 3:33am UTC](https://forums.developer.nvidia.com/t/install-linux-headers-on-jetson-nano-failed/265546/5 "2023-09-27T03:33:39Z")

</div>

Closed on September 27, 2023, 3:33am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
