修改LinuxMint18安装软件源

来源:互联网 发布:天猫商城的网络推广 编辑:程序博客网 时间:2024/05/22 00:13

转载于:修改LinuxMint18安装软件源

1.点击

英文版

Menu->Software Manager->Edit->Software Sources

中文版

菜单->系统管理->软件管理器->编辑->软件源

2.将Official repositories的Mirrors中Main和Base源修改为国内的,然后点击应用,我这里改成了ustc的镜像源。
这里写图片描述

3.执行以下命令行

cd /etc/apt/sources.list.d/

之后,打开official-lackage-repositories.list文件,可以看到security源它并没有修改,把那一行改成

deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-security main restricted universe multiverse

(备注,这里修改的地址可以根据Software Sources中的Official repositories中的Mirrors中最优的地址来修改,地区不同,网速最优的可能不同-.-,)
修改以后是这样:
这里写图片描述
然后保存

4.运行apt update -y和apt upgrade -y

0 0
原创粉丝点击