【树莓派】更新软件源和系统源

版权声明:本文为博主原创文章,转载请注明出处。 https://www.cnblogs.com/YaoYing/p/12105742.html

更新软件源和系统源

修改软件源文件

sudo vim /etc/apt/sources.list

#注释掉旧源

#deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi

再添加新源

deb http://mirrors.ustc.edu.cn/raspbian/raspbian/ buster main contrib non-free rpi

修改系统源文件

sudo vim /etc/apt/sources.list.d/raspi.list

#注释掉旧源

#deb http://archive.raspberrypi.org/debian/ buster main

再添加新源

deb http://mirrors.ustc.edu.cn/archive.raspberrypi.org/debian/ buster main

更新软件源

sudo apt-get update

更新系统源

sudo apt-get upgrade

其它软件源:

中国科学技术大学
http://mirrors.ustc.edu.cn/raspbian/raspbian/

阿里云
http://mirrors.aliyun.com/raspbian/raspbian/

清华大学
http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/

华中科技大学
http://mirrors.hustunique.com/raspbian/raspbian/

华南农业大学(华南用户)
http://mirrors.scau.edu.cn/raspbian/

大连东软信息学院源(北方用户)
http://mirrors.neusoft.edu.cn/raspbian/raspbian/

重庆大学源(中西部用户)
http://mirrors.cqu.edu.cn/Raspbian/raspbian/

新加坡国立大学
http://mirror.nus.edu.sg/raspbian/raspbian/

牛津大学
http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/

韩国KAIST大学
http://ftp.kaist.ac.kr/raspbian/raspbian/

更新日期20191227
如有错误之处,请评论或者私信指出,非常感谢!

posted @ 2019-12-27 09:51  妖影8023  阅读(969)  评论(0编辑  收藏  举报