Ubuntu 系統是最受歡迎的 Linux 發行版之一這裡介紹一種在命令行下自動換最快源的方法。
sudo apt install python3-pip python3-setuptools python3-wheel
pip3 install apt-smart
這樣就安裝好了自動換源的 python 腳本 apt-smart,該腳本的使用方法很簡單:
要列出最快的源:
apt-smart -l
要應用最快的源:
apt-smart -a
Ubuntu 系統是最受歡迎的 Linux 發行版之一這裡介紹一種在命令行下自動換最快源的方法。
sudo apt install python3-pip python3-setuptools python3-wheel
pip3 install apt-smart
這樣就安裝好了自動換源的 python 腳本 apt-smart,該腳本的使用方法很簡單:
要列出最快的源:
apt-smart -l
要應用最快的源:
apt-smart -a