ubuntu镜像源的配置
摘要:你是否遇到过按照网上教程更改了自己的镜像源之后,貌似还是不兼容,许多安装包还是下不了?其实不是他们写的教程有错误,而是你没用根据自己使用的ubuntu的版本去正确配置镜像源!!!
参考文章
1. 图形界面配置步骤(新手推荐)
- 系统设置 ->
- 软件和更新->
- 选择下载服务器 ->
- “mirrors.aliyun.com”
- 选择下载服务器 ->
- 软件和更新->
2. 手动更改
编辑器打开:
vim /etc/apt/sources.list
根据你自己的版本选择如下配置:
2.1 Ubuntu 14.04.5 LTS:
deb https://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb https://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse## Not recommended
# deb https://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
2.2 Ubuntu ubuntu 16.04 :
deb http://mirrors.aliyun.com/ubuntu/ xenial main
deb-src http://mirrors.aliyun.com/ubuntu/ xenial maindeb http://mirrors.aliyun.com/ubuntu/ xenial-updates main
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates maindeb http://mirrors.aliyun.com/ubuntu/ xenial universe
deb-src http://mirrors.aliyun.com/ubuntu/ xenial universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates universedeb http://mirrors.aliyun.com/ubuntu/ xenial-security main
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main
deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security universe
2.3 Ubuntu 18.04(bionic) :
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse# deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
# deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
2.4 Ubuntu 20.04(focal):
deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse# deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
# deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
ubuntu镜像源的配置相关推荐
- Ubuntu镜像源更改为清华镜像源
Ubuntu镜像源相关配置教程 本地通过VMware构建Ubuntu服务器,安装软件时下载速度很要命,使用清华镜像源可以大大提升速度. 文章目录 Ubuntu镜像源相关配置教程 方法 一.备份 二.获 ...
- jetson nano 烧录、更换镜像源、配置xrdp、安装Archiconda、配置CUDA、安装pytorch环境一条龙服务
jetson nano 烧录.更换镜像源.配置xrdp.安装Archiconda.配置CUDA.安装torch环境一条龙服务 一.jetson nano烧录 1.jetson nano上电 2.镜像烧 ...
- centos使用镜像源轻松配置golang+vscode的方法
Title:centos使用镜像源轻松配置golang+vscode的方法 (阅读时间:约5分钟) 零.序言 最近笔者在上一门名为服务计算的课程,在老师的作业博客中提到,安装golang+vscode ...
- windows 上Miktex的镜像源最新配置方法
windows 上Miktex的镜像源最新配置方法 安装完Miktex之后,试了试网上的例子,发现要安装包,但是默认的国外的(反正连接失败),就去搜如何更换国内镜像源,然而,然并卵,特别是一个百度的一 ...
- yum源的配置 镜像源的配置
一.yum源的的配置 配置源的作用: yum源本身使用的是国外的源,下载时可能会速度比较慢,可以配置成国内的源提升速度 yum源配置文件路径:/etc/yum.repo s.d/ 切换路径/etc/y ...
- 修改Ubuntu镜像源
修改Ubuntu镜像源 备份原来的镜像源 $> cd /etc/apt $> cp sources.list sources.list.bak 清空sources.list文件 $> ...
- 推荐一个靠谱的ubuntu镜像源网站
推荐一个靠谱的ubuntu镜像源网站 1.背景 因为随书的ubuntu12.04镜像,各种命令不完整,转而找到一个靠谱的ubuntu镜像源网站,换用 ubuntu-desktop 18.04.4 . ...
- ubuntu镜像源更换_ubuntu16.04更换镜像源
1.备份原有 cp /etc/apt/sources.list /etc/apt/sources.list.old 2.打开阿里巴巴镜像源: https://opsx.alibaba.com/mir ...
- marvell 开发板Ubuntu镜像制作及配置步骤
http://wiki.macchiatobin.net/tiki-index.php?page=Boot+from+removable+storage+-+Ubuntu marvell开发板的烧写步 ...
- 更换ubuntu镜像源
ubuntu默认镜像源下载安装包,通常会报错 E: Unable to locate package,所以需要更换ubuntu默认镜像源. sudo vi /etc/apt/sources.list ...
最新文章
- linux下安装idle和运行(linux下有两个python版本如何运行其中一个)
- golang 数据类型 简介
- PyTorch教程(十):单层感知机以及梯度更新
- 【转】在SQL Server中创建用户角色及授权(使用SQL语句)
- QuorumPeerMain.runFromConfig
- 使用 CefSharp 在 C# App 中嵌入 Chrome 浏览器
- 多商铺购物车查询 排除重复商家
- qthread run结束了算销毁吗_会计职称考试已结束,证书怎么领?
- TracKit-Ocean:目标跟踪网络(二) -- 运行问题及解决逻辑设计
- 泛微OA系统Ngnix反向代理
- 【图示】AppleID绑定支付宝的方法
- linux CPU占用率高
- f(!gotop.length) return false;
- 初中计算机卡片的制作教案,卡片的制作教案..doc
- 入侵防御(IPS)技术,怎么做好入侵防护
- rstudio 导出结果_R语言数据导入与导出
- windows工控机对比linux,工控机和电脑有四大区别,千万不要弄混了
- Linux实战教学笔记13-定时任务补充
- 如何才能快速安全的在领英(LinkedIn)添加好友人脉
- Learn day3 深浅拷贝/格式化/字符串/列表/字典/集合/文件操作