【问题标题】:How to change the mirror of macports如何更改macports的镜像
【发布时间】:2012-01-31 09:03:40
【问题描述】:

我是 OS X 的新手,完全不知道 macports 的工作方式。

我的问题是,如何更改镜像或macports下载portfiles和distfiles的站点。

我正在尝试使用的镜像:http://mirrors.ustc.edu.cn/macports/

我应该更改sources.conf 吗?但是这个镜像没有rsync协议(我不太清楚rsync协议是什么>_

或者我应该配置 macports.conf 吗?

我知道 macports 官方指南,但我不够聪明,无法弄清楚。

谁能帮帮我?

谢谢。

【问题讨论】:

    标签: macos osx-snow-leopard osx-lion


    【解决方案1】:

    根据文档: https://trac.macports.org/wiki/Mirrors

    用于获取 Portfiles 的 URL 设置在 ${prefix}/etc/macports/sources.conf 中

    如果您是 OS X 和/或 MacPorts 的新手,请考虑阅读入门指南:http://guide.macports.org/

    【讨论】:

    • 你如何编辑sources.conf,我不断收到只读模式错误。
    • sudo vim /opt/local/etc/macports/sources.conf
    【解决方案2】:

    用于获取Portfiles的URL设置在${prefix}/etc/macports/sources.conf

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-02-26
      • 1970-01-01
      • 2014-08-10
      • 2022-11-25
      • 2018-10-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多