Ubuntu17.04更换阿里源
Posted 空空空空白
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ubuntu17.04更换阿里源相关的知识,希望对你有一定的参考价值。
命令:sudo vim /etc/apt/sources.list
阿里源:
deb http://mirrors.aliyun.com/ubuntu/ zesty main multiverse restricted universe deb http://mirrors.aliyun.com/ubuntu/ zesty-backports main multiverse restricted universe deb http://mirrors.aliyun.com/ubuntu/ zesty-proposed main multiverse restricted universe deb http://mirrors.aliyun.com/ubuntu/ zesty-security main multiverse restricted universe deb http://mirrors.aliyun.com/ubuntu/ zesty-updates main multiverse restricted universe deb-src http://mirrors.aliyun.com/ubuntu/ zesty main multiverse restricted universe deb-src http://mirrors.aliyun.com/ubuntu/ zesty-backports main multiverse restricted universe deb-src http://mirrors.aliyun.com/ubuntu/ zesty-proposed main multiverse restricted universe deb-src http://mirrors.aliyun.com/ubuntu/ zesty-security main multiverse restricted universe deb-src http://mirrors.aliyun.com/ubuntu/ zesty-updates main multiverse restricted universe
更新:sudo apt-get update
查看codename: lsb_release -a (上边是zesty)
确认阿里源支持:http://mirrors.aliyun.com/ubuntu/dists/
以上是关于Ubuntu17.04更换阿里源的主要内容,如果未能解决你的问题,请参考以下文章
ubuntu20.04 LTS 更换国内163源、阿里源、清华源、中科大源