![更换树莓派国内镜像源](http://static.liuheng.xin/wp-content/uploads/2019/03/YBAFplmhKAU-M5AAZB95sY9ls709.png)
目前最新的系统Raspbian(2017-08-16及以后的系统)已经基于Debian 9 Stretch,请选择正确的软件源。
更换源后,需要更新本地软件索引:
sudo apt-get update
零、一键换源
直接执行以下两行命令,即可替换将官方默认软件源替换为
中科大镜像源
sudo sed -i 's#://mirrordirector.raspbian.org#s://mirrors.ustc.edu.cn/raspbian#g' /etc/apt/sources.list
sudo sed -i 's#://archive.raspberrypi.o...