Linux 上的 Homebrew - brew install 没有看到现有的包

Homebrew on Linux - brew install not seeing existing packages

我在我的系统上使用 Home Brew 以允许用户安装一些软件包;有些是在系统级别安装的(例如 build-essential),但是当我 运行 配方 brew 无法看到它们并下载它们时。这是预期的行为还是我可以做些什么来解决这个问题?

这是预期的行为。 Linux 上的 Homebrew,即 Linuxbrew,使用自己的库。

Homebrew does not use any libraries provided by your host system, except glibc and gcc if they are new enough. Homebrew can install its own current versions of glibc and gcc for older distributions of Linux.

参考资料