Ubuntu系统入门教程-利用superupdate脚本换源
纠错,疑问,交流: 请进入讨论区或 请点击进入页面,扫码加入微信群或Q群进行交流
获取最新文章: 扫一扫加入“创客智造”公众号
Ubuntu系统入门教程-利用superupdate脚本换源
说明:
- 介绍如何利用superupdate脚本进行更换Linux系统的APT源
- 再ubuntu下测试, 支持到最新版本ubuntu 22.04
镜像列表:
#中科大
bash superupdate.sh cn
#网易163
bash superupdate.sh 163
#阿里云
bash superupdate.sh aliyun
#亚马逊CloudFront
bash superupdate.sh aws
步骤:
- 安装依赖
sudo apt install -y curl wget
- 执行换源命令, 默认使用阿里云
rm superupdate.sh ; wget https://gitee.com/ncnynl/linux-scripts/raw/master/superupdate.sh ; sudo chmod +x ./superupdate.sh; sudo ./superupdate.sh aliyun
- 如果需要其他APT源,可以更改命令最后的对应的
- 恢复官方的源
rm superupdate.sh ; wget https://gitee.com/ncnynl/linux-scripts/raw/master/superupdate.sh ; sudo chmod +x ./superupdate.sh; sudo ./superupdate.sh restore
纠错,疑问,交流: 请进入讨论区或 请点击进入页面,扫码加入微信群或Q群进行交流
获取最新文章: 扫一扫加入“创客智造”公众号


















