概述
需要有IPV6地址
1.备份原来的源
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
2.编辑源列表文件
sudo gedit /etc/apt/sources.list
3.删除原来的源,替换为如下的IPV6源
#默认注释了源码仓库,如有需要可自行取消注释
deb https://ipv6.mirrors.ustc.edu.cn/ubuntu/ xenial main restricted universe multiverse
#deb-src https://ipv6.mirrors.ustc.edu.cn/ubuntu/ xenial main restricted universe multiverse
deb https://ipv6.mirrors.ustc.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
#deb-src https://ipv6.mirrors.ustc.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
deb https://ipv6.mirrors.ustc.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
#deb-src https://ipv6.mirrors.ustc.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb https://ipv6.mirrors.ustc.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
#deb-src https://ipv6.mirrors.ustc.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
#预发布软件源,不建议启用
#deb https://ipv6.mirrors.ustc.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse
#deb-src https://ipv6.mirrors.ustc.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse
4.保存,运行命令
sudo apt-get update
最后
以上就是舒适白云为你收集整理的Ubuntu配置中科大IPV6软件源的全部内容,希望文章能够帮你解决Ubuntu配置中科大IPV6软件源所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复