BeagleBone Black 显示错误“软件包‘cmake’没有安装候选”

问题描述 投票:0回答:1

当我尝试在 BeagleBone Black 板上安装 cmake 时。我正在使用

Debian Buster IoT Image 2020-04-06

sudo apt-get install cmake

我收到以下错误。欲了解更多详情,这是我的日志:

debian@beaglebone:~$ sudo apt-get install cmake
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package cmake is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'cmake' has no installation candidate
debian@beaglebone:~$ make
make: *** No targets specified and no makefile found.  Stop.

请帮我安装

cmake

cmake makefile embedded-linux beagleboneblack debian-buster
1个回答
0
投票

好吧...所以。

sudo apt update && sudo apt upgrade
将允许您安装 cmake,或者您可以使用 docs.beagleboard.org 和/或 forum.beagleboard.org 中的图像的更新版本,它们都有可用于其板的图像。

还有...

https://forum.beagleboard.org/tag/latest-images 是包含 am335x 支持的 BeagleBone Black 最新图像的链接。一旦您拥有 Bullseye 或 Bookworm 映像,您就可以更新/升级,并相反地使用

apt
安装软件包。

我个人认为,由于 Buster 已经 EOL(生命周期结束),并且不再受到其 .org 和存储库的大力支持,因此如果没有像 @MadScientist 指出的那样进行更新/升级,可能很难准确找到您想要实现的目标.

再次,如果您无法通过

apt
安装您最喜欢的软件包,在这种情况下是 cmake,我建议通过其在线安装方法安装它:https://cmake.org/files/
and here:
https://github.com/Kitware/CMake/releases .

您可能需要弄清楚哪个

cmake
版本可以与 Linux 的 Buster Distros 配合使用,同时仍然能够正确安装它,而这只是在没有
apt
安装变体的情况下。

因此,如果您在线访问 Debian Buster Distro 存储库并查找您的内核和映像,您可以找到所需的确切或大约的版本控制。

© www.soinside.com 2019 - 2024. All rights reserved.