树莓派更改更新源

来源:互联网 发布:java web 商城 编辑:程序博客网 时间:2024/06/07 18:04

树莓派默认的源

/etc/apt/sources.list

<span style="font-family:Microsoft YaHei;font-size:14px;">deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free r$# Uncomment line below then 'apt-get update' to enable 'apt-get source'#deb-src http://archive.raspbian.org/raspbian/ wheezy main contrib non-free rpi</span>

更改为国内ustc的:

<span style="font-family:Microsoft YaHei;font-size:14px;">deb http://mirrors.ustc.edu.cn/raspbian/raspbian/ wheezy main non-free contribdeb-src http://mirrors.ustc.edu.cn/raspbian/raspbian/ wheezy main non-free contrib</span>

或者其他国内源

中山大学

Raspbian http://mirror.sysu.edu.cn/raspbian/raspbian/

清华大学

Raspbian http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/

华中科技大学

Raspbian http://mirrors.hustunique.com/raspbian/raspbian/

Arch Linux ARM http://mirrors.hustunique.com/archlinuxarm/

大连东软信息学院源
Raspbian http://mirrors.neusoft.edu.cn/raspbian/raspbian/







0 0
原创粉丝点击