head-img Force's Blog

树莓派4B切换国内源(清华大学源)

树莓派

修改/etc/apt/sources.list,去掉自带的源,添加如下源:

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

修改:/etc/apt/sources.list.d/raspi.list,去掉自带的源,添加如下源:

deb http://mirrors.tuna.tsinghua.edu.cn/raspberrypi/ buster main ui
deb-src http://mirrors.tuna.tsinghua.edu.cn/raspberrypi/ buster main ui

FINAL

sudo apt-get update && apt-get upgrade
点我评论
打赏本文
二维码


135

文章

14

标签

 访客统计  Update-0927-16:05

 网站信息