首页 > 学院 > 开发设计 > 正文

Raspbian 中国软件源

2019-11-06 08:31:45
字体:
来源:转载
供稿:网友

整理目前最新的树莓派中国大陆地区的软件源。

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

中国科学技术大学Raspbian http://mirrors.ustc.edu.cn/raspbian/raspbian/

阿里云Raspbian http://mirrors.aliyun.com/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 文件,参考如下命令:

1sudonano /etc/apt/sources.list

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

12deb http://mirror.sysu.edu.cn/raspbian/raspbian/ jessie main contrib non-freedeb-src http://mirror.sysu.edu.cn/raspbian/raspbian/ jessie main contrib non-free

wheezy 用以下内容取代:

12deb http://mirror.sysu.edu.cn/raspbian/raspbian/ wheezy main contrib non-freedeb-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 :

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

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表