ubuntu 16.04换源 网易、搜狐、阿里云

标签: ubuntu
13618人阅读 评论(0) 收藏 举报
分类:

如何更改源

  • 可以在软件更新中选择源

  • 使用如下命令更改(修改前先备份):


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

1、打开source.list文件,删除所有内容
sudo gedit /etc/apt/source.list

2、复制以下源

搜狐源
deb http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiverse

deb http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiverse

deb http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiverse

deb http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiverse

deb http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb-src http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiverse

deb-src http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiverse

deb-src http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiverse

deb-src http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiverse

deb-src http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiverse

网易源
deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse

deb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse

deb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse

阿里云源
# 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

3、最后执行源更新
sudo apt-get update

国内源比较下载软件比较快,希望对你有帮助。顶一个~


查看评论

VB中获取逻辑磁盘的信息

我们在编程的时候有时会需要得到系统中逻辑磁盘的一些信息,如磁盘卷标、磁盘序列号、空间大小、剩余空间等,这些信息直接使用VB提供的函数显然是无法得到的。但是,借助于VB对WINDOWS API函数的支持...
  • jadedrip
  • jadedrip
  • 2000-11-08 22:20:00
  • 1061

Ubuntu16.04换源

换成国内最快的阿里云源第一步:备份原来的源文件cd /etc/apt/然后会显示下面的源文件sources.list 输入命令 sudo cp sources.list sources.list.ba...
  • u013066730
  • u013066730
  • 2018-02-26 14:59:34
  • 1289

Ubuntu 16.04 几个国内更新源(Ubuntu skill)

如何更改源可以在软件更新中选择源使用如下命令更改(修改前先备份):我们使用:sudo cp sources.list sources.list.bak就可以在当前目录下复制一个sources.list...
  • jiayoudangdang
  • jiayoudangdang
  • 2018-02-09 23:36:00
  • 921

ubuntu16.04 使用阿里云源

Ubuntu更新数据源
  • hang916
  • hang916
  • 2018-03-06 23:46:55
  • 375

Ubuntu 16.04 几个国内更新源

如何更改源1/ 在修改source.list前,最好先备份一份执行备份命令sudo cp /etc/apt/sources.list /etc/apt/sources.list.old2/ 执行命令打...
  • paincupid
  • paincupid
  • 2016-10-22 23:02:37
  • 72048

ubuntu 16.04换源 网易、搜狐、阿里云

、打开source.list文件,删除所有内容 [html] view plain copy print? sudo gedit /etc/apt/source.lis...
  • z346859
  • z346859
  • 2018-01-08 23:10:11
  • 927

ubuntu下执行sudo apt-get update(ubuntu16.04换源)遇到的问题及解决方法总结

参考链接问题:1.E: 无法下载 http://ppa.launchpad.net/fcitx-team/nightly/ubuntu/dists/xenial/main/binary-amd64/P...
  • qq_40155090
  • qq_40155090
  • 2018-03-16 14:11:12
  • 172

Ubuntu 16.04最新源

1、在修改source.list前,最好先备份一份 执行备份命令 sudo cp /etc/apt/sources.list /etc/apt/sources.list.old 2、执行...
  • u014199378
  • u014199378
  • 2017-05-18 21:27:31
  • 804

Ubuntu 16.04 LTS 更新源,亲测好用!

Ubuntu 16.04 LTS 更新源 亲测好用的阿里云源! 使用如下命令更改(修改前先备份): root@ubuntu:/home/ccbipj# cp /etc/apt/sour...
  • u010447234
  • u010447234
  • 2016-12-10 12:40:11
  • 6079

Ubuntu 16.04配置国内高速apt-get更新源

Ubuntu 16.04下载软件速度有点慢,因为默认的是从国外下载软件,那就更换到国内比较好的快速更新源(就是这些软件所在的服务器),一般直接百度Ubuntu更新源就能出来一大堆,这时候最好是找和自己...
  • twang0x80
  • twang0x80
  • 2018-04-01 22:19:33
  • 155
    个人资料
    持之以恒
    等级:
    访问量: 46万+
    积分: 4566
    排名: 8117
    最新评论