简体   繁体   English

使用`brew info package`时`Dependencies`部分的子部分是什么意思?

[英]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包含两个小节BuildRequired 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 安装软件包有两种方法:

  1. Using pre-built binaries (if they are available for your macOS version)使用预构建的二进制文件(如果它们适用于您的 macOS 版本)
  2. Building from source从源头构建

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.

相关问题 我是否必须在包的requires部分中指定间接依赖关系? - Do I have to specify the indirect dependencies in the requires section of a package? NuGet - 使用“每次构建后创建新 NuGet 包”包时在 .nuspec 文件中添加组依赖项 - NuGet - adding group dependencies in .nuspec file when using the “Create New NuGet Package after each build” package 使用 Gradle(签名)依赖项验证时更新依赖项的步骤是什么? - What are the steps to update dependencies when using Gradle (Signing) Dependency Verification? 当使用与我的 nvidia 集群不同的 cudatoolkit 时,如何修复 package 依赖项? - How do I fix package dependencies when using a different cudatoolkit than my nvidia cluster is using? 使用Gradle打包WAR中的依赖关系,同时将临时依赖关系保留在EAR中 - Using Gradle to package dependencies in a WAR, while leaving transient dependencies in the EAR 安装rpm软件包时自动安装依赖项 - Auto install dependencies when installing rpm package OpenWRT - 重新编译时打包缺少依赖项 - OpenWRT - package missing dependencies when recompiling 使用标签获取Go软件包依赖关系 - Fetching Go package dependencies using tags package.json 依赖项中的“下一步”到底是什么意思? - What exactly does "next" mean in package.json dependencies? Swift Package 清单 - 库目标和目标依赖项之间有什么区别? - Swift Package Manifest - What is the difference between library targets and target dependencies?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM