说明:
15.5
替换为版本号即可repo-sle-update
和 repo-backports-update
软件源oss
、non-oss
、update
这 3 个官方软件源。其中 oss
及 non-oss
源用于发布 Tumbleweed 的每日构建快照,快照中已包含系统所需的全部软件包及更新;update
源仅用于推送临时安全补丁,如当日快照已发布但仍有临时安全补丁时,会首先推送至 update
源,并在次日合入下一版快照。update
源存在较强的时效性,因此部分镜像并未同步 update
源。 禁用 update
源并不会使系统缺失任何功能或安全更新,仅会导致极少数更新晚些推送,如有需求可以重新启用官方 update
源。zypper lr -d
zypper mr -da
zypper ar -fcg 软件源URL 软件源别称(alias)
zypper ref
zypper ar -fcg https://download.opensuse.org/distribution/leap/15.6/repo/oss/ repo-oss
zypper ar -fcg https://download.opensuse.org/distribution/leap/15.6/repo/non-oss/ repo-non-oss
zypper ar -fcg https://download.opensuse.org/update/leap/15.6/oss/ repo-update
zypper ar -fcg https://download.opensuse.org/update/leap/15.6/non-oss/ repo-update-non-oss
zypper ar -fcg https://download.opensuse.org/update/leap/15.6/sle/ repo-sle-update
zypper ar -fcg https://download.opensuse.org/update/leap/15.6/backports/ repo-backports-update
zypper ar -fcg https://download.opensuse.org/distribution/leap/15.5/repo/oss/ repo-oss
zypper ar -fcg https://download.opensuse.org/distribution/leap/15.5/repo/non-oss/ repo-non-oss
zypper ar -fcg https://download.opensuse.org/update/leap/15.5/oss/ repo-update
zypper ar -fcg https://download.opensuse.org/update/leap/15.5/non-oss/ repo-update-non-oss
zypper ar -fcg https://download.opensuse.org/update/leap/15.5/sle/ repo-sle-update
zypper ar -fcg https://download.opensuse.org/update/leap/15.5/backports/ repo-backports-update
zypper ar -fcg https://download.opensuse.org/tumbleweed/repo/oss/ download.opensuse.org-oss
zypper ar -fcg https://download.opensuse.org/tumbleweed/repo/non-oss/ download.opensuse.org-non-oss
zypper ar -fcg https://download.opensuse.org/update/tumbleweed/ download.opensuse.org-tumbleweed
zypper ar -fcg https://mirrors.cernet.edu.cn/opensuse/distribution/leap/15.6/repo/oss/ CERNET:OSS
zypper ar -fcg https://mirrors.cernet.edu.cn/opensuse/distribution/leap/15.6/repo/non-oss/ CERNET:NON-OSS
zypper ar -fcg https://mirrors.cernet.edu.cn/opensuse/update/leap/15.6/oss/ CERNET:UPDATE-OSS
zypper ar -fcg https://mirrors.cernet.edu.cn/opensuse/update/leap/15.6/non-oss/ CERNET:UPDATE-NON-OSS
zypper ar -fcg https://mirrors.cernet.edu.cn/opensuse/update/leap/15.6/sle/ CERNET:UPDATE-SLE
zypper ar -fcg https://mirrors.cernet.edu.cn/opensuse/update/leap/15.6/backports/ CERNET:UPDATE-BACKPORTS
zypper ar -fcg https://mirrors.cernet.edu.cn/opensuse/distribution/leap/15.5/repo/oss/ CERNET:OSS
zypper ar -fcg https://mirrors.cernet.edu.cn/opensuse/distribution/leap/15.5/repo/non-oss/ CERNET:NON-OSS
zypper ar -fcg https://mirrors.cernet.edu.cn/opensuse/update/leap/15.5/oss/ CERNET:UPDATE-OSS
zypper ar -fcg https://mirrors.cernet.edu.cn/opensuse/update/leap/15.5/non-oss/ CERNET:UPDATE-NON-OSS
zypper ar -fcg https://mirrors.cernet.edu.cn/opensuse/update/leap/15.5/sle/ CERNET:UPDATE-SLE
zypper ar -fcg https://mirrors.cernet.edu.cn/opensuse/update/leap/15.5/backports/ CERNET:UPDATE-BACKPORTS
zypper ar -fcg https://mirrors.cernet.edu.cn/opensuse/tumbleweed/repo/oss/ CERNET:OSS
zypper ar -fcg https://mirrors.cernet.edu.cn/opensuse/tumbleweed/repo/non-oss/ CERNET:NON-OSS
zypper ar -fcg https://mirrors.cernet.edu.cn/opensuse/update/tumbleweed/ CERNET:UPDATE
zypper ar -fcg https://mirror.iscas.ac.cn/opensuse/distribution/leap/15.6/repo/oss/ ISCAS:OSS
zypper ar -fcg https://mirror.iscas.ac.cn/opensuse/distribution/leap/15.6/repo/non-oss/ ISCAS:NON-OSS
zypper ar -fcg https://mirror.iscas.ac.cn/opensuse/update/leap/15.6/oss/ ISCAS:UPDATE-OSS
zypper ar -fcg https://mirror.iscas.ac.cn/opensuse/update/leap/15.6/non-oss/ ISCAS:UPDATE-NON-OSS
zypper ar -fcg https://mirror.iscas.ac.cn/opensuse/update/leap/15.6/sle/ ISCAS:UPDATE-SLE
zypper ar -fcg https://mirror.iscas.ac.cn/opensuse/update/leap/15.6/backports/ ISCAS:UPDATE-BACKPORTS
zypper ar -fcg https://mirror.iscas.ac.cn/opensuse/distribution/leap/15.5/repo/oss/ ISCAS:OSS
zypper ar -fcg https://mirror.iscas.ac.cn/opensuse/distribution/leap/15.5/repo/non-oss/ ISCAS:NON-OSS
zypper ar -fcg https://mirror.iscas.ac.cn/opensuse/update/leap/15.5/oss/ ISCAS:UPDATE-OSS
zypper ar -fcg https://mirror.iscas.ac.cn/opensuse/update/leap/15.5/non-oss/ ISCAS:UPDATE-NON-OSS
zypper ar -fcg https://mirror.iscas.ac.cn/opensuse/update/leap/15.5/sle/ ISCAS:UPDATE-SLE
zypper ar -fcg https://mirror.iscas.ac.cn/opensuse/update/leap/15.5/backports/ ISCAS:UPDATE-BACKPORTS
zypper ar -fcg https://mirror.iscas.ac.cn/opensuse/tumbleweed/repo/oss/ ISCAS:OSS
zypper ar -fcg https://mirror.iscas.ac.cn/opensuse/tumbleweed/repo/non-oss/ ISCAS:NON-OSS
zypper ar -fcg https://mirror.iscas.ac.cn/opensuse/update/tumbleweed/ ISCAS:UPDATE
zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/distribution/leap/15.6/repo/oss/ USTC:OSS
zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/distribution/leap/15.6/repo/non-oss/ USTC:NON-OSS
zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/update/leap/15.6/oss/ USTC:UPDATE-OSS
zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/update/leap/15.6/non-oss/ USTC:UPDATE-NON-OSS
zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/update/leap/15.6/sle/ USTC:UPDATE-SLE
zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/update/leap/15.6/backports/ USTC:UPDATE-BACKPORTS
zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/distribution/leap/15.5/repo/oss/ USTC:OSS
zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/distribution/leap/15.5/repo/non-oss/ USTC:NON-OSS
zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/update/leap/15.5/oss/ USTC:UPDATE-OSS
zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/update/leap/15.5/non-oss/ USTC:UPDATE-NON-OSS
zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/update/leap/15.5/sle/ USTC:UPDATE-SLE
zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/update/leap/15.5/backports/ USTC:UPDATE-BACKPORTS
zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/tumbleweed/repo/oss/ USTC:OSS
zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/tumbleweed/repo/non-oss/ USTC:NON-OSS
zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/update/tumbleweed/ USTC:UPDATE
zypper ar -fcg https://mirrors.zju.edu.cn/opensuse/distribution/leap/15.6/repo/oss/ ZJU:OSS
zypper ar -fcg https://mirrors.zju.edu.cn/opensuse/distribution/leap/15.6/repo/non-oss/ ZJU:NON-OSS
zypper ar -fcg https://mirrors.zju.edu.cn/opensuse/update/leap/15.6/oss/ ZJU:UPDATE-OSS
zypper ar -fcg https://mirrors.zju.edu.cn/opensuse/update/leap/15.6/non-oss/ ZJU:UPDATE-NON-OSS
zypper ar -fcg https://mirrors.zju.edu.cn/opensuse/update/leap/15.6/sle/ ZJU:UPDATE-SLE
zypper ar -fcg https://mirrors.zju.edu.cn/opensuse/update/leap/15.6/backports/ ZJU:UPDATE-BACKPORTS
zypper ar -fcg https://mirrors.zju.edu.cn/opensuse/distribution/leap/15.5/repo/oss/ ZJU:OSS
zypper ar -fcg https://mirrors.zju.edu.cn/opensuse/distribution/leap/15.5/repo/non-oss/ ZJU:NON-OSS
zypper ar -fcg https://mirrors.zju.edu.cn/opensuse/update/leap/15.5/oss/ ZJU:UPDATE-OSS
zypper ar -fcg https://mirrors.zju.edu.cn/opensuse/update/leap/15.5/non-oss/ ZJU:UPDATE-NON-OSS
zypper ar -fcg https://mirrors.zju.edu.cn/opensuse/update/leap/15.5/sle/ ZJU:UPDATE-SLE
zypper ar -fcg https://mirrors.zju.edu.cn/opensuse/update/leap/15.5/backports/ ZJU:UPDATE-BACKPORTS
zypper ar -fcg https://mirrors.zju.edu.cn/opensuse/tumbleweed/repo/oss/ ZJU:OSS
zypper ar -fcg https://mirrors.zju.edu.cn/opensuse/tumbleweed/repo/non-oss/ ZJU:NON-OSS
zypper ar -fcg https://mirrors.zju.edu.cn/opensuse/update/tumbleweed/ ZJU:UPDATE
zypper ar -fcg https://mirrors.nju.edu.cn/opensuse/distribution/leap/15.6/repo/oss/ NJU:OSS
zypper ar -fcg https://mirrors.nju.edu.cn/opensuse/distribution/leap/15.6/repo/non-oss/ NJU:NON-OSS
zypper ar -fcg https://mirrors.nju.edu.cn/opensuse/update/leap/15.6/oss/ NJU:UPDATE-OSS
zypper ar -fcg https://mirrors.nju.edu.cn/opensuse/update/leap/15.6/non-oss/ NJU:UPDATE-NON-OSS
zypper ar -fcg https://mirrors.nju.edu.cn/opensuse/update/leap/15.6/sle/ NJU:UPDATE-SLE
zypper ar -fcg https://mirrors.nju.edu.cn/opensuse/update/leap/15.6/backports/ NJU:UPDATE-BACKPORTS
zypper ar -fcg https://mirrors.nju.edu.cn/opensuse/distribution/leap/15.5/repo/oss/ NJU:OSS
zypper ar -fcg https://mirrors.nju.edu.cn/opensuse/distribution/leap/15.5/repo/non-oss/ NJU:NON-OSS
zypper ar -fcg https://mirrors.nju.edu.cn/opensuse/update/leap/15.5/oss/ NJU:UPDATE-OSS
zypper ar -fcg https://mirrors.nju.edu.cn/opensuse/update/leap/15.5/non-oss/ NJU:UPDATE-NON-OSS
zypper ar -fcg https://mirrors.nju.edu.cn/opensuse/update/leap/15.5/sle/ NJU:UPDATE-SLE
zypper ar -fcg https://mirrors.nju.edu.cn/opensuse/update/leap/15.5/backports/ NJU:UPDATE-BACKPORTS
zypper ar -fcg https://mirrors.nju.edu.cn/opensuse/tumbleweed/repo/oss/ NJU:OSS
zypper ar -fcg https://mirrors.nju.edu.cn/opensuse/tumbleweed/repo/non-oss/ NJU:NON-OSS
zypper ar -fcg https://mirrors.nju.edu.cn/opensuse/update/tumbleweed/ NJU:UPDATE
zypper ar -fcg https://ftp.riken.jp//Linux/opensuse/distribution/leap/15.6/repo/oss/ RIKEN:OSS
zypper ar -fcg https://ftp.riken.jp//Linux/opensuse/distribution/leap/15.6/repo/non-oss/ RIKEN:NON-OSS
zypper ar -fcg https://ftp.riken.jp//Linux/opensuse/update/leap/15.6/oss/ RIKEN:UPDATE-OSS
zypper ar -fcg https://ftp.riken.jp//Linux/opensuse/update/leap/15.6/non-oss/ RIKEN:UPDATE-NON-OSS
zypper ar -fcg https://ftp.riken.jp//Linux/opensuse/update/leap/15.6/sle/ RIKEN:UPDATE-SLE
zypper ar -fcg https://ftp.riken.jp//Linux/opensuse/update/leap/15.6/backports/ RIKEN:UPDATE-BACKPORTS
zypper ar -fcg https://ftp.riken.jp//Linux/opensuse/tumbleweed/repo/oss/ RIKEN:OSS
zypper ar -fcg https://ftp.riken.jp//Linux/opensuse/tumbleweed/repo/non-oss/ RIKEN:NON-OSS
zypper ar -fcg https://ftp.riken.jp/Linux/opensuse/update/tumbleweed/ RIKEN:UPDATE-OSS
zypper ar -fcg https://ftp.riken.jp/Linux/opensuse/update/tumbleweed-non-oss/ RIKEN:UPDATE-NON-OSS
zypper ar -fcg https://ftp.jaist.ac.jp/pub/Linux/openSUSE/distribution/leap/15.6/repo/oss/ JAIST:OSS
zypper ar -fcg https://ftp.jaist.ac.jp/pub/Linux/openSUSE/distribution/leap/15.6/repo/non-oss/ JAIST:NON-OSS
zypper ar -fcg https://ftp.jaist.ac.jp/pub/Linux/openSUSE/update/leap/15.6/oss/ JAIST:UPDATE-OSS
zypper ar -fcg https://ftp.jaist.ac.jp/pub/Linux/openSUSE/update/leap/15.6/non-oss/ JAIST:UPDATE-NON-OSS
zypper ar -fcg https://ftp.jaist.ac.jp/pub/Linux/openSUSE/update/leap/15.6/sle/ JAIST:UPDATE-SLE
zypper ar -fcg https://ftp.jaist.ac.jp/pub/Linux/openSUSE/update/leap/15.6/backports/ JAIST:UPDATE-BACKPORTS
zypper ar -fcg https://ftp.jaist.ac.jp/pub/Linux/openSUSE/update/tumbleweed/ JAIST:UPDATE-OSS
zypper ar -fcg https://ftp.jaist.ac.jp/pub/Linux/openSUSE/update/tumbleweed-non-oss/ JAIST:UPDATE-NON-OSS
zypper ar -fcg https://ftp-srv2.kddilabs.jp/Linux/packages/opensuse/distribution/leap/15.6/repo/oss/ KDDI:OSS
zypper ar -fcg https://ftp-srv2.kddilabs.jp/Linux/packages/opensuse/distribution/leap/15.6/repo/non-oss/ KDDI:NON-OSS
zypper ar -fcg https://ftp-srv2.kddilabs.jp/Linux/packages/opensuse/update/leap/15.6/oss/ KDDI:UPDATE-OSS
zypper ar -fcg https://ftp-srv2.kddilabs.jp/Linux/packages/opensuse/update/leap/15.6/non-oss/ KDDI:UPDATE-NON-OSS
zypper ar -fcg https://ftp-srv2.kddilabs.jp/Linux/packages/opensuse/update/leap/15.6/sle/ KDDI:UPDATE-SLE
zypper ar -fcg https://ftp-srv2.kddilabs.jp/Linux/packages/opensuse/update/leap/15.6/backports/ KDDI:UPDATE-BACKPORTS