apt-get安装源替换 阿里云源
来源:互联网 发布:pps windows是什么意思 编辑:程序博客网 时间:2024/06/02 02:16
apt-get安装源替换 阿里云源
1、原文件重命名备份
1
sudo
mv
/etc/apt/sources
.list
/etc/apt/source
.list.bak
2、编辑源列表文件
sudo vim /etc/apt/source.list
3、用下面的文本作为内容
ubuntu 14
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
ubuntu 16
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse##测试版源deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse# 源码deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse##测试版源deb-src http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse# Canonical 合作伙伴和附加deb http://archive.canonical.com/ubuntu/ xenial partnerdeb http://extras.ubuntu.com/ubuntu/ xenial main
4、更新
sudo apt-get updatesudo apt-get upgrade转自:www.cnblogs.com/gabin/p/6519352.html
阅读全文
0 0
- apt-get安装源替换 阿里云源
- apt-get安装源替换 阿里云源
- 2017年最新版本apt-get安装源替换 阿里云源
- 2017年最新版本apt-get安装源替换 阿里云源
- Ubuntu 配置阿里云 apt-get 源
- ubuntu替换apt-get源
- Ubuntu 16.04 apt-get更换为国内阿里云源
- 修改Ubuntu的apt-get源为阿里云
- Ubuntu 16.04 apt-get更换为国内阿里云源
- Ubuntu 16.04 apt-get更换为国内阿里云源
- Ubuntu 16.04 apt-get更换为国内阿里云源
- ubuntu 改 apt-get 为阿里源
- 修改apt-get和yum为阿里源
- ubuntu apt-get 速度慢 切换 阿里的源
- 切换ubuntu server的apt-get下载源为阿里云国内地址
- apt-get制作本地软件安装源
- debian修改apt-get安装源
- apt-get使用本地安装源进行安装及apt-get命令详解
- 机器学习中梯度下降法和牛顿法的比较
- phpstorm 激活服务器
- dlib 03 dlib自带demo 人脸关键点检测器训练和测试
- 微信的内容布局已经甩了百度、阿里和今日头条3条街
- C++与JAVA语言区别
- apt-get安装源替换 阿里云源
- Zookeeper API入门与应用
- 索引
- 记录android离屏渲染的一些资料
- mac 下crontab 无效的解决方案
- overflow 显示一行可以滑动,不显示滑动滚动条
- sublime中文乱码解决方案
- 面向对象程序设计上机练习五(类和对象)
- (SGU