Debian 镜像

简介

Debian GNU/Linux,是一个操作系统及自由软件的发行版,由一群自愿付出时间和精力的用户来维护并更新。它附带了超过 59000 个软件包,这些预先编译好的软件被打包成一种良好的格式以便于用户安装和使用。

下载地址: https://mirrors.aliyun.com/debian/

相关仓库

配置方法

debian 7.x (wheezy)

编辑/etc/apt/sources.list文件(需要使用sudo), 在文件最前面添加以下条目(操作前请做好相应备份)

deb https://mirrors.aliyun.com/debian-archive/debian/ wheezy main non-free contrib
#deb https://mirrors.aliyun.com/debian-archive/debian/ wheezy-proposed-updates main non-free contrib
deb-src https://mirrors.aliyun.com/debian-archive/debian/ wheezy main non-free contrib
#deb-src https://mirrors.aliyun.com/debian-archive/debian/ wheezy-proposed-updates main non-free contrib

debian 8.x (jessie)

编辑/etc/apt/sources.list文件(需要使用sudo), 在文件最前面添加以下条目(操作前请做好相应备份)

deb https://mirrors.aliyun.com/debian-archive/debian/ jessie main non-free contrib
deb-src https://mirrors.aliyun.com/debian-archive/debian/ jessie main non-free contrib

debian 9.x (stretch)

编辑/etc/apt/sources.list文件(需要使用sudo), 在文件最前面添加以下条目(操作前请做好相应备份)

deb https://mirrors.aliyun.com/debian-archive/debian stretch main contrib non-free
#deb https://mirrors.aliyun.com/debian-archive/debian stretch-proposed-updates main non-free contrib
#deb https://mirrors.aliyun.com/debian-archive/debian stretch-backports main non-free contrib
deb https://mirrors.aliyun.com/debian-archive/debian-security stretch/updates main contrib non-free
deb-src https://mirrors.aliyun.com/debian-archive/debian stretch main contrib non-free
#deb-src https://mirrors.aliyun.com/debian-archive/debian stretch-proposed-updates main contrib non-free
#deb-src https://mirrors.aliyun.com/debian-archive/debian stretch-backports main contrib non-free
deb-src https://mirrors.aliyun.com/debian-archive/debian-security stretch/updates main contrib non-free

debian 10.x (buster)

编辑/etc/apt/sources.list文件(需要使用sudo), 在文件最前面添加以下条目(操作前请做好相应备份)

deb https://mirrors.aliyun.com/debian/ buster main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ buster main non-free contrib
deb https://mirrors.aliyun.com/debian-security buster/updates main
deb-src https://mirrors.aliyun.com/debian-security buster/updates main
deb https://mirrors.aliyun.com/debian/ buster-updates main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ buster-updates main non-free contrib

debian 11.x (bullseye)

编辑/etc/apt/sources.list文件(需要使用sudo), 在文件最前面添加以下条目(操作前请做好相应备份)

deb https://mirrors.aliyun.com/debian/ bullseye main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye main non-free contrib
deb https://mirrors.aliyun.com/debian-security/ bullseye-security main
deb-src https://mirrors.aliyun.com/debian-security/ bullseye-security main
deb https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
deb https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib

相关链接

特别声明:本镜像站内容来自第三方网站,阿里云会尽力审核镜像内容安全,但无法保证其完全合规,请您在下载前慎重考虑。具体请查看《阿里云开发者社区用户服务协议》、《阿里云镜像站特别条款》等。 如您发现镜像站有任何问题,可以填写镜像站投诉表单举报,我们将按照法律规定尽快进行处理。

推荐关注:
· 手慢无!云服务器免费领取,实时计算净省3258元 · 每周二看直播,学最新阿里开源技术

评论

登录后可评论
头像
快乐的阿俊
2025-01-04
下载的位置点进去就不能给个说明么,太麻烦了
1885484940049742、游客gtih4tf6kl7iw觉得很赞
Shape Created with Sketch. 2 Combined Shape Created with Sketch.
头像
source /etc/os-release tee /etc/apt/sources.list <<EOF deb https://mirrors.aliyun.com/debian/ ${VERSION_CODENAME} main non-free contrib deb https://mirrors.aliyun.com/debian-security/ ${VERSION_CODENAME}-security main deb https://mirrors.aliyun.com/debian/ ${VERSION_CODENAME}-updates main non-free non-free-firmware contrib deb https://mirrors.aliyun.com/debian/ ${VERSION_CODENAME}-backports main non-free non-free-firmware contrib EOF # debian 12, non-free 成 non-free non-free-firmware
Shape Created with Sketch. Combined Shape Created with Sketch.
头像
街角巫师
2024-04-13
debian12中使用了新配置方式,用下面这一行替换 sed -i 's|deb.debian.org|mirrors.aliyun.com|g' /etc/apt/sources.list.d/debian.sources
laocai_hehe、qqssdfd、游客itpdrtnsatkuq、游客idoj5uptes37m、1412030586463689觉得很赞
Shape Created with Sketch. 12 Combined Shape Created with Sketch.
头像
恍若风凉
2024-03-12
可以写个脚本 那个版本都能用 vinfo = $(cat /etc/os-release | grep ‘VERSION_CODENAME’ | awk -F ‘=’ ‘{print $2}’) && \ cat > /etc/apt/sources.list <<EOF deb https://mirrors.aliyun.com/debian/ $(vinfo) main non-free contrib deb-src https://mirrors.aliyun.com/debian/ $(vinfo) main non-free contrib ... EOF
游客xmjb25cwgoneu觉得很赞
Shape Created with Sketch. 1 Combined Shape Created with Sketch.
头像
恍若风凉
2024-03-12
这里有个版本自适应写法(支持所有版本 包括12) https://blog.tinyrui.com/2023/11/42/
Shape Created with Sketch. Combined Shape Created with Sketch.
头像
求知路上
2024-01-23
Debian 12 配置可以复制 11 版本的,啥都不用改,直接用就好了
Shape Created with Sketch. Combined Shape Created with Sketch. 1
2024-02-29
我的bookworm直接用bullseye镜像,可以sudo apt update,但是sudo apt install vim就报错: The following packages have unmet dependencies: vim : Depends: vim-common (= 2:8.2.2434-3+deb11u1) but 2:9.0.1378-2 is to be installed E: Unable to correct problems, you have held broken packages. 所以找到的包是有问题的
Shape Created with Sketch. Combined Shape Created with Sketch.
头像
debian 12.x (bookworm)\n\ndeb https://mirrors.aliyun.com/debian/ bookworm main contrib non-free non-free-firmware\ndeb https://mirrors.aliyun.com/debian-security/ bookworm-security main contrib non-free non-free-firmware\ndeb https://mirrors.aliyun.com/debian/ bookworm-updates main contrib non-free non-free-firmware\ndeb https://mirrors.aliyun.com/debian/ bookworm-backports main contrib non-free non-free-firmware
曇天觉得很赞
Shape Created with Sketch. 1 Combined Shape Created with Sketch.
头像
coodog
2023-11-24
Debian 12 配置可以复制 11 版本的,然后把 bullseye 替换为 bookworm,把 non-free 替换为 'non-free non-free-firmware' 然后 apt update
曇天、游客sud5ezeswpgxs觉得很赞
Shape Created with Sketch. 2 Combined Shape Created with Sketch.
头像
debian 9 需要改成: deb http://mirrors.aliyun.com/debian-archive/debian stretch main contrib non-free deb http://mirrors.aliyun.com/debian-archive/debian stretch-backports main deb http://mirrors.aliyun.com/debian-archive/debian-security stretch/updates main deb-src http://mirrors.aliyun.com/debian-archive/debian stretch main deb-src http://mirrors.aliyun.com/debian-archive/debian stretch-backports main deb-src http://mirrors.aliyun.com/debian-archive/debian-security stretch/updates main
游客234faw34qox2e、游客3ioqbxkbdgspy、awkejiang、nekoccc、游客ntsw4pxqgc4la觉得很赞
Shape Created with Sketch. 5 Combined Shape Created with Sketch. 2
2024-01-11
确实好用,点赞。
Shape Created with Sketch. Combined Shape Created with Sketch.
2023-11-24
赞,这个有用。如果报key is not available,执行:sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys &lt;PUB_KEY&gt;
Shape Created with Sketch. Combined Shape Created with Sketch.
头像
既然更新了源就不能顺手更新一下文档吗
游客afmc4qhopeong、265977303475403379觉得很赞
Shape Created with Sketch. 2 Combined Shape Created with Sketch.
镜像站 + 订阅

阿里巴巴镜像站技术社区

域名使用规则
  • 公网访问地址:

    https://mirrors.aliyun.com/

  • ECS VPC网络访问地址:

    http://mirrors.cloud.aliyuncs.com/

  • ECS 经典网络访问地址:

    http://mirrors.aliyuncs.com/

对于镜像有任何问题,欢迎给我们提问题!
立即提问
热门体验场景