{"id":33166,"date":"2025-04-26T21:05:25","date_gmt":"2025-04-26T13:05:25","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/33166.html"},"modified":"2025-04-26T21:05:25","modified_gmt":"2025-04-26T13:05:25","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8-centos-8-%e5%92%8c-rhel-8-%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e5%90%af%e7%94%a8-epel-%e4%bb%93%e5%ba%93","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/33166.html","title":{"rendered":"\u5982\u4f55\u5728 CentOS 8 \u548c RHEL 8 \u670d\u52a1\u5668\u4e0a\u542f\u7528 EPEL \u4ed3\u5e93"},"content":{"rendered":"<h2><\/h2>\n<p> EPEL \u4ed3\u5e93\u63d0\u4f9b\u4e86\u989d\u5916\u7684\u8f6f\u4ef6\u5305&#xff0c;\u8fd9\u4e9b\u8f6f\u4ef6\u5728 CentOS 8 \u548c RHEL 8 \u7684\u9ed8\u8ba4\u8f6f\u4ef6\u5305\u4ed3\u5e93\u4e2d\u4e0d\u53ef\u7528\u3002<br \/>\n  &#8212; Pradeep Kumar&#xff08;\u4f5c\u8005&#xff09; <\/p>\n<p>EPEL \u4ee3\u8868 \u201cExtra Packages for Enterprise Linux\u201d&#xff0c;\u5b83\u662f\u4e00\u4e2a\u81ea\u7531\u5f00\u6e90\u7684\u9644\u52a0\u8f6f\u4ef6\u5305\u4ed3\u5e93&#xff0c;\u53ef\u7528\u4e8e CentOS \u548c RHEL \u670d\u52a1\u5668\u3002\u987e\u540d\u601d\u4e49&#xff0c;EPEL \u4ed3\u5e93\u63d0\u4f9b\u4e86\u989d\u5916\u7684\u8f6f\u4ef6\u5305&#xff0c;\u8fd9\u4e9b\u8f6f\u4ef6\u5728\u00a0CentOS 8\u00a0\u548c\u00a0RHEL 8\u00a0\u7684\u9ed8\u8ba4\u8f6f\u4ef6\u5305\u4ed3\u5e93\u4e2d\u4e0d\u53ef\u7528\u3002<\/p>\n<p>\u5728\u672c\u6587\u4e2d&#xff0c;\u6211\u4eec\u5c06\u6f14\u793a\u5982\u4f55\u5728 CentOS 8 \u548c RHEL 8 \u670d\u52a1\u5668\u4e0a\u542f\u7528\u548c\u4f7f\u7528 EPEL \u5b58\u50a8\u5e93\u3002<\/p>\n<h3>EPEL \u4ed3\u5e93\u7684\u5148\u51b3\u6761\u4ef6<\/h3>\n<ul>\n<li>\u6700\u5c0f\u5316\u5b89\u88c5\u7684 CentOS 8 \u548c RHEL 8 \u670d\u52a1\u5668<\/li>\n<li>root \u6216 sudo \u7ba1\u7406\u5458\u6743\u9650<\/li>\n<li>\u7f51\u7edc\u8fde\u63a5<\/li>\n<\/ul>\n<h3>\u5728 RHEL 8.x \u670d\u52a1\u5668\u4e0a\u5b89\u88c5\u5e76\u542f\u7528 EPEL \u4ed3\u5e93<\/h3>\n<p>\u767b\u5f55\u6216 SSH \u5230\u4f60\u7684 RHEL 8.x \u670d\u52a1\u5668&#xff0c;\u5e76\u6267\u884c\u4ee5\u4e0b\u00a0dnf\u00a0\u547d\u4ee4\u6765\u5b89\u88c5 EPEL rpm \u5305&#xff0c;<\/p>\n<p>[root&#064;linuxtechi ~]# dnf install https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-8.noarch.rpm -y <\/p>\n<p>\u4e0a\u9762\u547d\u4ee4\u7684\u8f93\u51fa\u5c06\u5982\u4e0b\u6240\u793a&#xff0c;<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"697\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250426130523-680cda131dcef.jpg\" width=\"1440\" \/><\/p>\n<\/p>\n<p>dnf-install-epel-repo-rehl8<\/p>\n<p>EPEL rpm \u5305\u6210\u529f\u5b89\u88c5\u540e&#xff0c;\u5b83\u5c06\u81ea\u52a8\u542f\u7528\u5e76\u914d\u7f6e\u5176\u00a0yum\/dnf \u4ed3\u5e93\u3002\u8fd0\u884c\u4ee5\u4e0b\u00a0dnf\u00a0\u6216\u00a0yum\u00a0\u547d\u4ee4&#xff0c;\u4ee5\u9a8c\u8bc1\u662f\u5426\u542f\u7528\u4e86 EPEL \u4ed3\u5e93&#xff0c;<\/p>\n<p>[root&#064;linuxtechi ~]# dnf repolist epel<br \/>\n\u6216\u8005<br \/>\n[root&#064;linuxtechi ~]# dnf repolist epel -v <\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"192\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250426130523-680cda138c42c.jpg\" width=\"1440\" \/><\/p>\n<\/p>\n<p>epel-repolist-rhel8<\/p>\n<h3>\u5728 CentOS 8.x \u670d\u52a1\u5668\u4e0a\u5b89\u88c5\u5e76\u542f\u7528 EPEL \u4ed3\u5e93<\/h3>\n<p>\u767b\u5f55\u6216 SSH \u5230\u4f60\u7684 CentOS 8 \u670d\u52a1\u5668&#xff0c;\u5e76\u6267\u884c\u4ee5\u4e0b\u00a0dnf\u00a0\u6216\u00a0yum\u00a0\u547d\u4ee4\u6765\u5b89\u88c5\u00a0epel-release\u00a0rpm \u8f6f\u4ef6\u5305\u3002\u5728 CentOS 8 \u670d\u52a1\u5668\u4e2d&#xff0c;EPEL rpm \u5728\u5176\u9ed8\u8ba4\u8f6f\u4ef6\u5305\u4ed3\u5e93\u4e2d\u3002<\/p>\n<p>[root&#064;linuxtechi ~]# dnf install epel-release -y<br \/>\n\u6216\u8005<br \/>\n[root&#064;linuxtechi ~]# yum install epel-release -y <\/p>\n<p>\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u6765\u9a8c\u8bc1 CentOS 8 \u670d\u52a1\u5668\u4e0a EPEL \u4ed3\u5e93\u7684\u72b6\u6001&#xff0c;<\/p>\n<p>[root&#064;linuxtechi ~]# dnf repolist epel<br \/>\nLast metadata expiration check: 0:00:03 ago on Sun 13 Oct 2019 04:18:05 AM BST.<br \/>\nrepo id              repo name                                               status<br \/>\n*epel                Extra Packages for Enterprise Linux 8 &#8211; x86_64          1,977<br \/>\n[root&#064;linuxtechi ~]#<br \/>\n[root&#064;linuxtechi ~]# dnf repolist epel -v<br \/>\n\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026<br \/>\nRepo-id      : epel<br \/>\nRepo-name    : Extra Packages for Enterprise Linux 8 &#8211; x86_64<br \/>\nRepo-status  : enabled<br \/>\nRepo-revision: 1570844166<br \/>\nRepo-updated : Sat 12 Oct 2019 02:36:32 AM BST<br \/>\nRepo-pkgs    : 1,977<br \/>\nRepo-size    : 2.1 G<br \/>\nRepo-metalink: https:\/\/mirrors.fedoraproject.org\/metalink?repo&#061;epel-8&amp;arch&#061;x86_64&amp;infra&#061;stock&amp;content&#061;centos<br \/>\n  Updated    : Sun 13 Oct 2019 04:28:24 AM BST<br \/>\nRepo-baseurl : rsync:\/\/repos.del.extreme-ix.org\/epel\/8\/Everything\/x86_64\/ (34 more)<br \/>\nRepo-expire  : 172,800 second(s) (last: Sun 13 Oct 2019 04:28:24 AM BST)<br \/>\nRepo-filename: \/etc\/yum.repos.d\/epel.repo<br \/>\nTotal packages: 1,977<br \/>\n[root&#064;linuxtechi ~]# <\/p>\n<p>\u4ee5\u4e0a\u547d\u4ee4\u7684\u8f93\u51fa\u8bf4\u660e\u6211\u4eec\u5df2\u7ecf\u6210\u529f\u542f\u7528\u4e86 EPEL \u4ed3\u5e93\u3002\u8ba9\u6211\u4eec\u5728 EPEL \u4ed3\u5e93\u4e0a\u6267\u884c\u4e00\u4e9b\u57fa\u672c\u64cd\u4f5c\u3002<\/p>\n<h3>\u5217\u51fa EPEL \u4ed3\u5e93\u79cd\u6240\u6709\u53ef\u7528\u5305<\/h3>\n<p>\u5982\u679c\u8981\u5217\u51fa EPEL \u4ed3\u5e93\u4e2d\u7684\u6240\u6709\u7684\u8f6f\u4ef6\u5305&#xff0c;\u8bf7\u8fd0\u884c\u4ee5\u4e0b\u00a0dnf\u00a0\u547d\u4ee4&#xff0c;<\/p>\n<p>[root&#064;linuxtechi ~]# dnf repository-packages epel list<br \/>\n\u2026\u2026\u2026\u2026\u2026<br \/>\nLast metadata expiration check: 0:38:18 ago on Sun 13 Oct 2019 04:28:24 AM BST.<br \/>\nInstalled Packages<br \/>\nepel-release.noarch                   8-6.el8                &#064;epel<br \/>\nAvailable Packages<br \/>\nBackupPC.x86_64                       4.3.1-2.el8            epel<br \/>\nBackupPC-XS.x86_64                    0.59-3.el8             epel<br \/>\nCGSI-gSOAP.x86_64                     1.3.11-7.el8           epel<br \/>\nCGSI-gSOAP-devel.x86_64               1.3.11-7.el8           epel<br \/>\nField3D.x86_64                        1.7.2-16.el8           epel<br \/>\nField3D-devel.x86_64                  1.7.2-16.el8           epel<br \/>\nGraphicsMagick.x86_64                 1.3.33-1.el8           epel<br \/>\nGraphicsMagick-c&#043;&#043;.x86_64             1.3.33-1.el8           epel<br \/>\n\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026<br \/>\nzabbix40-web-mysql.noarch             4.0.12-1.el8           epel<br \/>\nzabbix40-web-pgsql.noarch             4.0.12-1.el8           epel<br \/>\nzerofree.x86_64                       1.1.1-3.el8            epel<br \/>\nzimg.x86_64                           2.8-4.el8              epel<br \/>\nzimg-devel.x86_64                     2.8-4.el8              epel<br \/>\nzstd.x86_64                           1.4.2-1.el8            epel<br \/>\nzvbi.x86_64                           0.2.35-9.el8           epel<br \/>\nzvbi-devel.x86_64                     0.2.35-9.el8           epel<br \/>\nzvbi-fonts.noarch                     0.2.35-9.el8           epel<br \/>\n[root&#064;linuxtechi ~]# <\/p>\n<h3>\u4ece EPEL \u4ed3\u5e93\u4e2d\u641c\u7d22\u8f6f\u4ef6\u5305<\/h3>\n<p>\u5047\u8bbe\u6211\u4eec\u8981\u641c\u7d22 EPEL \u4ed3\u5e93\u4e2d\u7684 Zabbix \u5305&#xff0c;\u8bf7\u6267\u884c\u4ee5\u4e0b\u00a0dnf\u00a0\u547d\u4ee4&#xff0c;<\/p>\n<p>[root&#064;linuxtechi ~]# dnf repository-packages epel list | grep -i zabbix <\/p>\n<p>\u4e0a\u9762\u547d\u4ee4\u7684\u8f93\u51fa\u7c7b\u4f3c\u4e0b\u9762\u8fd9\u6837&#xff0c;<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"412\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250426130523-680cda13da87b.jpg\" width=\"1154\" \/><\/p>\n<\/p>\n<p>epel-repo-search-package-centos8<\/p>\n<h3>\u4ece EPEL \u4ed3\u5e93\u5b89\u88c5\u8f6f\u4ef6\u5305<\/h3>\n<p>\u5047\u8bbe\u6211\u4eec\u8981\u4ece EPEL \u4ed3\u5e93\u5b89\u88c5 htop \u5305&#xff0c;\u8fd0\u884c\u4ee5\u4e0b\u00a0dnf\u00a0\u547d\u4ee4&#xff0c;<\/p>\n<p>\u8bed\u6cd5&#xff1a;<\/p>\n<p># dnf \u2013enablerepo&#061;\u201depel\u201d install &lt;\u5305\u540d&gt;<br \/>\n[root&#064;linuxtechi ~]# dnf &#8211;enablerepo&#061;&#034;epel&#034; install htop -y <\/p>\n<p>\u6ce8\u610f&#xff1a;\u5982\u679c\u6211\u4eec\u5728\u4e0a\u9762\u7684\u547d\u4ee4\u4e2d\u672a\u6307\u5b9a\u00a0\u2013enablerepo&#061;epel&#xff0c;\u90a3\u4e48\u5b83\u5c06\u5728\u6240\u6709\u53ef\u7528\u7684\u8f6f\u4ef6\u5305\u4ed3\u5e93\u4e2d\u67e5\u627e htop \u5305\u3002<\/p>\n<p>\u672c\u6587\u5c31\u662f\u8fd9\u4e9b\u5185\u5bb9\u4e86&#xff0c;\u6211\u5e0c\u671b\u4e0a\u9762\u7684\u6b65\u9aa4\u80fd\u5e2e\u52a9\u4f60\u5728 CentOS 8 \u548c RHEL 8 \u670d\u52a1\u5668\u4e0a\u542f\u7528\u5e76\u914d\u7f6e EPEL \u4ed3\u5e93&#xff0c;\u8bf7\u5728\u4e0b\u9762\u7684\u8bc4\u8bba\u680f\u5206\u4eab\u4f60\u7684\u8bc4\u8bba\u548c\u53cd\u9988\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb704\u6b21\uff0c\u70b9\u8d5e8\u6b21\uff0c\u6536\u85cf13\u6b21\u3002EPEL \u4ee3\u8868 \u201cExtra Packages for Enterprise Linux\u201d\uff0c\u5b83\u662f\u4e00\u4e2a\u81ea\u7531\u5f00\u6e90\u7684\u9644\u52a0\u8f6f\u4ef6\u5305\u4ed3\u5e93\uff0c\u53ef\u7528\u4e8e CentOS \u548c RHEL \u670d\u52a1\u5668\u3002\u987e\u540d\u601d\u4e49\uff0cEPEL \u4ed3\u5e93\u63d0\u4f9b\u4e86\u989d\u5916\u7684\u8f6f\u4ef6\u5305\uff0c\u8fd9\u4e9b\u8f6f\u4ef6\u5728\u3002\u672c\u6587\u5c31\u662f\u8fd9\u4e9b\u5185\u5bb9\u4e86\uff0c\u6211\u5e0c\u671b\u4e0a\u9762\u7684\u6b65\u9aa4\u80fd\u5e2e\u52a9\u4f60\u5728 CentOS 8 \u548c RHEL 8 \u670d\u52a1\u5668\u4e0a\u542f\u7528\u5e76\u914d\u7f6e EPEL \u4ed3\u5e93\uff0c\u8bf7\u5728\u4e0b\u9762\u7684\u8bc4\u8bba\u680f\u5206\u4eab\u4f60\u7684\u8bc4\u8bba\u548c\u53cd\u9988\u3002\u5728 CentOS 8 \u670d\u52a1\u5668\u4e2d\uff0cEPEL rpm \u5728\u5176\u9ed8\u8ba4\u8f6f\u4ef6\u5305\u4ed3\u5e93\u4e2d\u3002\u5982\u679c\u8981\u5217\u51fa EPEL \u4ed3\u5e93\u4e2d\u7684\u6240\u6709\u7684\u8f6f\u4ef6\u5305\uff0c\u8bf7\u8fd0\u884c\u4ee5\u4e0b\u3002_centos8\u914d\u7f6erepel<\/p>\n","protected":false},"author":2,"featured_media":33163,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[59,58,43],"topic":[],"class_list":["post-33166","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-centos","tag-linux","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5982\u4f55\u5728 CentOS 8 \u548c RHEL 8 \u670d\u52a1\u5668\u4e0a\u542f\u7528 EPEL \u4ed3\u5e93 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/33166.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u5728 CentOS 8 \u548c RHEL 8 \u670d\u52a1\u5668\u4e0a\u542f\u7528 EPEL \u4ed3\u5e93 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb704\u6b21\uff0c\u70b9\u8d5e8\u6b21\uff0c\u6536\u85cf13\u6b21\u3002EPEL \u4ee3\u8868 \u201cExtra Packages for Enterprise Linux\u201d\uff0c\u5b83\u662f\u4e00\u4e2a\u81ea\u7531\u5f00\u6e90\u7684\u9644\u52a0\u8f6f\u4ef6\u5305\u4ed3\u5e93\uff0c\u53ef\u7528\u4e8e CentOS \u548c RHEL \u670d\u52a1\u5668\u3002\u987e\u540d\u601d\u4e49\uff0cEPEL \u4ed3\u5e93\u63d0\u4f9b\u4e86\u989d\u5916\u7684\u8f6f\u4ef6\u5305\uff0c\u8fd9\u4e9b\u8f6f\u4ef6\u5728\u3002\u672c\u6587\u5c31\u662f\u8fd9\u4e9b\u5185\u5bb9\u4e86\uff0c\u6211\u5e0c\u671b\u4e0a\u9762\u7684\u6b65\u9aa4\u80fd\u5e2e\u52a9\u4f60\u5728 CentOS 8 \u548c RHEL 8 \u670d\u52a1\u5668\u4e0a\u542f\u7528\u5e76\u914d\u7f6e EPEL \u4ed3\u5e93\uff0c\u8bf7\u5728\u4e0b\u9762\u7684\u8bc4\u8bba\u680f\u5206\u4eab\u4f60\u7684\u8bc4\u8bba\u548c\u53cd\u9988\u3002\u5728 CentOS 8 \u670d\u52a1\u5668\u4e2d\uff0cEPEL rpm \u5728\u5176\u9ed8\u8ba4\u8f6f\u4ef6\u5305\u4ed3\u5e93\u4e2d\u3002\u5982\u679c\u8981\u5217\u51fa EPEL \u4ed3\u5e93\u4e2d\u7684\u6240\u6709\u7684\u8f6f\u4ef6\u5305\uff0c\u8bf7\u8fd0\u884c\u4ee5\u4e0b\u3002_centos8\u914d\u7f6erepel\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/33166.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-26T13:05:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250426130523-680cda131dcef.jpg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/33166.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/33166.html\",\"name\":\"\u5982\u4f55\u5728 CentOS 8 \u548c RHEL 8 \u670d\u52a1\u5668\u4e0a\u542f\u7528 EPEL \u4ed3\u5e93 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-26T13:05:25+00:00\",\"dateModified\":\"2025-04-26T13:05:25+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/33166.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/33166.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/33166.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u5728 CentOS 8 \u548c RHEL 8 \u670d\u52a1\u5668\u4e0a\u542f\u7528 EPEL \u4ed3\u5e93\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5982\u4f55\u5728 CentOS 8 \u548c RHEL 8 \u670d\u52a1\u5668\u4e0a\u542f\u7528 EPEL \u4ed3\u5e93 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/33166.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u5728 CentOS 8 \u548c RHEL 8 \u670d\u52a1\u5668\u4e0a\u542f\u7528 EPEL \u4ed3\u5e93 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb704\u6b21\uff0c\u70b9\u8d5e8\u6b21\uff0c\u6536\u85cf13\u6b21\u3002EPEL \u4ee3\u8868 \u201cExtra Packages for Enterprise Linux\u201d\uff0c\u5b83\u662f\u4e00\u4e2a\u81ea\u7531\u5f00\u6e90\u7684\u9644\u52a0\u8f6f\u4ef6\u5305\u4ed3\u5e93\uff0c\u53ef\u7528\u4e8e CentOS \u548c RHEL \u670d\u52a1\u5668\u3002\u987e\u540d\u601d\u4e49\uff0cEPEL \u4ed3\u5e93\u63d0\u4f9b\u4e86\u989d\u5916\u7684\u8f6f\u4ef6\u5305\uff0c\u8fd9\u4e9b\u8f6f\u4ef6\u5728\u3002\u672c\u6587\u5c31\u662f\u8fd9\u4e9b\u5185\u5bb9\u4e86\uff0c\u6211\u5e0c\u671b\u4e0a\u9762\u7684\u6b65\u9aa4\u80fd\u5e2e\u52a9\u4f60\u5728 CentOS 8 \u548c RHEL 8 \u670d\u52a1\u5668\u4e0a\u542f\u7528\u5e76\u914d\u7f6e EPEL \u4ed3\u5e93\uff0c\u8bf7\u5728\u4e0b\u9762\u7684\u8bc4\u8bba\u680f\u5206\u4eab\u4f60\u7684\u8bc4\u8bba\u548c\u53cd\u9988\u3002\u5728 CentOS 8 \u670d\u52a1\u5668\u4e2d\uff0cEPEL rpm \u5728\u5176\u9ed8\u8ba4\u8f6f\u4ef6\u5305\u4ed3\u5e93\u4e2d\u3002\u5982\u679c\u8981\u5217\u51fa EPEL \u4ed3\u5e93\u4e2d\u7684\u6240\u6709\u7684\u8f6f\u4ef6\u5305\uff0c\u8bf7\u8fd0\u884c\u4ee5\u4e0b\u3002_centos8\u914d\u7f6erepel","og_url":"https:\/\/www.wsisp.com\/helps\/33166.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-26T13:05:25+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250426130523-680cda131dcef.jpg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/33166.html","url":"https:\/\/www.wsisp.com\/helps\/33166.html","name":"\u5982\u4f55\u5728 CentOS 8 \u548c RHEL 8 \u670d\u52a1\u5668\u4e0a\u542f\u7528 EPEL \u4ed3\u5e93 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-26T13:05:25+00:00","dateModified":"2025-04-26T13:05:25+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/33166.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/33166.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/33166.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u5728 CentOS 8 \u548c RHEL 8 \u670d\u52a1\u5668\u4e0a\u542f\u7528 EPEL \u4ed3\u5e93"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/33166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=33166"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/33166\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/33163"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=33166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=33166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=33166"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=33166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}