# sudo apt install linux-headers-$(uname -r)  

**URL:** <https://forums.developer.nvidia.com/t/sudo-apt-install-linux-headers-uname-r/82809>\
**Category:** Jetson Nano\
**Created:** [October 5, 2019, 8:40pm UTC](https://forums.developer.nvidia.com/t/sudo-apt-install-linux-headers-uname-r/82809 "2019-10-05T20:40:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vince\_nusantao](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@vince\_nusantao](https://forums.developer.nvidia.com/u/vince_nusantao)\
**Post date:** [October 5, 2019, 8:40pm UTC](https://forums.developer.nvidia.com/t/sudo-apt-install-linux-headers-uname-r/82809/1 "2019-10-05T20:40:11Z")

</div>

Where are the linux-headers for the Tegra?

I’m trying to build a driver for the EDImax EW-7811UAC/DAC using the following instructions:

> **[How to install EW-7811 AC600 & EW-7822UAC in Linux with kernel higher...](https://edimax.freshdesk.com/support/solutions/articles/14000041287-how-to-install-ew-7811-ac600-ew-7822uac-in-linux-with-kernel-higher-than-v4-1)**
>
> This Guide only applies to EW-7811 AC600 Series (EW-7811DAC, EW-7811UAC, and EW-7811UTC) and EW-7822UAC AC1200 USB 3.0 adapters.  If you have adapters other than those mentioned, you need to visit our website for the proper Linux driver info...

I get the following error:

nusantao@Nano:~$ sudo apt install linux-headers-$(uname -r)  
Reading package lists… Done  
Building dependency tree  
Reading state information… Done  
E: Unable to locate package linux-headers-4.9.140-tegra  
E: Couldn’t find any package by glob ‘linux-headers-4.9.140-tegra’  
E: Couldn’t find any package by regex ‘linux-headers-4.9.140-tegra’

I just downloaded and installed the latest Jetpack which you recommended to get the EDImax wireless working.

Kind Regards,

Vince

---

<div class="post-metadata">

**Author:** ![linuxdev](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/linuxdev/32/10243_2.png) [@linuxdev](https://forums.developer.nvidia.com/u/linuxdev)\
**Post date:** [October 6, 2019, 5:50pm UTC](https://forums.developer.nvidia.com/t/sudo-apt-install-linux-headers-uname-r/82809/2 "2019-10-06T17:50:41Z")

</div>

See:  
[url][R32.1 TX2 how can I build extra module in the tegra device - Jetson TX2 - NVIDIA Developer Forums](https://devtalk.nvidia.com/default/topic/1050013/jetson-tx2/r32-1-tx2-how-can-i-build-extra-module-in-the-tegra-device/post/5332292/#5332292%5B/url%5D)

---

<div class="post-metadata">

**Author:** ![nisanur130](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@nisanur130](https://forums.developer.nvidia.com/u/nisanur130)\
**Post date:** [February 18, 2021, 12:45pm UTC](https://forums.developer.nvidia.com/t/sudo-apt-install-linux-headers-uname-r/82809/3 "2021-02-18T12:45:48Z")

</div>

I tried this link’s solution to solve same problem but it does not work. Have you got any idea for the same issue?

---

<div class="post-metadata">

**Author:** ![linuxdev](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/linuxdev/32/10243_2.png) [@linuxdev](https://forums.developer.nvidia.com/u/linuxdev)\
**Post date:** [February 18, 2021, 6:57pm UTC](https://forums.developer.nvidia.com/t/sudo-apt-install-linux-headers-uname-r/82809/4 "2021-02-18T18:57:47Z")

</div>

I’m not positive, perhaps NVIDIA could answer this: Do the newer release packages and repo for Jetsons have available a separate package for headers? If so, then it would be a simple matter of the `apt-get` install when the correct repo is visible. If not, then you could perhaps place the kernel source at the correct location (which has headers as well as source) and it would “just work”, although you wouldn’t have an ability to update via `apt`.

---

<div class="post-metadata">

**Author:** ![nadeemm](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nadeemm/32/367020_2.png) [@nadeemm](https://forums.developer.nvidia.com/u/nadeemm)\
**Post date:** [October 14, 2021, 8:49pm UTC](https://forums.developer.nvidia.com/t/sudo-apt-install-linux-headers-uname-r/82809/5 "2021-10-14T20:49:51Z")

</div>

Closed on October 14, 2021, 8:49pm UTC


