码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2018-02-11 14:28:00      阅读:1560      评论:0      收藏:0      [点我收藏+]

标签:line   lan   etc   sources   deb   tar   树莓派   tle   free   

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

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

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

标签:line   lan   etc   sources   deb   tar   树莓派   tle   free   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!