首页 > 其他 > 详细

修改树莓派的升级源 为国内地址方法

时间:2018-02-11 13:03:10      阅读:267      评论:0      收藏:0      [点我收藏+]

修改树莓派的升级源为国内地址方法,要修改两个文件:

1. /etc/apt/sources.list

deb http://mirror.sysu.edu.cn/raspbian/ wheezy main contrib non-free rpi

deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi

# Uncomment line below then ‘apt-get update‘ to enable ‘apt-get source‘

#deb-src http://archive.raspbian.org/raspbian/ stretch main contrib non-free rpi

 

2. /etc/apt/sources.list.d/raspi.list

deb http://mirror.tuna.tsinghua.edu.cn/raspberrypi/ stretch main ui

deb-src http://mirror.tuna.tsinghua.edu.cn/raspberrypi/ stretch main ui

# Uncomment line below then ‘apt-get update‘ to enable ‘apt-get source‘

#deb-src http://archive.raspberrypi.org/debian/ stretch main ui

 

参考镜像列表 http://www.raspbian.org/RaspbianMirrors

修改树莓派的升级源 为国内地址方法

原文:https://www.cnblogs.com/orange-gz/p/8440951.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!