树莓派raspbian OS 64位系统下载和更换源

发布时间:2022-07-02 发布网站:脚本宝典
脚本宝典收集整理的这篇文章主要介绍了树莓派raspbian OS 64位系统下载和更换源脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。

1、下载64位的raspbian

下载安装时注意你的派是否支持64位

https://downloads.raspberrypi.org/raspios_arm64/images/

 

2、换成国内(亲测是可以支持64位的源):

把/etc/apt/sources.list所有内容替换为:

deb http://mirrors.tuna.tsinghua.edu.cn/Debian buster main contrib non-free
deb http://mirrors.tuna.tsinghua.edu.cn/debian-securITy/ buster/updates main contrib non-free
deb http://mirrors.tuna.tsinghua.edu.cn/debian buster-updates main contrib non-free
# Uncomment deb-src lines below then 'apt-get update' to enable 'apt-get source'
#deb-src http://mirrors.tuna.tsinghua.edu.cn/debian buster main contrib non-free
#deb-src http://mirrors.tuna.tsinghua.edu.cn/debian-security/ buster/updates main contrib non-free
#deb-src http://mirrors.tuna.tsinghua.edu.cn/debian buster-updates main contrib non-free

然后在把/etc/apt/sources.list.d/raspi.list所有内容替换为:

deb http://mirrors.tuna.tsinghua.edu.cn/raspberrypi/ buster main ui
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://mirrors.tuna.tsinghua.edu.cn/raspberrypi/ buster main ui

4.更新

sudo apt-get update
sudo apt-get upgrade

 

脚本宝典总结

以上是脚本宝典为你收集整理的树莓派raspbian OS 64位系统下载和更换源全部内容,希望文章能够帮你解决树莓派raspbian OS 64位系统下载和更换源所遇到的问题。

如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。