当前位置: 移动技术网 > 科技>操作系统>Linux > 树莓派--更换中国大陆地区软件源

树莓派--更换中国大陆地区软件源

2018年03月27日  | 移动技术网科技  | 我要评论

需要修改的地方有两处:

sudo nano /etc/apt/sources.list
sudo nano /etc/apt/sources.list.d/raspi.list

配置完成后:

sudo apt-get update
sudo apt-get upgrade

1.修改/etc/apt/sources.list或者直接修改原文件,把原有的配置全部注释掉(使用#注释)。

#deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi
#科大源
deb http://mirrors.ustc.edu.cn/raspbian/raspbian/ jessie main contrib non-free rpi

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

#deb http://archive.raspberrypi.org/debian/ jessie main ui
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspberrypi.org/debian/ jessie main ui
#科大源
deb http://mirrors.ustc.edu.cn/archive.raspberrypi.org/debian/ jessie main ui

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

中国科学技术大学
Raspbian 

阿里云
Raspbian 

清华大学
Raspbian 

华中科技大学
Raspbian 
Arch Linux ARM 

华南农业大学(华南用户)
Raspbian 

大连东软信息学院源(北方用户)
Raspbian 

重庆大学源(中西部用户)
Raspbian 

新加坡国立大学
Raspbian 

牛津大学
Raspbian 

韩国KAIST大学
Raspbian 

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网