小鱼
小鱼
发布于 2019-08-29 / 2582 阅读 / 0 评论 / 0 点赞

树莓派4 Raspbian 中国软件源(buster,2019.7月后)

1、修改软件源方法

需要修改/etc/apt/sources.list和 /etc/apt/sources.list.d/raspi.list (修改前最好备份一下)

备份命令:

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
sudo cp /etc/apt/sources.list.d/raspi.list /etc/apt/sources.list.d/raspi.list.bak

修改/etc/apt/sources.list为

deb http://mirrors.aliyun.com/raspbian/raspbian/ buster main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi

修改/etc/apt/sources.list.d/raspi.list为

deb http://mirrors.aliyun.com/raspbian/raspbian/ buster main
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspberrypi.org/debian/ buster main

执行更新

#更新软件源列表
sudo apt-get update
#更新软件版本
sudo apt-get upgrade
sudo apt-get dist-upgrade
#更新系统内核
sudo rpi-update

2、软件源列表

中国科学技术大学

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.sysu.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/

评论