国内镜像源(阿里、网易、清华、中科大) ubuntu20.04下载地址超快
1下载ubuntu系统镜像的国内源地址
一个不行换一个
下载ubuntu系统镜像的国内源地址,超快 国内镜像源(阿里、网易、清华、中科大)
ubuntu20.04下载地址:
清华源
https://mirrors.tuna.tsinghua.edu.cn/
中科大源
http://mirrors.ustc.edu.cn/ubuntu-releases/20.04/
阿里云开源镜像站
http://mirrors.aliyun.com/ubuntu-releases/20.04/
兰州大学开源镜像站
http://mirror.lzu.edu.cn/ubuntu-releases/20.04/
北京理工大学开源
http://mirror.bit.edu.cn/ubuntu-releases/20.04/
浙江大学
http://mirrors.zju.edu.cn/ubuntu-releases/20.04/
sohu镜像源
https://mirrors.sohu.com/
建议将所有常用镜像源保存在/etc/apt目录下,并命名为类似source.list.aliyun的形式,需要使用时直接复制替换source.list文件即可。
2更换方法及镜像源
Ubuntu采用apt作为软件安装工具,其镜像源列表记录在/etc/apt/source.list文件中。
首先将source.list复制为source.list.bak备份,然后将source.list内容改为需要的镜像源列表即可。
修改完成后保存source.list文件,执行:
sudo apt-get update
打开Ubuntu的终端输入:
maliao@ubuntu:~$ sudo gedit /etc/apt/sources.list[sudo] maliao 的密码: 输入密码回车即可
将镜像地址更改为以下任意一个地址(下面提供了阿里,网易,清华,中科大镜像源地址),保存即可。
更换好源之后执行下方命令更新:
sudo apt-get upgrade
#阿里源deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiversedeb-class="lazy" data-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiversedeb-class="lazy" data-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiversedeb-class="lazy" data-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiversedeb-class="lazy" data-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiversedeb-class="lazy" data-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse#网易源deb http://mirrors.163.com/ubuntu/ bionic main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ bionic-security main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ bionic-updates main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ bionic-proposed main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiversedeb-class="lazy" data-src http://mirrors.163.com/ubuntu/ bionic main restricted universe multiversedeb-class="lazy" data-src http://mirrors.163.com/ubuntu/ bionic-security main restricted universe multiversedeb-class="lazy" data-src http://mirrors.163.com/ubuntu/ bionic-updates main restricted universe multiversedeb-class="lazy" data-src http://mirrors.163.com/ubuntu/ bionic-proposed main restricted universe multiversedeb-class="lazy" data-src http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiverse#清华源deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiversedeb-class="lazy" data-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiversedeb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiversedeb-class="lazy" data-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiversedeb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiversedeb-class="lazy" data-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiversedeb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiversedeb-class="lazy" data-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiversedeb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiversedeb-class="lazy" data-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse##中科大源deb https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiversedeb-class="lazy" data-src https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiversedeb https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiversedeb-class="lazy" data-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiversedeb https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiversedeb-class="lazy" data-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiversedeb https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiversedeb-class="lazy" data-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiversedeb https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiversedeb-class="lazy" data-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
来源地址:https://blog.csdn.net/m0_68165821/article/details/129147126
免责声明:
① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。
② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341