网易Ubuntu镜像使用帮助(ubuntu15.10 修改源)

原文位置

以Wily(15.10)为例, 编辑/etc/apt/sources.list文件, 在文件最前面添加以下条目(操作前请做好相应备份)

deb http://mirrors.163.com/ubuntu/ wily main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ wily-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ wily-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ wily-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ wily-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ wily main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ wily-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ wily-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ wily-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ wily-backports main restricted universe multiverse

或者下载相应版本的sources.list, 覆盖/etc/apt/sources.list即可(操作前请做好相应备份)

  • lucid(10.04)
  • precise(12.04)
  • trusty(14.04)
  • utopic(14.10)
  • vivid(15.04)
  • wily(15.10)

你可能感兴趣的:(网易Ubuntu镜像使用帮助(ubuntu15.10 修改源))