转载于
https://blog.youkuaiyun.com/chenhaifeng2016/article/details/78945600
备份原来的源
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bakcup
编辑原来的文件
sudo vim /etc/apt/sources.list
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
更新
sudo apt update
本文详细介绍了如何将Ubuntu系统的软件源更换为阿里云镜像源,包括备份原源、编辑源列表及更新软件包索引等步骤,适用于Ubuntu Xenial版本。
4184

被折叠的 条评论
为什么被折叠?



