Skip to content

Commit 2bec5d4

Browse files
authored
Update CentOS-Extra-Packages.md
1 parent 3a3c37b commit 2bec5d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

centos-settings/CentOS-Extra-Packages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
- 官网中文材料:<https://fedoraproject.org/wiki/EPEL/zh-cn>
5959
- 安装命令:`sudo yum install -y epel-release`
6060
- CentOS 6 导入 KEY:`rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6`
61-
- CentOS 7 导入 KEY:`rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6`
61+
- CentOS 7 导入 KEY:`rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7`
6262
- 设置 EPEL 源的级别:`vim /etc/yum.repos.d/epel.repo`,追加:priority=11
6363
- 卸载 EPEL 源
6464
- 如果你暂时不想使用 EPEL 源的话,把 epel.repo 里的 enabled=1 改成 enabled=0 即可,如果你完全不需要了,那就直接卸载掉 `sudo rpm -e epel-release`

0 commit comments

Comments
 (0)