码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu更换成清华大学镜像源

时间:2020-07-19 23:10:26      阅读:119      评论:0      收藏:0      [点我收藏+]

标签:shel   pre   取消   tun   mirror   lis   class   source   lan   

先打开文件,把原来的源注释掉

vi /etc/apt/sources.list

然后在尾部加上

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse

ubuntu更换成清华大学镜像源

标签:shel   pre   取消   tun   mirror   lis   class   source   lan   

原文地址:https://www.cnblogs.com/lightice/p/13341047.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!