ubuntu 19.10将系统下载配制成清华

系统:Ubuntu 19.10.0

清华源镜像配置信息网址:https://mirror.tuna.tsinghua.edu.cn/help/ubuntu/

操作:将ubuntu系统中的软件源配置文件是/etc/apt/sources.list,信息进行修改,

步骤如下:

  1. step1:先获取root权限
    sudo -s

     

  2. step2:备份原始的软件源配置文件/etc/apt/sources.list.bat
    cp /etc/apt/sources.list.bat /etc/apt/sources.list.bat/

     

  3.  修改配置文件sources.list.bat
    vi sources.list.bat

     

  4.  将里面的配置文件修改成:https://mirror.tuna.tsinghua.edu.cn/help/ubuntu/ubuntu 19.10将系统下载配制成清华_第1张图片
# 默认注释了源码镜像以提高 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

# 预发布软件源,不建议启用
# deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse

5.执行编辑,更新

sudo apt-get update 

ubuntu 19.10将系统下载配制成清华_第2张图片

你可能感兴趣的:(软件)