繁体   English   中英

在Raspberry Pi上安装linux-headers-4.4.10

[英]Installing linux-headers-4.4.10 on Raspberry Pi

我试图在我的Raspberry Pi上安装linux-headers软件包,但是没有找到任何成功。

我努力了:

$ sudo apt-get install linux-headers$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-4.4.10
E: Couldn't find any package by regex 'linux-headers-4.4.10'

和:

$ sudo apt-cache search linux-headers
linux-headers-3.10-3-all - All header files for Linux 3.10 (meta-package)
linux-headers-3.10-3-all-armhf - All header files for Linux 3.10 (meta-package)
linux-headers-3.10-3-common - Common header files for Linux 3.10-3
linux-headers-3.10-3-rpi - Header files for Linux 3.10-3-rpi
linux-headers-3.12-1-all - All header files for Linux 3.12 (meta-package)
linux-headers-3.12-1-all-armhf - All header files for Linux 3.12 (meta-package)
linux-headers-3.12-1-common - Common header files for Linux 3.12-1
linux-headers-3.12-1-rpi - Header files for Linux 3.12-1-rpi
linux-headers-3.16.0-4-all - All header files for Linux 3.16 (meta-package)
linux-headers-3.16.0-4-all-armhf - All header files for Linux 3.16 (meta-package)
linux-headers-3.16.0-4-common - Common header files for Linux 3.16.0-4
linux-headers-3.16.0-4-rpi - Header files for Linux 3.16.0-4-rpi
linux-headers-3.18.0-trunk-all - All header files for Linux 3.18 (meta-package)
linux-headers-3.18.0-trunk-all-armhf - All header files for Linux 3.18 (meta-package)
linux-headers-3.18.0-trunk-common - Common header files for Linux 3.18.0-trunk
linux-headers-3.18.0-trunk-rpi - Header files for Linux 3.18.0-trunk-rpi
linux-headers-3.18.0-trunk-rpi2 - Header files for Linux 3.18.0-trunk-rpi2
linux-headers-3.6-trunk-all - All header files for Linux 3.6 (meta-package)
linux-headers-3.6-trunk-all-armhf - All header files for Linux 3.6 (meta-package)
linux-headers-3.6-trunk-common - Common header files for Linux 3.6-trunk
linux-headers-3.6-trunk-rpi - Header files for Linux 3.6-trunk-rpi
linux-headers-4.4.0-1-all - All header files for Linux 4.4 (meta-package)
linux-headers-4.4.0-1-all-armhf - All header files for Linux 4.4 (meta-package)
linux-headers-4.4.0-1-common - Common header files for Linux 4.4.0-1
linux-headers-4.4.0-1-rpi - Header files for Linux 4.4.0-1-rpi
linux-headers-4.4.0-1-rpi2 - Header files for Linux 4.4.0-1-rpi2
linux-headers-rpi - Header files for Linux rpi configuration (meta-package)
linux-headers-rpi-rpfv - This metapackage will pull in the headers for the raspbian kernel for the
linux-headers-rpi2-rpfv - This metapackage will pull in the headers for the raspbian kernel for the

仅仅是没有有效的linux-headers软件包可用吗? 我应该尝试安装linux-headers-4.4.0-1软件包之一吗?

由于您没有提到哪种操作系统,因此您在raspi上运行但使用apt-get ,因此我假设您正在运行某些版本的raspbian。 您是否尝试过搜索可用的标头apt-cache search linux-headers 另外,完整的更新apt-get update && apt-get upgrade可能很有用。

顺便说一句,我认为您在这里可能是错的,因为有一个完全致力于reaspberry pi的堆栈社区。 查看https://raspberrypi.stackexchange.com/ ,确定他们可以为您提供更好的帮助。 看起来他们也已经讨论过这个问题。 一些有用的链接:

https://raspberrypi.stackexchange.com/questions/37589/where-do-i-find-the-linux-headers-for-an-image

https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=57401

希望我能帮到你。 快乐编码:3

您可以通过以下方式获得Raspbian标头:

sudo apt-get install raspberrypi-kernel-headers

安装此软件包后,您将在以下位置找到标头: / lib / modules //

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM