help
  • Introduction
  • Alpine Linux 源使用帮助
  • Anaconda 源使用帮助
  • AOSC Linux 源使用帮助
  • Apache 源使用帮助
  • Arch Linux 源使用帮助
  • Arch Linux CN 源使用帮助
  • CentOS 源使用帮助
  • CocoaPods 源使用帮助
  • CPAN 源使用帮助
  • CRAN 源使用帮助
  • CTAN 源使用帮助
  • Cygwin 源使用帮助
  • Dart 加速源使用帮助
  • Deb Multimedia源使用帮助
  • Debian源使用帮助
  • Docker Hub 源使用帮助
  • Docker-CE 源使用帮助
  • epel 源使用帮助
  • Fedora 源使用帮助
  • Gentoo 源使用帮助
  • Homebrew 源使用帮助
  • Homebrew-bottles 源使用帮助
  • Homebrew-cask 源使用帮助
  • Homebrew-core 源使用帮助
  • Kali Linux 源使用帮助
  • Linux mint 源使用帮助
  • Manjaro Linux 源使用帮助
  • MariaDB 源使用帮助
  • Maven 源使用帮助
  • MongoDB 源使用帮助
  • Msys2 源使用帮助
  • Node 源使用帮助
  • openSUSE 源使用帮助
  • Repoforge 源使用帮助
  • PostgreSQL 源使用帮助
  • PPA 加速源使用帮助
  • Pritunl 源使用帮助
  • Pypi 源使用帮助
  • Raspbian 源使用帮助
  • Repoforge 源使用帮助
  • Ruby 源使用帮助
  • Rubygems 源使用帮助
  • saltstack 源使用帮助
  • Ubuntu 源使用帮助
  • Ubuntu-Ports 源使用帮助
  • Virutalbox 源使用帮助
  • Vscode 源使用帮助
  • Zabbix 源使用帮助
  • Zerotier 源使用帮助
Powered by GitBook
On this page
  • 收录架构
  • 收录版本
  • 使用说明
  • 相关链接

Was this helpful?

Ubuntu 源使用帮助

Previoussaltstack 源使用帮助NextUbuntu-Ports 源使用帮助

Last updated 4 years ago

Was this helpful?

收录架构

ALL

收录版本

所有 Ubuntu 当前支持的版本,包括开发版,具体版本见

使用说明

  • 自动更改配置文件

暂不可用

  • 手动更改配置文件

操作前请做好相应备份

一般情况下,更改/etc/apt/sources.list文件中 Ubuntu 默认的源地址 为

可以使用如下命令:

sudo sed -i 's/archive.ubuntu.com/mirrors.shuosc.cn/g' /etc/apt/sources.list

当然直接编辑 /etc/apt/sources.list文件(需要使用 sudo)也可以,以 Ubuntu 16.04 为例,在文件最前面添加以下条目:

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.shuosc.cn/ubuntu/ xenial main restricted universe multiverse
# deb-src https://mirrors.shuosc.cn/ubuntu/ xenial main restricted universe multiverse
deb https://mirrors.shuosc.cn/ubuntu/ xenial-updates main restricted universe multiverse
# deb-src https://mirrors.shuosc.cn/ubuntu/ xenial-updates main restricted universe multiverse
deb https://mirrors.shuosc.cn/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src https://mirrors.shuosc.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb https://mirrors.shuosc.cn/ubuntu/ xenial-security main restricted universe multiverse
# deb-src https://mirrors.shuosc.cn/ubuntu/ xenial-security main restricted universe multiverse

# 预发布软件源,不建议启用
# deb https://mirrors.shuosc.cn/ubuntu/ xenial-proposed main restricted universe multiverse
# deb-src https://mirrors.shuosc.cn/ubuntu/ xenial-proposed main restricted universe multiverse

相关链接

另外,也可以中科大 snullp 大叔开发的

官方主页:

文档:

Wiki:

提问:

邮件列表:

论坛:

中文论坛:

https://wiki.ubuntu.com/Releases
http://archive.ubuntu.com/
http://mirrors.shuosc.cn即可。
配置生成器
https://ubuntu.com/
https://help.ubuntu.com/
https://wiki.ubuntu.com/
https://askubuntu.com/
https://ubuntu.com/support/community/mailinglists
https://ubuntuforums.org/
https://forum.ubuntu.org.cn/