Raspbian 中国软件源

发布时间:2016-09-12 10:16:15 阅读:971次

转:http://shumeipai.nxez.com/2013/08/31/raspbian-chinese-software-source.html

花了些时间整理了目前最新的树莓派中国大陆地区的软件源,记下来,希望对大家有帮助。

中山大学
Raspbian http://mirror.sysu.edu.cn/raspbian/raspbian/

中国科学技术大学
Raspbian http://mirrors.ustc.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/

重庆大学源(中西部用户)
Raspbian http://mirrors.cqu.edu.cn/Raspbian/raspbian/

新加坡国立大学
Raspbian http://mirror.nus.edu.sg/raspbian/raspbian

牛津大学
Raspbian http://mirror.ox.ac.uk/sites/archive.raspbian.org/archive/raspbian/

韩国KAIST大学
Raspbian http://ftp.kaist.ac.kr/raspbian/raspbian/


使用说明
编辑/etc/apt/sources.list 文件,参考如下命令:
1
sudonano /etc/apt/sources.list

删除原文件所有内容,用以下内容取代:

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

注:网址末尾的raspbian重复两次是必须的。因为Raspbian的仓库中除了APT软件源还包含其他代码。APT软件源不在仓库的根目录,而在raspbian/子目录下。

编辑镜像站后,请使用sudo apt-get update命令,更新软件源列表,同时检查您的编辑是否正确。
如果需要, 你可以执行以下命令将Raspbian public key加入你的 apt-get keyring :

1
wget http://archive.raspbian.org/raspbian.public.key -O - | sudoapt-key add -

2015.11.23 add a update from comments:
现在版本升级了,版本号要更改,把wheezy 改成jessie这样大部分源是在中国,不然像楼上那样升级,大部分源在国外

如有问题,可以QQ搜索群1028468525加入群聊,欢迎一起研究技术

支付宝 微信

有疑问联系站长,请联系QQ:QQ咨询

转载请注明:Raspbian 中国软件源 出自老鄢博客 | 欢迎分享