ubuntu 14.04 16.04 18.04使用阿里源
https://blog.csdn.net/bin_zhang1/article/details/81008645
首先备份一下原来的sources.list
cp /etc/apt/sources.list /etc/apt/sources.list.bak
然后修改sources.list
sudo vi /etc/apt/sources.list
然后根据你的版本将sources.list中的内容换成相应的内容
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
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
ubuntu 18.04 配置如下
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 multiversedeb 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
最后更新一下
sudo apt-get update
作者:疯狂飙车的蜗牛
来源:CSDN
原文:https://blog.csdn.net/bin_zhang1/article/details/81008645
版权声明:本文为博主原创文章,转载请附上博文链接!
ubuntu 14.04 16.04 18.04使用阿里源相关推荐
- ubuntu 16.04 升级为 18.04的糟心经历
不小心从Ubuntu 16.04升级到18.04, 在这个过程中遇见下慢两个问题 1:界面不能拖动, 并且没有外边框可以变小, 变大 2:无法访问网络 问题1是因为系统软件还没有完全更新完成,可以按照 ...
- 极简主义linux桌面,Ubuntu 16.04/17.10/18.04安装Zafiro极简图标主题
zafiro图标是桌面xfce4,gnome或lxde的图标包,具有干净简单的设计线条,灵感来源于平面设计. 它是根据L.I.M.A许可证分发的,优先级是极简主义,不会用任何图标来饱和元素,每个图标都 ...
- gtk linux 升级_Linux包系列的知识(附:Ubuntu16.04升级到18.04的案例)
Linux包系列的知识(附:Ubuntu16.04升级到18.04的案例) 发布时间:2018-05-27 12:30, 浏览次数:424 , 标签: Linux Ubuntu Linux基础:htt ...
- Ubuntu iso下载地址(14、16、18)
Ubuntu镜像,快速下载 ubuntu 14.04: http://mirrors.aliyun.com/ubuntu-releases/14.04/ ubuntu 16.04: http://mi ...
- 记一次Ubuntu 14 升级 16的过程和理解(1)do-release-upgrade
升级前: root@ubuntu:/var/cache/apt/archives# uname -a Linux ubuntu 3.13.0-24-generic #46-Ubuntu SMP Thu ...
- Ubuntu Intel显卡驱动安装 (Ubuntu 14.04--Ubuntu 16.10 + Intel® Graphics Update Tool)
2018 ROS Melodic的迷失与救赎::https://blog.csdn.net/column/details/28058.html 2018 GitChat::沉迷机器人操作系统的一个理由 ...
- Linux包系列的知识(附:Ubuntu16.04升级到18.04的案例)
Linux基础:https://www.cnblogs.com/dunitian/p/4822808.html#linux 之前看到朋友还动不动 apt-get update upgrade,就很纳闷 ...
- linux共享文件夹开机自启,ubuntu16.04.6和 18.04添加开机启动脚本,重启后自动挂载vmware的共享文件夹...
vmware安装ubuntu server16.04.6后使用共享文件夹,但是每次重启都是执行一个命令才可以挂载上(ubuntu桌面版的不需要),原因没有深究,所以就想到啦加个开机脚本来执行那个挂载命 ...
- U盘安装ubuntu18.04 优麒麟18.04 详细过程
首先我使用电脑店U盘将ISO文件放到DND目录进行安装,以前服务器安装VMware vSphere都是这么安装linux的,所以进入误区,各种报错,各种安装不上 制作U盘引导盘,安装Ubuntu18. ...
- 记一次Ubuntu 14 升级 16的过程和理解(1)upgrade
在线升级,upgrade 之前最好update 一下 update是更新镜像源 upgrade则是对已有的包的卸载重装(升级新一代) 先是将包全部get下来到/var/cache/apt/archiv ...
最新文章
- pip list报错:DEPRECATION: The default format will switch to columns in the future.
- 批量修改table和index 的表空间
- Spring-国际化信息01-基础知识
- mysql locked myisam_MySql 事务 隔离级别 知识点
- 如何下载anaconda python3.7_如何安装Anaconda和Python
- Deformable ConvNets自己的理解
- Js参数RSA加密传输,jsencrypt.js的使用
- python调用pyaudio使用麦克风录制wav声音文件
- CSS命名规范(规则)常用的CSS命名规则
- python中的写入文件
- 高等数学-函数在线绘图工具推荐(精选好用)
- 什么是exploit
- python异常处理时所使用的保留字_【2020年12月计算机二级Python语言考试冲刺题(二)】- 环球网校...
- 【小万出生记——第3篇】小万升级为家用服务机器人
- 三个月速成Java--一些小建议和感概
- iOS开发中动画之点赞图标放大效果
- HTML中如何引用数学运算符?
- 如何用python绘制灰度直方图_用python简单处理图片(5):图像直方图
- SAPMM模块不同维度采购模式分类
- pogo pin连接器与排针、排母的寿命区别
热门文章
- Android类动态加载技术
- lr java vuser_LR Java脚本编写方法
- mysql主从复制 跳过表_mysql主从复制-从库跳过异常日志点
- 取文字_取一个好听的女孩名字
- python中for语句用法_python中for循环的用法
- R语言绘制Vonoroi图
- GCB | 南土所冯有智组揭示了温度非线性的控制了全球土壤腐生真菌地理学分布...
- NBT:MaPS-seq测序方法揭示肠道微生物空间分布
- 你想要的宏基因组-微生物组知识全在这(190101)
- Linux下配置jupyter notebook远程访问实战:配置Jupyter的连接密码、启动jupyter服务、远程访问jupyter(关闭防火墙)