树莓派修改软件源

中国国内推荐阿里云的开源镜像服务,地址为http://mirrors.aliyun.com/

vi /etc/apt/sources.list

将默认的raspbian.org源注释(#)掉,加入阿里云的raspbian源

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

更新系统

apt-get update&&apt-get upgrade -y
发布于