Ubuntu16.04 国内更新源

在修改source.list之前要先备份

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

替换内容到source.list中

阿里云源:

# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted
deb-src http://archive.ubuntu.com/ubuntu xenial main restricted #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
deb http://mirrors.aliyun.com/ubuntu/ xenial multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse #Added by software-properties
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted multiverse universe #Added by software-properties
deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse

清华大学:

# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricted
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security multiverse

东北大学:

deb-src http://mirror.neu.edu.cn/ubuntu/ xenial main restricted #Added by software-properties
deb http://mirror.neu.edu.cn/ubuntu/ xenial main restricted
deb-src http://mirror.neu.edu.cn/ubuntu/ xenial restricted multiverse universe #Added by software-properties
deb http://mirror.neu.edu.cn/ubuntu/ xenial-updates main restricted
deb-src http://mirror.neu.edu.cn/ubuntu/ xenial-updates main restricted multiverse universe #Added by software-properties
deb http://mirror.neu.edu.cn/ubuntu/ xenial universe
deb http://mirror.neu.edu.cn/ubuntu/ xenial-updates universe
deb http://mirror.neu.edu.cn/ubuntu/ xenial multiverse
deb http://mirror.neu.edu.cn/ubuntu/ xenial-updates multiverse
deb http://mirror.neu.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirror.neu.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse #Added by software-properties
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
deb http://mirror.neu.edu.cn/ubuntu/ xenial-security main restricted
deb-src http://mirror.neu.edu.cn/ubuntu/ xenial-security main restricted multiverse universe #Added by software-properties
deb http://mirror.neu.edu.cn/ubuntu/ xenial-security universe
deb http://mirror.neu.edu.cn/ubuntu/ xenial-security multiverse

http://blog.csdn.net/paincupid/article/details/52895676

时间: 2024-11-05 06:25:25

Ubuntu16.04 国内更新源的相关文章

Ubuntu16.04 配置 国内更新源

Ubuntu 配置 国内更新源之所以要换成国内的 就是因为国外的源太慢了视频链接地址:http://v.youku.com/v_show/id_XMjYxMjI5MDk2OA==.html 1.百度搜索 "ubuntu 16.04 更新国内源" 2.编辑 /etc/apt/sources.list #sudo  vim /etc/apt/sources.list    我们来清空内容:  shift + : 1,$ d  再按i 进行编辑  复制我们刚才找的源内容 然后粘贴 ##阿里云

Ubuntu 14.04 LTS 更新源大全

Ubuntu 14.04 LTS 系统更新源汇总 如何使用这些系统更新源?---三步走 首先备份源列表: sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup 然后用gedit或其他编辑器打开: gksu gedit /etc/apt/sources.list kdesudo kate /etc/apt/sources.list gksu mousepad /etc/apt/sources.list gksu leafpad /et

Ubuntu 各版本的几个国内更新源

Ubuntu 国内更新源(各版本通用) 前言:为了下载更方便,速度更快,我们往往在使用Linux系列系统时修改apt源为国内的源 1.复制源文件备份,以防万一 修改文件sources.list,在目录/etc/apt/下, sources.list是 包管理工具apt 所用的记录软件包仓库位置的配置文件,同样类型的还有位于 同目录下sources.list.d文件下的各种.list后缀的各文件. 命令如下: sudo cp /etc/apt/sources.list /etc/apt/sourc

给Ubuntu 16.04更换更新源

给自家的Ubuntu下载软件速度有点慢,毕竟是从国外下载软件,就想更换到国内比较好的更新源(就是这些软件所在的服务器),一般直接百度Ubuntu更新源就能出来一大堆,这时候最好是找和自己Ubuntu版本一致的更新源,我的Ubuntu版本是16.04,下面是我找到的一个比较好的更新源 http://www.cnblogs.com/bovenson/p/5752213.html 下面是更换步骤: 1  备份原来的更新源 cp /etc/apt/sources.list /etc/apt/source

Ubuntu14.04 LTS更新源

不同的网络状况连接以下源的速度不同, 建议在添加前手动验证以下源的连接速度(ping下就行),选择最快的源可以节省大批下载时间. 首先备份源列表: sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup 而后用gedit或其他编辑器打开: sudo gedit /etc/apt/sources.list sudo kate /etc/apt/sources.list sudo mousepad /etc/apt/sources.lis

ubuntu16.04更换镜像源

1.备份原有 cp /etc/apt/sources.list /etc/apt/sources.list.old 2.打开阿里巴巴镜像源:  https://opsx.alibaba.com/mirror,打开帮助找到 ubuntu 16.04 配置如下 deb http://mirrors.aliyun.com/ubuntu/ xenial main deb-src http://mirrors.aliyun.com/ubuntu/ xenial main deb http://mirror

Ubuntu16.04 换阿里源

国内阿里源速度比较快,北京联通下载极快.更新也比较稳定 1.备份 cp /etc/apt/source.list /etc/apt/source.list.bak 2.编辑source文件 sudo vim /etc/apt/source.list (dd是删除整行,i是插入,注意sudo) 3.插入阿里源 deb-src http://archive.ubuntu.com/ubuntu xenial main restricted #Added by software-properties d

Ubuntu16.04更换下载源

更新源的方法 进入/etc/apt/ cd /etc/apt 对 sources.list文件进行备份: sudo cp sources.list sources.list.bak 打开源列表文件 sudo gedit sources.list 使用下文的源中的内容替换原来文件中的内容,替换完成后执行: sudo apt-get update 常使用的源 清华源 deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restric

Ubuntu 16.04 几个国内更新源

http://blog.csdn.net/paincupid/article/details/52895676 如何更改源 1/ 在修改source.list前,最好先备份一份 执行备份命令 sudo cp /etc/apt/sources.list /etc/apt/sources.list.old 1 1 2/ 执行命令打开source.list文件: 可以用vim,gedit,atom等工具打开 sudo vim /etc/apt/source.list 1 1 或 sudo gedit