ubuntu20.04 apt-get换国内源 阿里源 163源 清华源 中科大源
1.备份系统自带源
mv /etc/apt/sources.list /etc/apt/sources.list.bak
2.修改/etc/apt/sources.list文件,加入想替换的国内源,我使用的是阿里云的源
vi /etc/apt/sources.list
##阿里源
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
##163源
deb http://mirrors.163.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiverse
##清华源
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
##中科大源
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
3.更新生效
apt-get update
apt-get upgrade
ubuntu20.04 apt-get换国内源 阿里源 163源 清华源 中科大源相关推荐
- 国内镜像源(阿里、网易、清华、中科大) ubuntu20.04下载地址超快
1下载ubuntu系统镜像的国内源地址 一个不行换一个 下载ubuntu系统镜像的国内源地址,超快 国内镜像源(阿里.网易.清华.中科大) ubuntu20.04下载地址: 清华源 https://m ...
- Ubuntu20.04更换国内镜像源(阿里、网易163、清华、中科大)
------------------- 2022年12月11日更新 ---------------------- 今天刚安装了 Ubuntu22.04 ,安装时选好地区,开机默认就是中国内地的镜像源服 ...
- Ubuntu22.04更换国内镜像源(阿里、网易163、清华、中科大)
更换方法 Ubuntu采用apt作为软件安装工具,其镜像源列表记录在/etc/apt/source.list文件中. 首先将source.list复制为source.list.bak备份,然后将sou ...
- Ubuntu18.04更改国内镜像源(阿里云、网易、清华、中科大)
Ubuntu18.04--更改国内镜像源(阿里.网易.清华.中科大) 前言 一. 不同镜像原地址 1. 阿里源 2. 网易源 3. 清华源 4. 中科大源 二. 更换文件的方法步骤 1. 备份Ubun ...
- Ubuntu最新、最简单换源方法(中科大源)
打开 snullp 大叔开发的 配置生成器 选择对应自己的Ubuntu版本,然后下载 打开下载好的list文件,选择替换 最好可以在终端上运行一下 sudo apt-get update 更新索引使其 ...
- Ubuntu 18.04换国内源 中科大源 阿里源 163源 清华源
Ubuntu 18.04换国内源 中科大源 阿里源 163源 清华源 内有很多Ubuntu的镜像源,包括阿里的.网易的,还有很多教育网的源,比如:清华源.中科大源. 我们这里以中科大的源为例讲解如何修 ...
- Ubuntu 20.04换国内源 清华源 阿里源 中科大源 163源
Ubuntu 20.04 是 Ubuntu 的第 8 个 LTS 版本,其重大更新和改进将在 2030 年前终止,计划于2020年 4 月 23 日发布. 国内有很多Ubuntu的镜像源,包括阿里的. ...
- 20 ubuntu 中科大源_Ubuntu 18.04换国内源 中科大源 阿里源 163源 清华源
有很多Ubuntu的镜像源,包括阿里的.网易的,还有很多教育网的源,比如:清华源.中科大源. 我们这里以中科大的源为例讲解如何修改Ubuntu 18.04里面默认的源. 编辑/etc/apt/sour ...
- Ubuntu 22.04换国内源 清华源 阿里源 中科大源 163源
本文系原创,转载请注明出处 update 2022.04.23: Ubuntu 22.04 的稳定版已经于 2022 年 4 月 21 日发布,Ubuntu 22.04 稳定版下载地址:https:/ ...
最新文章
- 网站seo工作不能忽视
- 南华大学java补考_关于2017年秋季学期学生补考报名及成绩复核的通知
- PHP的替换strstr strtr str_replace substr_replace
- SSL延迟有多大 (Https)
- I+关系网络分析发布,提供完整的可视化分析和关系引擎功能
- Linux驱动(8)--内核编译与配置
- couchbase php,升级PHP7时couchbase扩展导入的bug
- mysql索引怎么设计_mysql索引设计
- HDU-1584蜘蛛牌
- 谷歌-adblock插件下载后的使用(国内无需fan墙)
- 华为交换机ensp基础命令
- WinHex脚本命令教程--中文版
- #pragma comment 用法
- 问题以及解决办法:hadoop 不在 sudoers 文件中。此事将被报告
- 实现网站访问人数统计
- ubnutu系统官网
- Android从零单排之免费短信验证
- Apache Commons Daemon 使用
- 《谈判力》读书笔记:前言
- 广大企业使用OA系统的六大理由