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

心已入冬 提交于 2019-12-10 19:37:30

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/13333298/instructing-macports-to-download-but-not-install-dependencies-for-a-port

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!