Andres Jaan Tack
Andres Jaan Tack

Reputation: 23014

Instructing Macports to download, but not install, dependencies for a port

I am sitting here in an airport, came up with something that I'd like to try, but I won't have time to sudo port install if macports downloads-compiles-downloads-compiles. If it downloaded everything, however, then I can have it compile on the plane.

How can I cache a port's dependencies but compile and install later?

Upvotes: 3

Views: 285

Answers (1)

kheyse
kheyse

Reputation: 1919

I would use

sudo port fetch \( {packagename} or rdepof:{packagename} \) and not installed

rdepof: recursively lists all dependencies of your package (including the dependencies of the dependencies themselves)

and not installed excludes all packages you have already installed.

Upvotes: 2

Related Questions