mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
2.2 KiB
2.2 KiB
| category | layout | mirrorid |
|---|---|---|
| help | help | repoforge |
Repoforge (原Rpmforge) 镜像使用帮助
Repoforge 是 RHEL 系统下的软件仓库,拥有 10000 多个软件包,被认为是最安全、最稳定的一个软件仓库。
添加 Repoforge 仓库
- 运行
cat /etc/redhat-release获取 EL 版本号(如 EL6, EL7 等) - 向系统中添加 Repoforge 的 GPG 公钥:
rpm --import https://{{ site.hostname }}/repoforge/RPM-GPG-KEY.dag.txt
- 运行下列命令:
EL7
EL6
EL5
EL4
EL3
{% raw %}
{% endraw %}
更新软件包缓存
sudo yum makecache