树莓派3B更换阿里云的软件源

我的树莓派使用的jessie系统:

1、打开文件

sudo vim /etc/apt/sources.list 

2、编辑文件

将原来的deb.......和deb-src......两行注释掉

或者直接在这两行修改

deb http://mirrors.aliyun.com/raspbian/raspbian/ jessie main contrib non-free rpi

deb-src http://mirrors.aliyun.com/raspbian/raspbian/ jessie main contrib non-free rpi

区别就在于域名

3、编辑后保存并退出文件,执行

sudo apt-get update

sudo apt-get upgrade -y

4、完成

你可能感兴趣的:(树莓派)