ubuntu16.04国内apt源以及官方源

olei 3,966 views 0

替换写在/etc/apt目录的source.list文件

ubuntu16.04国内apt源以及官方源

腾讯云

  1. deb http://mirrors.tencentyun.com/ubuntu/ xenial main restricted universe multiverse
  2. deb http://mirrors.tencentyun.com/ubuntu/ xenial-security main restricted universe multiverse
  3. deb http://mirrors.tencentyun.com/ubuntu/ xenial-updates main restricted universe multiverse
  4. #deb http://mirrors.tencentyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
  5. #deb http://mirrors.tencentyun.com/ubuntu/ xenial-backports main restricted universe multiverse
  6. deb-src http://mirrors.tencentyun.com/ubuntu/ xenial main restricted universe multiverse
  7. deb-src http://mirrors.tencentyun.com/ubuntu/ xenial-security main restricted universe multiverse
  8. deb-src http://mirrors.tencentyun.com/ubuntu/ xenial-updates main restricted universe multiverse
  9. #deb-src http://mirrors.tencentyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
  10. #deb-src http://mirrors.tencentyun.com/ubuntu/ xenial-backports main restricted universe multiverse

 京东云源

  1. deb http://mirrors.jcloudcs.com/ubuntu/ xenial main restricted
  2. deb http://mirrors.jcloudcs.com/ubuntu/ xenial-updates main restricted
  3. deb http://mirrors.jcloudcs.com/ubuntu/ xenial universe
  4. deb http://mirrors.jcloudcs.com/ubuntu/ xenial-updates universe
  5. deb http://mirrors.jcloudcs.com/ubuntu/ xenial multiverse
  6. deb http://mirrors.jcloudcs.com/ubuntu/ xenial-updates multiverse
  7. deb http://mirrors.jcloudcs.com/ubuntu/ xenial-backports main restricted universe multiverse
  8. deb http://mirrors.jcloudcs.com/ubuntu/ xenial-security main restricted
  9. deb http://mirrors.jcloudcs.com/ubuntu/ xenial-security universe
  10. deb http://mirrors.jcloudcs.com/ubuntu/ xenial-security multiverse
  11. # deb-src [arch=amd64] https://mirrors.aliyun.com/docker-ce/linux/ubuntu xenial stable
  12. # deb-src [arch=amd64] https://mirrors.aliyun.com/docker-ce/linux/ubuntu xenial stable

阿里云源(听说是ubuntu指定的国内官方源)

  1. deb-src http://archive.ubuntu.com/ubuntu xenial main restricted #Added by software-properties
  2. deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted
  3. deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted multiverse universe #Added by software-properties
  4. deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted
  5. deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted multiverse universe #Added by software-properties
  6. deb http://mirrors.aliyun.com/ubuntu/ xenial universe
  7. deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
  8. deb http://mirrors.aliyun.com/ubuntu/ xenial multiverse
  9. deb http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse
  10. deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
  11. deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse #Added by software-properties
  12. deb http://archive.canonical.com/ubuntu xenial partner
  13. deb-src http://archive.canonical.com/ubuntu xenial partner
  14. deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted
  15. deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted multiverse universe #Added by software-properties
  16. deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
  17. deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse

百度云

  1. deb http://mirrors.baidubce.com/ubuntu/ xenial main restricted universe multiverse
  2. deb http://mirrors.baidubce.com/ubuntu/ xenial-updates main restricted universe multiverse
  3. deb http://mirrors.baidubce.com/ubuntu/ xenial-security main restricted universe multiverse

官方源(国内不建议使用)

  1. #deb cdrom:[Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719)]/ xenial main restricted
  2. # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
  3. # newer versions of the distribution.
  4. deb http://cn.archive.ubuntu.com/ubuntu/ xenial main restricted
  5. # deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial main restricted
  6. ## Major bug fix updates produced after the final release of the
  7. ## distribution.
  8. deb http://cn.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
  9. # deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
  10. ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
  11. ## team, and may not be under a free licence. Please satisfy yourself as to
  12. ## your rights to use the software. Also, please note that software in
  13. ## universe WILL NOT receive any review or updates from the Ubuntu security
  14. ## team.
  15. deb http://cn.archive.ubuntu.com/ubuntu/ xenial universe
  16. # deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial universe
  17. deb http://cn.archive.ubuntu.com/ubuntu/ xenial-updates universe
  18. # deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates universe

更换完毕记得一条命令:apt-get update

发表评论 取消回复
表情 图片 链接 代码

分享