Downloading MacPorts dependencies without installing

前端 未结 2 940
醉话见心
醉话见心 2021-01-02 08:41

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 c

相关标签:
2条回答
  • 2021-01-02 09:06

    Use port fetch <packagename>.

    0 讨论(0)
  • 2021-01-02 09:23

    While connected to the network, use:

    port fetch rdepof:<packagename> <packagename>
    

    Then, with no network connection required, use:

    port clean rdepof:<packagename> <packagename>
    port install <packagename>
    

    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.

    0 讨论(0)
提交回复
热议问题