- 国内三大免费源:
- repo只在清华源网站里搜到:git-repo | 镜像站使用帮助 | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror
- repo安装步骤:
- curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo -o repo // repo大小大概44K左右
- chmod +x repo
sudo mv repo /usr/bin - vim
~/.bashrc
- 加入这句 export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo'
- reboot
- repo init --help //查看是否安装成功
- curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo -o repo // repo大小大概44K左右
通过国内源在Ubuntu20.0.4安装repo
qq_254617772025-03-27 15:03