树莓派Ubuntu server 20.04导入阿里源

2020年08月11日 89点热度 2人点赞 1条评论

https://developer.aliyun.com/mirror/ubuntu-ports?spm=a2c6h.13651102.0.0.3e221b11QCzsvT

这是阿里云Ubuntu arm平台镜像源

使用方法:

0.备份/etc/apt/sources.list文件

sudo mv /etc/apt/sources.list /etc/apt/sources.list.old

1. 新建并打开文件

sudo vim /etc/apt/sources.list

2.将以下内容粘贴

deb http://mirrors.aliyun.com/ubuntu-ports focal main restricted
deb http://mirrors.aliyun.com/ubuntu-ports focal-updates main restricted
deb http://mirrors.aliyun.com/ubuntu-ports focal universe
deb http://mirrors.aliyun.com/ubuntu-ports focal-updates universe
deb http://mirrors.aliyun.com/ubuntu-ports focal multiverse
deb http://mirrors.aliyun.com/ubuntu-ports focal-updates multiverse
deb http://mirrors.aliyun.com/ubuntu-ports focal-backports main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu-ports focal-security main restricted
deb http://mirrors.aliyun.com/ubuntu-ports focal-security universe
deb http://mirrors.aliyun.com/ubuntu-ports focal-security multiverse

3.更新源

sudo apt clean

sudo apt update

 

Danny

我就如一粒石子,在随波逐流中,逐渐冲蚀了自己的棱角,变光滑,也变丑陋。

文章评论

  • Cialis 5 mg yan etkileri

    Thank you ever so for you post.Much thanks again.

    2020年09月16日