msys2 安装 基本配置

page

https://www.msys2.org/

下载

https://mirror.tuna.tsinghua.edu.cn/msys2/distrib/

特色源

├── etc
│   ├── pacman.d
│   │   ├── mirrorlist.mingw32
│   │   ├── mirrorlist.mingw64
│   │   └── mirrorlist.msys
  • mirrorlist.msys
##
## MSYS2 repository mirrorlist
##

## Primary
## msys2.org
Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/$arch
Server = http://mirrors.ustc.edu.cn/msys2/msys/$arch/
Server = http://repo.msys2.org/msys/$arch
Server = http://downloads.sourceforge.net/project/msys2/REPOS/MSYS2/$arch
Server = http://www2.futureware.at/~nickoe/msys2-mirror/msys/$arch/
  • mirrorlist.mingw64
##
## 64-bit Mingw-w64 repository mirrorlist
##

## Primary
## msys2.org
Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/x86_64
Server = http://mirrors.ustc.edu.cn/msys2/mingw/x86_64/
Server = http://repo.msys2.org/mingw/x86_64
Server = http://downloads.sourceforge.net/project/msys2/REPOS/MINGW/x86_64
Server = http://www2.futureware.at/~nickoe/msys2-mirror/x86_64/
Server = http://mirror.bit.edu.cn/msys2/REPOS/
  • mirrorlist.mingw32
##
## 32-bit Mingw-w64 repository mirrorlist
##

## Primary
## msys2.org
Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686
Server = http://mirrors.ustc.edu.cn/msys2/mingw/i686/
Server = http://repo.msys2.org/mingw/i686
Server = http://downloads.sourceforge.net/project/msys2/REPOS/MINGW/i686
Server = http://www2.futureware.at/~nickoe/msys2-mirror/i686/

刷新

pacman -Syu

安装软件

mingw64.exe

pacman -S --noconfirm base
pacman -S --noconfirm base-devel
pacman -S --noconfirm mingw-w64-x86_64-toolchain
pacman -S --noconfirm mingw-w64-x86_64-cmake mingw-w64-x86_64-extra-cmake-modules
pacman -S --noconfirm vim tmux fzy git winpty
pacman -S --noconfirm mingw-w64-x86_64-ag
pacman -S --noconfirm mingw-w64-x86_64-clang
pacman -S --noconfirm mingw-w64-x86_64-llvm
pacman -S --noconfirm mingw-w64-x86_64-perl
pacman -S --noconfirm mingw-w64-x86_64-python
pacman -S --noconfirm mingw-w64-x86_64-python-pip
pacman -S --noconfirm mingw-w64-x86_64-ctags
posted @ 2021-03-03 16:23  fndefbwefsowpvqfx  阅读(144)  评论(0编辑  收藏  举报