CTAN 镜像使用帮助

优质
小牛编辑
121浏览
2023-12-01

CTAN (The Comprehensive TeX Archive Network) 镜像源可以使用 TeX Live 管理器 tlmgr 更改。

在命令行中执行

tlmgr option repository https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/tlnet

即可永久更改镜像源。

如果只需要临时切换,可以用如下命令:

tlmgr update --all --repository https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/tlnet

其中的 update --all 指令可根据需要修改。