[英]What is the meaning of subsections in `Dependencies` section when using `brew info package`?
I want to know what are dependencies of some package in brew.我想知道 brew 中一些 package 的依赖关系是什么。 That's why I used brew info package
.这就是我使用brew info package
的原因。 Section Dependencies contains two subsections Build and Required . Section Dependencies包含两个小节Build和Required 。 What do these sections mean?这些部分是什么意思?
PS Is there a way to install package with all its dependencies in brew? PS 有没有办法在 brew 中安装 package 及其所有依赖项?
There are two ways to install packages using Homebrew:使用 Homebrew 安装软件包有两种方法:
Required dependencies are always needed regardless of how the package is installed.无论 package 是如何安装的,都始终需要必需的依赖项。 Build dependencies are only needed if you are installing the package from source.仅当您从源代码安装 package 时,才需要构建依赖项。
By default, Homebrew installs pre-built binaries.默认情况下,Homebrew 安装预构建的二进制文件。 (See FAQ ¶ Why do you compile everything? and ¶ Why should I install Homebrew in the default location? ) (请参阅常见问题解答¶ 为什么要编译所有内容?和¶ 为什么我应该将 Homebrew 安装在默认位置? )
Is there a way to install package with all its dependencies in brew?有没有办法在 brew 中安装 package 及其所有依赖项?
brew install package
will automatically install dependencies (in addition to installing the package itself). brew install package
将自动安装依赖项(除了安装 package 本身)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.