下载 MacPorts 依赖项而不安装
默认的 MacPorts 安装会下载每个依赖项,构建并安装它,然后下载、构建并安装下一个依赖项,依此类推。这意味着在整个安装过程中需要持续的网络连接。在我的配置中,持续的网络连接是不可行的。这意味着安装大依赖包可能需要很长时间。
如何在开始时(连接到网络时)下载指定 MacPorts 包的所有依赖项,然后构建并安装每个依赖项(无需网络连接)?
The default MacPorts installation downloads each dependency, builds and installs it, then downloads, builds and installs the next dependency, and so on. This means that a constant network connection is required throughout the installation. In my configuration, a constant network connection is not feasible. This means that installation of a large-dependency package can take a very long time.
How do I download all dependencies for a specified MacPorts package at the beginning (while connected to the network) and then build and install each dependency (no network connection required)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
连接到网络时,使用:
然后,无需网络连接,使用:
rdepof:是所有包依赖项的递归列表。 clean 命令会删除包或其依赖项的任何先前版本。
While connected to the network, use:
Then, with no network connection required, use:
rdepof: is a recursive list of all of the package's dependencies. The clean command removes any previous builds of the package or its dependencies.
使用
端口获取
。Use
port fetch <packagename>
.