健康一贴灵,专注医药行业管理信息化

opensuse15.1更换清华源

sudo zypper mr -da   首先禁用官方源
  • 1
sudo zypper ar -fcg https://mirror.tuna.tsinghua.edu.cn/opensuse/distribution/leap/15.1/repo/oss/ USTC:15.1:OSS
  • 1
sudo zypper ar -fcg https://mirror.tuna.tsinghua.edu.cn/opensuse/distribution/leap/15.1/repo/non-oss/ USTC:15.1:NON-OSS
  • 1
sudo zypper ar -fcg https://mirror.tuna.tsinghua.edu.cn/opensuse/update/leap/15.1/oss/ USTC:15.1:UPDATE-OSS
  • 1
sudo zypper ar -fcg https://mirror.tuna.tsinghua.edu.cn/opensuse/update/leap/15.1/non-oss/ USTC:15.1:UPDATE-NON-OSS
  • 1

在这里插入图片描述

手动刷新软件源
sudo zypper ref

posted @ 2021-01-20 17:08  一贴灵  阅读(402)  评论(0)    收藏  举报
学以致用,效率第一