gpt4 book ai didi

raspberry-pi - 如何在树莓派上安装 brew?

转载 作者:行者123 更新时间:2023-12-01 23:16:04 27 4
gpt4 key购买 nike

这些是我的树莓派操作系统、内核版本和架构配置

Operating System: Raspbian GNU/Linux 10 (buster)
Kernel: Linux 5.10.52-v7l+
Architecture: arm

当我尝试运行他们的脚本时(https://brew.sh/):

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

我明白了

Homebrew on Linux is only supported on Intel processors!

而且,每当我尝试运行 brew 命令时,我都会得到:

-bash: brew: command not found

最佳答案

Linux 的 Homebrew 称为 Linuxbrew。您需要的安装命令是:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"

请查看此链接以获取更多信息:https://github.com/Linuxbrew/brew

另请注意,虽然 Linuxbrew 可以在 Raspberry Pi(32 位 ARM)上运行,但没有可用的二进制包。

关于raspberry-pi - 如何在树莓派上安装 brew?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68840564/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com