概述
Debian
Debian Stable
deb https://mirrors.aliyun.com/debian stable main contrib non-free deb https://mirrors.aliyun.com/debian stable-updates main contrib non-free
Debian 10 (Buster)
使用清华大学开源软件镜像站:
#!/bin/sh cat > /etc/apt/sources.list.d/debian-10-tsinghua.list <<EOF deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free deb https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free EOF apt-get update
使用官方镜像站:
#!/bin/sh cat > /etc/apt/sources.list.d/debian-10-offical.list <<EOF deb http://deb.debian.org/debian buster main contrib non-free # deb-src http://deb.debian.org/debian buster main contrib non-free # deb http://security.debian.org/debian-security buster/updates main contrib # deb-src http://security.debian.org/debian-security buster/updates main contrib EOF apt-get update
Debian 9 (Stretch)
# 163镜像站 deb http://mirrors.163.com/debian/ stretch main non-free contrib deb http://mirrors.163.com/debian/ stretch-updates main non-free contrib deb http://mirrors.163.com/debian/ stretch-backports main non-free contrib deb-src http://mirrors.163.com/debian/ stretch main non-free contrib deb-src http://mirrors.163.com/debian/ stretch-updates main non-free contrib deb-src http://mirrors.163.com/debian/ stretch-backports main non-free contrib deb http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib deb-src http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib # 中科大镜像站 deb https://mirrors.ustc.edu.cn/debian/ stretch main contrib non-free deb-src https://mirrors.ustc.edu.cn/debian/ stretch main contrib non-free deb https://mirrors.ustc.edu.cn/debian/ stretch-updates main contrib non-free deb-src https://mirrors.ustc.edu.cn/debian/ stretch-updates main contrib non-free deb https://mirrors.ustc.edu.cn/debian/ stretch-backports main contrib non-free deb-src https://mirrors.ustc.edu.cn/debian/ stretch-backports main contrib non-free deb https://mirrors.ustc.edu.cn/debian-security/ stretch/updates main contrib non-free deb-src https://mirrors.ustc.edu.cn/debian-security/ stretch/updates main contrib non-free # 阿里云镜像站 deb http://mirrors.aliyun.com/debian/ stretch main non-free contrib deb-src http://mirrors.aliyun.com/debian/ stretch main non-free contrib deb http://mirrors.aliyun.com/debian-security stretch/updates main deb-src http://mirrors.aliyun.com/debian-security stretch/updates main deb http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib deb-src http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib deb http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib deb-src http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib # 华为镜像站 deb https://mirrors.huaweicloud.com/debian/ stretch main contrib non-free deb-src https://mirrors.huaweicloud.com/debian/ stretch main contrib non-free deb https://mirrors.huaweicloud.com/debian/ stretch-updates main contrib non-free deb-src https://mirrors.huaweicloud.com/debian/ stretch-updates main contrib non-free deb https://mirrors.huaweicloud.com/debian/ stretch-backports main contrib non-free deb-src https://mirrors.huaweicloud.com/debian/ stretch-backports main contrib non-free # 清华大学镜像站 deb https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch main contrib non-free deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch main contrib non-free deb https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch-updates main contrib non-free deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch-updates main contrib non-free deb https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch-backports main contrib non-free deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch-backports main contrib non-free deb https://mirrors.tuna.tsinghua.edu.cn/debian-security/ stretch/updates main contrib non-free deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security/ stretch/updates main contrib non-free # 兰州大学镜像站 deb http://mirror.lzu.edu.cn/debian stable main contrib non-free deb-src http://mirror.lzu.edu.cn/debian stable main contrib non-free deb http://mirror.lzu.edu.cn/debian stable-updates main contrib non-free deb-src http://mirror.lzu.edu.cn/debian stable-updates main contrib non-free deb http://mirror.lzu.edu.cn/debian/ stretch-backports main contrib non-free deb-src http://mirror.lzu.edu.cn/debian/ stretch-backports main contrib non-free deb http://mirror.lzu.edu.cn/debian-security/ stretch/updates main contrib non-free deb-src http://mirror.lzu.edu.cn/debian-security/ stretch/updates main contrib non-free # 上海交大镜像站 deb https://mirror.sjtu.edu.cn/debian/ stretch main contrib non-free deb-src https://mirror.sjtu.edu.cn/debian/ stretch main contrib non-free deb https://mirror.sjtu.edu.cn/debian/ stretch-updates main contrib non-free deb-src https://mirror.sjtu.edu.cn/debian/ stretch-updates main contrib non-free deb https://mirror.sjtu.edu.cn/debian/ stretch-backports main contrib non-free deb-src https://mirror.sjtu.edu.cn/debian/ stretch-backports main contrib non-free deb https://mirror.sjtu.edu.cn/debian-security/ stretch/updates main contrib non-free deb-src https://mirror.sjtu.edu.cn/debian-security/ stretch/updates main contrib non-free
Debain 8 (Jessie)
# 官方源 deb http://deb.debian.org/debian/ jessie main contrib non-free deb-src http://deb.debian.org/debian/ jessie main contrib non-free deb http://security.debian.org/ jessie/updates main contrib non-free deb-src http://security.debian.org/ jessie/updates main contrib non-free # 163源 deb http://mirrors.163.com/debian/ jessie main non-free contrib deb http://mirrors.163.com/debian/ jessie-updates main non-free contrib deb http://mirrors.163.com/debian/ jessie-backports main non-free contrib deb-src http://mirrors.163.com/debian/ jessie main non-free contrib deb-src http://mirrors.163.com/debian/ jessie-updates main non-free contrib deb-src http://mirrors.163.com/debian/ jessie-backports main non-free contrib deb http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib deb-src http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib ##中科大源 deb http://mirrors.ustc.edu.cn/debian jessie main contrib non-free deb-src http://mirrors.ustc.edu.cn/debian jessie main contrib non-free deb http://mirrors.ustc.edu.cn/debian jessie-proposed-updates main contrib non-free deb-src http://mirrors.ustc.edu.cn/debian jessie-proposed-updates main contrib non-free deb http://mirrors.ustc.edu.cn/debian jessie-updates main contrib non-free deb-src http://mirrors.ustc.edu.cn/debian jessie-updates main contrib non-free
Debian 7.0 (Wheezy)
#!/bin/sh cp /etc/apt/sources.list /etc/apt/sources.list.backup cat > /etc/apt/sources.list <<EOF deb http://mirrors.aliyun.com/debian wheezy main contrib non-free deb-src http://mirrors.aliyun.com/debian wheezy main contrib non-free deb http://mirrors.aliyun.com/debian wheezy-updates main contrib non-free deb-src http://mirrors.aliyun.com/debian wheezy-updates main contrib non-free deb http://mirrors.aliyun.com/debian-security wheezy/updates main contrib non-free deb-src http://mirrors.aliyun.com/debian-security wheezy/updates main contrib non-free EOF
Ubuntu
18.04
# deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse # deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse # deb https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
10.10
deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted deb-src http://old-releases.ubuntu.com/ubuntu/ maverick main restricted deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted deb http://old-releases.ubuntu.com/ubuntu/ maverick universe deb-src http://old-releases.ubuntu.com/ubuntu/ maverick universe deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates universe deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-updates universe deb http://old-releases.ubuntu.com/ubuntu/ maverick multiverse deb-src http://old-releases.ubuntu.com/ubuntu/ maverick multiverse deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates multiverse deb-src http://old-releases.ubuntu.com/ubuntu/ maverick-updates multiverse #deb http://www.remastersys.com/ubuntu maverick main deb http://old-releases.ubuntu.com/ubuntu maverick main universe restricted multiverse deb-src http://old-releases.ubuntu.com/ubuntu maverick main universe restricted multiverse deb http://old-releases.ubuntu.com/ubuntu maverick-security universe main multiverse restricted deb-src http://old-releases.ubuntu.com/ubuntu maverick-security universe main multiverse restricted deb http://old-releases.ubuntu.com/ubuntu maverick-updates universe main multiverse restricted deb http://old-releases.ubuntu.com/ubuntu maverick-proposed universe main multiverse restricted deb-src http://old-releases.ubuntu.com/ubuntu maverick-proposed universe main multiverse restricted deb http://old-releases.ubuntu.com/ubuntu maverick-backports universe main multiverse restricted deb-src http://old-releases.ubuntu.com/ubuntu maverick-backports universe main multiverse restricted deb-src http://old-releases.ubuntu.com/ubuntu maverick-updates universe main multiverse restricted
KaLi Rolling
# 官方源 deb http://http.kali.org/kali kali-rolling main non-free contrib deb-src http://http.kali.org/kali kali-rolling main non-free contrib # http://mirrors.neusoft.edu.cn/kali/ # http://http.kali.org/
相关文章
「Kali Linux」- 使用旧源
参考文献
Ubuntu18.04更换国内源
debian设置软件源为阿里云
Debian10更换apt源
Debian10更换apt源
Debian 9 Stretch国内常用镜像源
最后
以上就是搞怪天空为你收集整理的「Debian/Ubuntu」- 常用仓库(源)整理 @20210318的全部内容,希望文章能够帮你解决「Debian/Ubuntu」- 常用仓库(源)整理 @20210318所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复