Win10中内置Linux更换阿里源
来源:互联网 发布:淘宝直播好做吗 编辑:程序博客网 时间:2024/05/19 12:13
1.查看Ubuntu的版本号, 应该是16.04, 对应的代号是xenial.
找到codename
lsb_release -a
2.备份内置数据源
cp /etc/apt/sources.list /etc/apt/sources.list_backup
3.编辑阿里云数据源
sudo vi /etc/apt/sources.list
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-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
4.更新配置
sudo apt-get update
注意: 在网上找阿里云源的时候一定要看对版本代码.
阅读全文
0 0
- Win10中内置Linux更换阿里源
- Linux下更换为阿里yum源
- ubuntu更换阿里源
- 更换阿里源
- ubuntu更换阿里源
- Centos7更换阿里源
- Ubuntu更换阿里源
- ubuntu更换阿里源
- win10中内置的Linux Bash启动闪退问题
- ubuntu linux 更换 阿里云 软件源 安装 svn
- win10 内置Linux子系统安装
- centos更换阿里yum源
- Ubuntu16.04更换阿里源
- Centos更换为阿里源
- centos7 更换阿里yum‘源
- CentOS 更换阿里云源
- ubuntu14.04更换阿里源
- kali 怎么更换阿里源
- php简单网站的登录和注册怎么写
- Service的总结(二)
- require开发:requirejs教程(一)
- [美团 CodeM 复赛]神秘代号
- lvm入门
- Win10中内置Linux更换阿里源
- OSAL NV区操作
- 【图像配准】基于互信息的图像配准算法:MI、EMI、ECC算法
- 什么是四层和七层反向代理
- qt布局问题
- 2151: 种树
- css 样式引入的方法 link 与import的区别
- 资源网 (收集的论坛或网站)
- 130vim命令