mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-26 05:02:48 +00:00
作业没抄好.. msys2的帮助文件语法改成markdown
This commit is contained in:
parent
5c7cb0d826
commit
5fa438b49a
|
|
@ -17,21 +17,30 @@ MSYS2 镜像使用帮助
|
|||
安装
|
||||
--------------
|
||||
|
||||
请访问该镜像目录下的 ''distrib/'' 目录([[http://mirrors.tuna.tsinghua.edu.cn/msys2/distrib/x86_64/|x86_64]]、[[http://mirrors.tuna.tsinghua.edu.cn/msys2/distrib/i686/|i686]]),找到名为 ''msys2-<架构>-<日期>.exe'' 的文件(如 ''msys2-x86_64-20141113.exe''),下载安装即可。
|
||||
请访问该镜像目录下的 `distrib/` 目录([x86_64](http://mirrors.tuna.tsinghua.edu.cn/msys2/distrib/x86_64)、[i686](http://mirrors.tuna.tsinghua.edu.cn/msys2/distrib/i686/)),找到名为 `msys2-<架构>-<日期>.exe` 的文件(如 `msys2-x86_64-20141113.exe`),下载安装即可。
|
||||
|
||||
pacman 的配置
|
||||
-------------
|
||||
|
||||
编辑 ''/etc/pacman.d/mirrorlist.mingw32'' ,在文件开头添加:
|
||||
Server = http://mirrors.tuna.tsinghua.edu.cn/msys2/REPOS/MINGW/i686
|
||||
编辑 `/etc/pacman.d/mirrorlist.mingw32` ,在文件开头添加:
|
||||
|
||||
编辑 ''/etc/pacman.d/mirrorlist.mingw64'' ,在文件开头添加:
|
||||
Server = http://mirrors.tuna.tsinghua.edu.cn/msys2/REPOS/MINGW/x86_64
|
||||
```
|
||||
Server = http://mirrors.tuna.tsinghua.edu.cn/msys2/REPOS/MINGW/i686
|
||||
```
|
||||
|
||||
编辑 ''/etc/pacman.d/mirrorlist.msys'' ,在文件开头添加:
|
||||
Server = http://mirrors.tuna.tsinghua.edu.cn/msys2/REPOS/MSYS2/$arch
|
||||
编辑 `/etc/pacman.d/mirrorlist.mingw64` ,在文件开头添加:
|
||||
|
||||
然后执行 ''pacman -Sy'' 刷新软件包数据即可。
|
||||
```
|
||||
Server = http://mirrors.tuna.tsinghua.edu.cn/msys2/REPOS/MINGW/x86_64
|
||||
```
|
||||
|
||||
编辑 `/etc/pacman.d/mirrorlist.msys` ,在文件开头添加:
|
||||
|
||||
```
|
||||
Server = http://mirrors.tuna.tsinghua.edu.cn/msys2/REPOS/MSYS2/$arch
|
||||
```
|
||||
|
||||
然后执行 `pacman -Sy` 刷新软件包数据即可。
|
||||
|
||||
|
||||
注: 本Help参考自[USTC镜像](https://lug.ustc.edu.cn/wiki/mirrors/help/msys2)
|
||||
|
|
|
|||
Loading…
Reference in New Issue