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
  • Debian 源使用帮助
  • 地址
  • 说明
  • 收录架构
  • 收录版本
  • 使用说明
  • 相关链接

Was this helpful?

Debian源使用帮助

PreviousDeb Multimedia源使用帮助NextDocker Hub 源使用帮助

Last updated 4 years ago

Was this helpful?

Debian 源使用帮助

地址

说明

Debian 软件源

收录架构

Debian 支持的所有架构,如 AMD64 (x86_64), Intel x86, ARM, MIPS, ppc64el, s390x 等

收录版本

Debian Old Stable, Stable, Testing, Unstable(sid)

当前 Stable 为 Debian 8,代号为 Jessie

使用说明

提示:操作前请做好相应备份

可以使用如下命令:

sudo sed -i 's/httpredir.debian.org/mirrors.shuosc.cn/g' /etc/apt/sources.list

当然也可以直接编辑 /etc/apt/sources.list 文件(需要使用sudo)。以下是 Debian Stable 参考配置内容:

deb http://mirrors.shuosc.cn/debian stable main contrib non-free
# deb-src http://mirrors.shuosc.cn/debian stable main contrib non-free
deb http://mirrors.shuosc.cn/debian stable-updates main contrib non-free
# deb-src http://mirrors.shuosc.cn/debian stable-updates main contrib non-free

# deb http://mirrors.shuosc.cn/debian stable-proposed-updates main contrib non-free
# deb-src http://mirrors.shuosc.cn/debian stable-proposed-updates main contrib non-free

同时你也可能需要更改 Debian Security 源,请参考debian-security

更改完sources.list 文件后请运行 sudo apt-get update 更新索引以生效。

提示:使用 HTTPS 可以有效避免国内运营商的缓存劫持,但需要事先安装 apt-transport-https

相关链接

一般情况下,将 /etc/apt/sources.list 文件中 Debian 默认的源地址 替换为 即可。

另外,也可以使用中科大 snullp 大叔开发的 配置生成器

官方主页:

邮件列表:

Wiki:

文档:

镜像列表:

https://mirrors.shuosc.cn/debian/
http://httpredir.debian.org/
http://mirrors.shuosc.cn
https://mirrors.ustc.edu.cn/repogen。
https://www.debian.org/
https://www.debian.org/MailingLists/
https://wiki.debian.org/
https://www.debian.org/doc/
https://www.debian.org/mirror/list