armbian 设置国内源 2020-02-26

arm 适用,很多教程不全, 或者包缺失
先科普一下源格式
deb http://mirrors.aliyun.com/ubuntu-ports/ xenial main
源类型 地址 系统版本 包范围

src源 没看源码需求可以注释以加快速度 一般换源直接更换地址即可 系统版本要和自己系统相对应
vim /etc/apt/sources.list

deb http://mirrors.aliyun.com/ubuntu-ports/ xenial main
deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial main
 
deb http://mirrors.aliyun.com/ubuntu-ports/ xenial-updates main
deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial-updates main
 
deb http://mirrors.aliyun.com/ubuntu-ports/ xenial universe
deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial universe
deb http://mirrors.aliyun.com/ubuntu-ports/ xenial-updates universe
deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial-updates universe
 
deb http://mirrors.aliyun.com/ubuntu-ports/ xenial-security main
deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial-security main
deb http://mirrors.aliyun.com/ubuntu-ports/ xenial-security universe
deb-src http://mirrors.aliyun.com/ubuntu-ports/ xenial-security universe

你可能感兴趣的:(armbian 设置国内源 2020-02-26)