我爱编程

转载:openSUSE中科大源使用帮助

2018-04-15  本文已影响106人  独孤星夜的孤独等待

原文链接

http://mirrors.ustc.edu.cn/help/opensuse.html

地址

https://mirrors.ustc.edu.cn/opensuse/

说明

openSUSE 软件源

收录架构

i586, x86_64

使用说明

手动配置软件源

Attention!

以下配置方法适用于从未自行配置软件源的用户,其他用户请根据具体情况自行配置 ,以下仅供参考。

禁用原有软件源;

sudo zypper mr -da

添加科大镜像源,以 openSUSE Leap 42.3 为例:

sudo zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/distribution/leap/42.3/repo/oss USTC:42.3:OSS
sudo zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/distribution/leap/42.3/repo/non-oss USTC:42.3:NON-OSS
sudo zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/update/leap/42.3/oss USTC:42.3:UPDATE-OSS
sudo zypper ar -fcg https://mirrors.ustc.edu.cn/opensuse/update/leap/42.3/non-oss USTC:42.3:UPDATE-NON-OSS

命令中最后一个参数为每一个源指定了一个 alias (别称),可以根据个人喜好更改。

手动刷新软件源

sudo zypper ref

图形界面下配置方法

以 openSUSE Leap 42.3 为例:

  1. 打开 YaST;
  2. 点击 Software 分组中的 Software Repositories;
  3. 在打开的窗口上方的列表中点击 openSUSE-Leap-42.3-Oss ,点击 Edit;
  4. 将 download.opensuse.org 替换为 mirrors.ustc.edu.cn/opensuse,点OK;
  5. 再用同样的方法编辑 openSUSE-Leap-42.3-Oss 和 openSUSE-Leap-42.3-Oss。

注意事项

相关链接

项目 链接
官方主页: https://www.opensuse.org/
邮件列表: https://en.opensuse.org/Communicate/Mailinglists
论坛: https://forums.opensuse.org/
中文论坛: https://forum.suse.org.cn/
Wiki: https://en.opensuse.org/
中文 Wiki: https://zh.opensuse.org/
文档: https://en.opensuse.org/Documentation
openSUSE Guide: https://lug.ustc.edu.cn/sites/opensuse-guide/
上一篇 下一篇

猜你喜欢

热点阅读