分享页面

Ubuntu系统使用脚本一键更换软件源

1.输入wget --version查看是否有安装wegt,有的话会直接显示版本号,如果没有安装输入apt-get install wget执行安装。

img

2.输入apt-get install ca-certificates安装ca-certificates。

img

3.下载脚本,示例是海外机器所以使用海外下载脚本。

海外下载脚本

wget https://raw.githubusercontent.com/oooldking/script/master/superupdate.sh

国内加速下载脚本

wget https://mirror.ghproxy.com/https://raw.githubusercontent.com/oooldking/script/master/superupdate.sh

img

4.输入bash superupdate.sh运行更换软件源。

img

本文导读