这些是我的树莓派操作系统、内核版本和架构配置
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/