换源/Gentoo · Portage
Gentoo · Portage 镜像源
Gentoo Portage tree / distfiles 国内镜像,emerge 同步与下载提速。
可用镜像源(11)
| 源 | 地址 | 说明 |
|---|---|---|
| 清华 portage | https://mirrors.tuna.tsinghua.edu.cn/gentoo-portage/ | — |
| 清华 distfiles | https://mirrors.tuna.tsinghua.edu.cn/gentoo/distfiles/ | — |
| 官方 | https://distfiles.gentoo.org/ | 还原时使用 |
| 清华 TUNA | https://mirrors.tuna.tsinghua.edu.cn/gentoo/ | 教育网 |
| 中科大 USTC | https://mirrors.ustc.edu.cn/gentoo/ | 教育网 |
| 兰州大学 LZU | https://mirror.lzu.edu.cn/gentoo/ | 教育网 |
| 华中科技大学 HUST | https://mirrors.hust.edu.cn/gentoo/ | 教育网 |
| 阿里云 Aliyun | https://mirrors.aliyun.com/gentoo/ | 公网 |
| 腾讯云 Tencent | https://mirrors.cloud.tencent.com/gentoo/ | 公网 |
| 华为云 Huawei | https://repo.huaweicloud.com/gentoo/ | 公网 |
| 网易 163 | https://mirrors.163.com/gentoo/ | 公网 |
换源方法
/etc/portage/repos.conf/gentoo.conf
[gentoo]
location = /var/db/repos/gentoo
sync-type = rsync
sync-uri = rsync://mirrors.tuna.tsinghua.edu.cn/gentoo-portagedistfiles(make.conf)
GENTOO_MIRRORS="https://mirrors.tuna.tsinghua.edu.cn/gentoo/distfiles/"使用提示
- ·换源前备份原配置(`/etc/apt/sources.list`、`*.repo` 等),出问题可回滚。
- ·保留官方 security 源,避免镜像同步延迟导致安全补丁晚到。
- ·发行版版本代号(noble/bookworm 等)要与镜像目录一致,别混用。
- ·企业内网可能强制 DNS / 代理,换源后仍慢先排查网络出口。