1.輸入wget --version查看是否有安裝wegt,有的話會(huì)直接顯示版本號(hào),如果沒(méi)有安裝輸入apt-get install wget執(zhí)行安裝。
2.輸入apt-get install ca-certificates安裝ca-certificates。
3.下載腳本,示例是海外機(jī)器所以使用海外下載腳本。
海外下載腳本
wget https://raw.githubusercontent.com/oooldking/script/master/superupdate.sh
國(guó)內(nèi)加速下載腳本
wget https://mirror.ghproxy.com/https://raw.githubusercontent.com/oooldking/script/master/superupdate.sh
4.輸入bash superupdate.sh運(yùn)行更換軟件源。