armbian 设置国内源 2020-02-26

2020-02-26  本文已影响0人  迷藏_

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
上一篇下一篇

猜你喜欢

热点阅读