软件源配置文件

Ubuntu 的软件源配置文件是 /etc/apt/sources.list

换源

使用以下命令查看Ubuntu版本:

cat /proc/version

使用以下命令将/etc/apt/sources.list文件的内容替换为清华软件源镜像的地址,即可使用 TUNA 的软件源镜像。

sudo gedit /etc/apt/sources.list

清华软件源镜像

清华软件源镜像地址:Ubuntu | 清华大学开源软件镜像站

16.04LTS

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted universe multiverse# 预发布软件源,不建议启用
# deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse

18.04LTS

# 默认注释了源码镜像以提高 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

20.04LTS

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse# 预发布软件源,不建议启用
# deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse

Ubuntu更换清华TUNA软件源相关推荐

  1. Ubuntu更换阿里云软件源

    Ubuntu更换阿里云软件源 备份 sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak 2.修改 sudo vim /etc/apt/sou ...

  2. 给Ubuntu添加清华的软件源

    找到 sources.list 文件 cd /etc/apt/ 编辑 vim sources.list 在最后面加上下面这几条语句 # 默认注释了源码镜像以提高 apt update 速度,如有需要可 ...

  3. Ubuntu更换清华源 apt

    Ubuntu更换清华源 Ubuntu自带的apt软件源有时下载缓慢,可替换为清华大学镜像地址(也可搜索阿里源等). 源文件为 /etc/apt/sources.list .替换方法如下: 替换步骤 首 ...

  4. Ubuntu 20.04切换软件源为清华源

    1. 清华软件源地址 清华软件源 打开之后搜索ubuntu 选中第一个 注意红框标出的 ctrl+alt+t 先备份原始的 sudo cp /etc/apt/sources.list /etc/apt ...

  5. Ubuntu自动选择最佳软件源

    ubuntu,我们在使用apt新装软件的时候,会使用官方的网站去下载软件,但是会因为国内的转接点太多,而导致下载的速度非常慢 ,我们可以通过换成一些国内的同步镜像源来进行下载,比如阿里源.清华源等,速 ...

  6. ubuntu20.04更换阿里的软件源

    新安装的ubuntu20.04的软件源是使用的国外的源,因此在使用apt安装软件时速度并不怎么快,建议大家更换为国内的源,这样在使用apt安装软件时速度会有明显的提升的. ubuntu20.04 ap ...

  7. 为Ubuntu设置新的软件源

    1.打开Ubuntu软件中心,点击"编辑",再点击"软件源" 2.点击图中的"下载自",选择"其它站点 3.选择"最佳服 ...

  8. ubuntu更换清华源

    进入:清华大学开源软件镜像站 | Tsinghua Open Source Mirror 选择你的ubuntu版本 vi /etc/apt/sources.list 如果执行apt update 报镜 ...

  9. Anaconda更换清华Tuna源

    1.Tuna官方Anaconda网站教程,参考此教程做一份详细教程 2.Windows在Prompt输入如下指令 conda config --set show_channel_urls yes 会在 ...

最新文章

  1. python3邮件_python3使用SMTP发送HTML格式邮件
  2. 李永乐线性代数手写笔记-线性方程组
  3. 【Linux】一步一步学Linux——sudo命令(105)
  4. python数据分析并生成报告_pandas_profiling :教你一行代码生成数据分析报告
  5. 中英文字体名字对应表
  6. 二元运算 FFT+分治
  7. Git——版本管理工具(一)
  8. 中文冒号vs英文冒号
  9. 北大核心期刊目录2021年 计算机类
  10. Krpano vtourskin.xml 默认皮肤详解
  11. ssh-keygen 常用命令与参数
  12. 科技爱好者周刊(第 160 期):中年码农的困境
  13. 淘宝API item_password - 获得淘口令真实url
  14. C语言遍历windows目录文件 并对文件进行读写操作
  15. java计算机毕业设计宠物店管理系统设计与实现源码+mysql数据库+系统+lw文档+部署
  16. 国产紫光FPGA实现DDS信号发生器
  17. matlab阻尼震动论文,基于MATLAB的平方阻尼振动研究
  18. Hikey970——Lebuntu环境配置
  19. 区块链上的自主身份之身份管理与身份应用
  20. 商品国标码的SQLSERVER SQL 校验位 实现:

热门文章

  1. Android App耗电量测试
  2. 域名解析教程:Cloudflare解析与DNSPod解析
  3. 值得看两遍,解决99%的文件搜索难题!
  4. Day88.七牛云: 房源图片、用户头像上传 Common-upload、Webuploader
  5. 英语总结系列(十七):五月英语别有一番风味
  6. 脂肪的燃烧,五月的踏青之旅——浙西大峡谷
  7. Linux VFS 详解
  8. php 数组交集函数,php数组交集函数
  9. 烤氏历史第9集:《世通兴衰录:被遗忘的帝国》-4.大江东流
  10. Exception:Could not find parameter map