How to change the mirror of macports

你说的曾经没有我的故事 提交于 2019-12-10 13:21:53

问题


I'm a newbie to OS X, and totally confused about the way macports works.

My question is, how to change the mirror or the sites where macports download the portfiles and distfiles.

The mirror I'm trying to use: http://mirrors.ustc.edu.cn/macports/

Should I change the sources.conf? But this mirror has no rsync protocol(I'm not really clear about what rsync protocol is >_<).

Or should I configure the macports.conf?

I know about the macports offical guide, but I'm not smart enough to figure this out.

Can anybody help me?

Thanks.


回答1:


As per the documentation: https://trac.macports.org/wiki/Mirrors

The URL used to get Portfiles is set in ${prefix}/etc/macports/sources.conf

If you are new to OS X and/or MacPorts, please consider reading the introductory guide: http://guide.macports.org/




回答2:


The URL used to get Portfiles is set in ${prefix}/etc/macports/sources.conf

https://trac.macports.org/wiki/Mirrors



来源:https://stackoverflow.com/questions/8693375/how-to-change-the-mirror-of-macports

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