http://ppa.launchpad.net 太慢?試下這個

南城以南發表於2019-09-01

最近換了新電腦 但是家裡網不好 裝PHP擴充套件時總是提示安裝失敗,網路錯誤。而且絕大部分是發生在
http://ppa.launchpad.net這個網址。解決方案:

sudo apt-get install axel
sudo axel -o /usr/bin/apt-fast http://www.mattparnell.com/linux/apt-fast/apt-fast.sh
sudo chmod +x /usr/bin/apt-fast

之前的apt 直接換成 apt-fast 即可。
sudo apt install xxx
轉換執行 sudo apt-fast install xxx.

相關文章