{"id":78309,"date":"2026-02-27T02:16:54","date_gmt":"2026-02-26T18:16:54","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/78309.html"},"modified":"2026-02-27T02:16:54","modified_gmt":"2026-02-26T18:16:54","slug":"centos-rhel%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%a6%bb%e7%ba%bf%e9%83%a8%e7%bd%b2%e5%bf%85%e5%a4%87%ef%bc%9ayumdownloader%e4%b8%8b%e8%bd%bdrpm%e5%8c%85%e5%8f%8a%e4%be%9d%e8%b5%96%e7%9a%84%e5%ae%8c%e6%95%b4","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/78309.html","title":{"rendered":"CentOS\/RHEL\u670d\u52a1\u5668\u79bb\u7ebf\u90e8\u7f72\u5fc5\u5907\uff1ayumdownloader\u4e0b\u8f7dRPM\u5305\u53ca\u4f9d\u8d56\u7684\u5b8c\u6574\u6307\u5357"},"content":{"rendered":"<h2>CentOS\/RHEL\u670d\u52a1\u5668\u79bb\u7ebf\u90e8\u7f72\u5b9e\u6218&#xff1a;yumdownloader\u9ad8\u6548\u4e0b\u8f7dRPM\u5305\u53ca\u5168\u91cf\u4f9d\u8d56\u6307\u5357<\/h2>\n<p>\u5728\u65e0\u6cd5\u8fde\u63a5\u5916\u7f51\u7684\u4f01\u4e1a\u5185\u7f51\u73af\u5883\u4e2d\u90e8\u7f72CentOS\/RHEL\u670d\u52a1\u5668\u65f6&#xff0c;\u8f6f\u4ef6\u5305\u53ca\u5176\u4f9d\u8d56\u7684\u79bb\u7ebf\u83b7\u53d6\u6210\u4e3a\u8fd0\u7ef4\u5de5\u7a0b\u5e08\u9762\u4e34\u7684\u9996\u8981\u6311\u6218\u3002\u672c\u6587\u5c06\u6df1\u5165\u89e3\u6790yumdownloader\u5de5\u5177\u7684\u9ad8\u7ea7\u5e94\u7528\u6280\u5de7&#xff0c;\u63d0\u4f9b\u4e00\u5957\u5b8c\u6574\u7684\u79bb\u7ebf\u90e8\u7f72\u89e3\u51b3\u65b9\u6848&#xff0c;\u5e2e\u52a9\u60a8\u6784\u5efa\u7a33\u5b9a\u53ef\u9760\u7684\u79bb\u7ebf\u8f6f\u4ef6\u4ed3\u5e93\u3002<\/p>\n<h3>1. \u79bb\u7ebf\u90e8\u7f72\u73af\u5883\u51c6\u5907\u4e0e\u5de5\u5177\u914d\u7f6e<\/h3>\n<p>\u5728\u5f00\u59cb\u4e0b\u8f7dRPM\u5305\u4e4b\u524d&#xff0c;\u9700\u8981\u786e\u4fdd\u57fa\u7840\u73af\u5883\u914d\u7f6e\u6b63\u786e\u3002\u5bf9\u4e8eCentOS\/RHEL 7\u53ca\u66f4\u9ad8\u7248\u672c\u7cfb\u7edf&#xff0c;yum-utils\u5de5\u5177\u5305\u662f\u5fc5\u5907\u7ec4\u4ef6&#xff0c;\u5b83\u5305\u542b\u4e86yumdownloader\u8fd9\u4e2a\u5f3a\u5927\u7684\u4e0b\u8f7d\u5de5\u5177\u3002<\/p>\n<p>\u9996\u5148\u68c0\u67e5\u7cfb\u7edf\u662f\u5426\u5df2\u5b89\u88c5yum-utils&#xff1a;<\/p>\n<p>rpm -q yum-utils<\/p>\n<p>\u5982\u679c\u8fd4\u56de&#034;package yum-utils is not installed&#034;&#xff0c;\u5219\u9700\u8981\u5148\u5b89\u88c5&#xff1a;<\/p>\n<p>yum install -y yum-utils<\/p>\n<p>\u5bf9\u4e8e\u5b8c\u5168\u79bb\u7ebf\u7684\u73af\u5883&#xff0c;\u53ef\u4ee5\u91c7\u7528\u4ee5\u4e0b\u4e24\u79cd\u65b9\u5f0f\u4e4b\u4e00\u83b7\u53d6yum-utils&#xff1a;<\/p>\n<li>\u5728\u6709\u7f51\u7edc\u7684\u540c\u7248\u672c\u7cfb\u7edf\u4e0a\u4e0b\u8f7d\u540e\u4f20\u8f93\u5230\u79bb\u7ebf\u73af\u5883<\/li>\n<li>\u4ece\u7cfb\u7edf\u5b89\u88c5\u955c\u50cf\u7684Packages\u76ee\u5f55\u4e2d\u83b7\u53d6\u5bf9\u5e94RPM\u5305<\/li>\n<p>\u5173\u952e\u914d\u7f6e\u68c0\u67e5\u70b9&#xff1a;<\/p>\n<ul>\n<li>\u786e\u8ba4\/etc\/yum.repos.d\/\u76ee\u5f55\u4e0b\u7684repo\u6587\u4ef6\u914d\u7f6e\u6b63\u786e<\/li>\n<li>\u6d4b\u8bd5\u4ed3\u5e93\u8fde\u901a\u6027&#xff1a;curl -I &lt;\u4ed3\u5e93\u5730\u5740&gt;<\/li>\n<li>\u66f4\u65b0\u4ed3\u5e93\u5143\u6570\u636e&#xff1a;yum clean all &amp;&amp; yum makecache<\/li>\n<\/ul>\n<h3>2. yumdownloader\u6838\u5fc3\u4f7f\u7528\u6280\u5de7<\/h3>\n<p>yumdownloader\u63d0\u4f9b\u4e86\u591a\u79cd\u53c2\u6570\u7ec4\u5408\u6765\u6ee1\u8db3\u4e0d\u540c\u573a\u666f\u4e0b\u7684\u4e0b\u8f7d\u9700\u6c42\u3002\u4ee5\u4e0b\u662f\u51e0\u79cd\u5178\u578b\u4f7f\u7528\u573a\u666f\u53ca\u5bf9\u5e94\u547d\u4ee4&#xff1a;<\/p>\n<h4>2.1 \u57fa\u7840\u4e0b\u8f7d\u6a21\u5f0f<\/h4>\n<p>\u4e0b\u8f7d\u5355\u4e2a\u8f6f\u4ef6\u5305&#xff08;\u4e0d\u5305\u542b\u4f9d\u8d56&#xff09;&#xff1a;<\/p>\n<p>yumdownloader &lt;package-name&gt;<\/p>\n<p>\u4f8b\u5982\u4e0b\u8f7dnginx&#xff1a;<\/p>\n<p>yumdownloader nginx<\/p>\n<h4>2.2 \u5168\u4f9d\u8d56\u4e0b\u8f7d\u6a21\u5f0f<\/h4>\n<p>\u4e0b\u8f7d\u8f6f\u4ef6\u5305\u53ca\u5176\u6240\u6709\u4f9d\u8d56&#xff08;\u63a8\u8350&#xff09;&#xff1a;<\/p>\n<p>yumdownloader &#8211;resolve &lt;package-name&gt;<\/p>\n<p>\u4f8b\u5982\u4e0b\u8f7dPostgreSQL\u53ca\u5176\u6240\u6709\u4f9d\u8d56&#xff1a;<\/p>\n<p>yumdownloader &#8211;resolve postgresql-server<\/p>\n<h4>2.3 \u6307\u5b9a\u4e0b\u8f7d\u76ee\u5f55<\/h4>\n<p>\u5c06\u8f6f\u4ef6\u5305\u4e0b\u8f7d\u5230\u7279\u5b9a\u76ee\u5f55&#xff08;\u76ee\u5f55\u9700\u63d0\u524d\u521b\u5efa&#xff09;&#xff1a;<\/p>\n<p>yumdownloader &#8211;resolve &#8211;destdir&#061;\/path\/to\/save &lt;package-name&gt;<\/p>\n<p>\u4f8b\u5982\u5c06\u8f6f\u4ef6\u5305\u4fdd\u5b58\u5230\/opt\/rpms\u76ee\u5f55&#xff1a;<\/p>\n<p>mkdir -p \/opt\/rpms<br \/>\nyumdownloader &#8211;resolve &#8211;destdir&#061;\/opt\/rpms httpd<\/p>\n<h4>2.4 \u6279\u91cf\u4e0b\u8f7d\u591a\u4e2a\u8f6f\u4ef6\u5305<\/h4>\n<p>\u4f7f\u7528\u5faa\u73af\u7ed3\u6784\u6279\u91cf\u4e0b\u8f7d\u591a\u4e2a\u8f6f\u4ef6\u5305&#xff1a;<\/p>\n<p>for pkg in httpd mariadb-server php; do<br \/>\n    yumdownloader &#8211;resolve &#8211;destdir&#061;\/opt\/rpms $pkg<br \/>\ndone<\/p>\n<h4>2.5 \u67b6\u6784\u6307\u5b9a\u4e0b\u8f7d<\/h4>\n<p>\u5728\u591a\u67b6\u6784\u73af\u5883\u4e2d&#xff0c;\u53ef\u4ee5\u6307\u5b9a\u4e0b\u8f7d\u7279\u5b9a\u67b6\u6784\u7684\u8f6f\u4ef6\u5305&#xff1a;<\/p>\n<p>yumdownloader &#8211;archlist&#061;x86_64,noarch &#8211;resolve &lt;package-name&gt;<\/p>\n<h3>3. \u9ad8\u7ea7\u5e94\u7528\u573a\u666f\u4e0e\u89e3\u51b3\u65b9\u6848<\/h3>\n<h4>3.1 \u5904\u7406\u5df2\u5b89\u88c5\u4f9d\u8d56\u7684\u60c5\u51b5<\/h4>\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b&#xff0c;yumdownloader\u4e0d\u4f1a\u4e0b\u8f7d\u7cfb\u7edf\u4e2d\u5df2\u5b89\u88c5\u7684\u4f9d\u8d56\u5305\u3002\u8981\u5f3a\u5236\u4e0b\u8f7d\u6240\u6709\u4f9d\u8d56&#xff08;\u5305\u62ec\u5df2\u5b89\u88c5\u7684&#xff09;&#xff0c;\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u6280\u5de7&#xff1a;<\/p>\n<p>repoquery &#8211;requires &#8211;resolve &lt;package-name&gt; | xargs yumdownloader &#8211;destdir&#061;\/opt\/rpms<\/p>\n<h4>3.2 \u4e0b\u8f7d\u8f6f\u4ef6\u7ec4\u53ca\u5176\u4f9d\u8d56<\/h4>\n<p>\u5bf9\u4e8e\u8f6f\u4ef6\u7ec4&#xff08;\u5982&#034;Development Tools&#034;&#xff09;&#xff0c;\u53ef\u4ee5\u4f7f\u7528\u7ec4\u5408\u547d\u4ee4&#xff1a;<\/p>\n<p>yum groupinfo &#034;Development Tools&#034; | awk &#039;\/Mandatory Packages:\/,\/Optional Packages:\/{if($0 !~ \/Packages:\/)print}&#039; | xargs yumdownloader &#8211;resolve &#8211;destdir&#061;\/opt\/rpms<\/p>\n<h4>3.3 \u7248\u672c\u9501\u5b9a\u4e0b\u8f7d<\/h4>\n<p>\u4e0b\u8f7d\u7279\u5b9a\u7248\u672c\u7684\u8f6f\u4ef6\u5305&#xff1a;<\/p>\n<p>yumdownloader &#8211;resolve &lt;package-name&gt;-&lt;version&gt;<\/p>\n<p>\u4f8b\u5982\u4e0b\u8f7dPHP 7.4&#xff1a;<\/p>\n<p>yumdownloader &#8211;resolve php-7.4.33<\/p>\n<h3>4. \u79bb\u7ebf\u4ed3\u5e93\u6784\u5efa\u4e0e\u7ef4\u62a4<\/h3>\n<h4>4.1 \u521b\u5efa\u672c\u5730\u4ed3\u5e93<\/h4>\n<p>\u4e0b\u8f7d\u7684RPM\u5305\u53ef\u4ee5\u8f6c\u6362\u4e3a\u672c\u5730YUM\u4ed3\u5e93&#xff1a;<\/p>\n<p># \u5b89\u88c5createrepo\u5de5\u5177<br \/>\nyumdownloader &#8211;resolve createrepo<br \/>\n# \u5728RPM\u5305\u76ee\u5f55\u521b\u5efa\u4ed3\u5e93\u5143\u6570\u636e<br \/>\ncreaterepo \/opt\/rpms<\/p>\n<h4>4.2 \u4ed3\u5e93\u914d\u7f6e\u6587\u4ef6\u793a\u4f8b<\/h4>\n<p>\u521b\u5efa\/etc\/yum.repos.d\/local.repo\u6587\u4ef6&#xff1a;<\/p>\n<p>[local]<br \/>\nname&#061;Local Repository<br \/>\nbaseurl&#061;file:\/\/\/opt\/rpms<br \/>\nenabled&#061;1<br \/>\ngpgcheck&#061;0<\/p>\n<h4>4.3 \u4ed3\u5e93\u66f4\u65b0\u7b56\u7565<\/h4>\n<p>\u5f53\u6dfb\u52a0\u65b0\u8f6f\u4ef6\u5305\u5230\u4ed3\u5e93\u76ee\u5f55\u540e&#xff0c;\u9700\u8981\u66f4\u65b0\u5143\u6570\u636e&#xff1a;<\/p>\n<p>createrepo &#8211;update \/opt\/rpms<\/p>\n<h3>5. \u5e38\u89c1\u95ee\u9898\u6392\u67e5\u4e0e\u4f18\u5316<\/h3>\n<h4>5.1 \u4f9d\u8d56\u89e3\u6790\u5931\u8d25\u5904\u7406<\/h4>\n<p>\u5f53\u9047\u5230\u4f9d\u8d56\u89e3\u6790\u95ee\u9898\u65f6&#xff0c;\u53ef\u4ee5\u5c1d\u8bd5&#xff1a;<\/p>\n<li>\u6e05\u7406YUM\u7f13\u5b58&#xff1a;<\/li>\n<p>yum clean all<\/p>\n<li>\u91cd\u65b0\u751f\u6210\u5143\u6570\u636e&#xff1a;<\/li>\n<p>yum makecache<\/p>\n<li>\u4f7f\u7528repoquery\u68c0\u67e5\u4f9d\u8d56&#xff1a;<\/li>\n<p>repoquery &#8211;requires &#8211;resolve &lt;package-name&gt;<\/p>\n<h4>5.2 \u4e0b\u8f7d\u901f\u5ea6\u4f18\u5316<\/h4>\n<p>\u5bf9\u4e8e\u6709\u4e34\u65f6\u7f51\u7edc\u8fde\u63a5\u7684\u73af\u5883&#xff0c;\u53ef\u4ee5\u542f\u7528fastestmirror\u63d2\u4ef6&#xff1a;<\/p>\n<p>yum install -y yum-plugin-fastestmirror<\/p>\n<h4>5.3 \u7a7a\u95f4\u4e0d\u8db3\u5904\u7406<\/h4>\n<p>\u8bbe\u7f6eYUM\u7f13\u5b58\u76ee\u5f55\u5230\u66f4\u5927\u7a7a\u95f4\u7684\u5206\u533a&#xff1a;<\/p>\n<p># \u5728\/etc\/yum.conf\u4e2d\u4fee\u6539<br \/>\ncachedir&#061;\/path\/to\/large\/partition\/yum-cache<\/p>\n<h3>6. \u5b89\u5168\u4e0e\u9a8c\u8bc1\u63aa\u65bd<\/h3>\n<h4>6.1 \u5305\u5b8c\u6574\u6027\u9a8c\u8bc1<\/h4>\n<p>\u4e0b\u8f7d\u5b8c\u6210\u540e&#xff0c;\u9a8c\u8bc1RPM\u5305\u7b7e\u540d&#xff1a;<\/p>\n<p>rpm &#8211;checksig \/path\/to\/package.rpm<\/p>\n<h4>6.2 \u4f9d\u8d56\u5173\u7cfb\u9a8c\u8bc1<\/h4>\n<p>\u68c0\u67e5\u4e0b\u8f7d\u7684\u5305\u662f\u5426\u6ee1\u8db3\u6240\u6709\u4f9d\u8d56&#xff1a;<\/p>\n<p>rpm -qpR \/path\/to\/package.rpm<\/p>\n<h4>6.3 \u7248\u672c\u4e00\u81f4\u6027\u68c0\u67e5<\/h4>\n<p>\u786e\u4fdd\u4e0b\u8f7d\u7684\u7248\u672c\u4e0e\u9700\u6c42\u4e00\u81f4&#xff1a;<\/p>\n<p>rpm -qip \/path\/to\/package.rpm | grep Version<\/p>\n<h3>7. \u5b9e\u9645\u5e94\u7528\u6848\u4f8b&#xff1a;\u6784\u5efaWeb\u670d\u52a1\u5668\u79bb\u7ebf\u5b89\u88c5\u5305<\/h3>\n<p>\u4ee5\u4e0b\u662f\u4e00\u4e2a\u5b8c\u6574\u7684\u5b9e\u6218\u793a\u4f8b&#xff0c;\u6f14\u793a\u5982\u4f55\u4e3aApache HTTP\u670d\u52a1\u5668\u51c6\u5907\u79bb\u7ebf\u5b89\u88c5\u5305&#xff1a;<\/p>\n<p># \u521b\u5efa\u4fdd\u5b58\u76ee\u5f55<br \/>\nmkdir -p \/opt\/offline\/httpd<\/p>\n<p># \u4e0b\u8f7d\u4e3b\u5305\u53ca\u4f9d\u8d56<br \/>\nyumdownloader &#8211;resolve &#8211;destdir&#061;\/opt\/offline\/httpd \\\\<br \/>\n    httpd \\\\<br \/>\n    mod_ssl \\\\<br \/>\n    php \\\\<br \/>\n    php-mysqlnd<\/p>\n<p># \u4e0b\u8f7d\u5e38\u7528\u5de5\u5177<br \/>\nyumdownloader &#8211;resolve &#8211;destdir&#061;\/opt\/offline\/httpd \\\\<br \/>\n    wget \\\\<br \/>\n    unzip \\\\<br \/>\n    tar<\/p>\n<p># \u521b\u5efa\u4ed3\u5e93\u5143\u6570\u636e<br \/>\ncreaterepo \/opt\/offline\/httpd<\/p>\n<p># \u6253\u5305\u4fbf\u4e8e\u4f20\u8f93<br \/>\ntar czf httpd-offline.tar.gz -C \/opt\/offline httpd<\/p>\n<p>\u5728\u76ee\u6807\u670d\u52a1\u5668\u4e0a\u90e8\u7f72&#xff1a;<\/p>\n<p># \u89e3\u538b\u5305<br \/>\ntar xzf httpd-offline.tar.gz -C \/opt<\/p>\n<p># \u521b\u5efa\u672c\u5730repo\u6587\u4ef6<br \/>\ncat &gt; \/etc\/yum.repos.d\/offline.repo &lt;&lt;EOF<br \/>\n[offline]<br \/>\nname&#061;Offline Repository<br \/>\nbaseurl&#061;file:\/\/\/opt\/httpd<br \/>\nenabled&#061;1<br \/>\ngpgcheck&#061;0<br \/>\nEOF<\/p>\n<p># \u5b89\u88c5\u8f6f\u4ef6<br \/>\nyum install -y httpd php mod_ssl<\/p>\n<p>\u8fd9\u5957\u65b9\u6cd5\u4e0d\u4ec5\u9002\u7528\u4e8eWeb\u670d\u52a1\u5668&#xff0c;\u4e5f\u53ef\u4ee5\u5e94\u7528\u4e8e\u6570\u636e\u5e93\u670d\u52a1\u3001\u76d1\u63a7\u7cfb\u7edf\u7b49\u5404\u79cd\u590d\u6742\u5e94\u7528\u7684\u79bb\u7ebf\u90e8\u7f72\u573a\u666f\u3002\u5173\u952e\u5728\u4e8e\u5168\u9762\u8003\u8651\u4e3b\u8f6f\u4ef6\u5305\u53ca\u5176\u6240\u6709\u95f4\u63a5\u4f9d\u8d56&#xff0c;\u6784\u5efa\u5b8c\u6574\u7684\u79bb\u7ebf\u8f6f\u4ef6\u4ed3\u5e93\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CentOS\/RHEL\u670d\u52a1\u5668\u79bb\u7ebf\u90e8\u7f72\u5b9e\u6218&#xff1a;yumdownloader\u9ad8\u6548\u4e0b\u8f7dRPM\u5305\u53ca\u5168\u91cf\u4f9d\u8d56\u6307\u5357<br \/>\n\u5728\u65e0\u6cd5\u8fde\u63a5\u5916\u7f51\u7684\u4f01\u4e1a\u5185\u7f51\u73af\u5883\u4e2d\u90e8\u7f72CentOS\/RHEL\u670d\u52a1\u5668\u65f6&#xff0c;\u8f6f\u4ef6\u5305\u53ca\u5176\u4f9d\u8d56\u7684\u79bb\u7ebf\u83b7\u53d6\u6210\u4e3a\u8fd0\u7ef4\u5de5\u7a0b\u5e08\u9762\u4e34\u7684\u9996\u8981\u6311\u6218\u3002\u672c\u6587\u5c06\u6df1\u5165\u89e3\u6790yumdownloader\u5de5\u5177\u7684\u9ad8\u7ea7\u5e94\u7528\u6280\u5de7&#xff0c;\u63d0\u4f9b\u4e00\u5957\u5b8c\u6574\u7684\u79bb\u7ebf\u90e8\u7f72\u89e3\u51b3\u65b9\u6848&#xff0c;\u5e2e\u52a9\u60a8\u6784\u5efa\u7a33\u5b9a\u53ef\u9760\u7684\u79bb\u7ebf\u8f6f\u4ef6\u4ed3\u5e93\u3002<br \/>\n1. \u79bb\u7ebf\u90e8\u7f72\u73af\u5883\u51c6\u5907\u4e0e\u5de5\u5177\u914d\u7f6e<br \/>\n\u5728\u5f00\u59cb\u4e0b\u8f7dRPM\u5305\u4e4b\u524d&#xff0c;\u9700\u8981<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[8639,8508,59,3436],"topic":[],"class_list":["post-78309","post","type-post","status-publish","format-standard","hentry","category-server","tag-yumdownloader","tag-8508","tag-centos","tag-rhel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>CentOS\/RHEL\u670d\u52a1\u5668\u79bb\u7ebf\u90e8\u7f72\u5fc5\u5907\uff1ayumdownloader\u4e0b\u8f7dRPM\u5305\u53ca\u4f9d\u8d56\u7684\u5b8c\u6574\u6307\u5357 - \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\/78309.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CentOS\/RHEL\u670d\u52a1\u5668\u79bb\u7ebf\u90e8\u7f72\u5fc5\u5907\uff1ayumdownloader\u4e0b\u8f7dRPM\u5305\u53ca\u4f9d\u8d56\u7684\u5b8c\u6574\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"CentOS\/RHEL\u670d\u52a1\u5668\u79bb\u7ebf\u90e8\u7f72\u5b9e\u6218&#xff1a;yumdownloader\u9ad8\u6548\u4e0b\u8f7dRPM\u5305\u53ca\u5168\u91cf\u4f9d\u8d56\u6307\u5357 \u5728\u65e0\u6cd5\u8fde\u63a5\u5916\u7f51\u7684\u4f01\u4e1a\u5185\u7f51\u73af\u5883\u4e2d\u90e8\u7f72CentOS\/RHEL\u670d\u52a1\u5668\u65f6&#xff0c;\u8f6f\u4ef6\u5305\u53ca\u5176\u4f9d\u8d56\u7684\u79bb\u7ebf\u83b7\u53d6\u6210\u4e3a\u8fd0\u7ef4\u5de5\u7a0b\u5e08\u9762\u4e34\u7684\u9996\u8981\u6311\u6218\u3002\u672c\u6587\u5c06\u6df1\u5165\u89e3\u6790yumdownloader\u5de5\u5177\u7684\u9ad8\u7ea7\u5e94\u7528\u6280\u5de7&#xff0c;\u63d0\u4f9b\u4e00\u5957\u5b8c\u6574\u7684\u79bb\u7ebf\u90e8\u7f72\u89e3\u51b3\u65b9\u6848&#xff0c;\u5e2e\u52a9\u60a8\u6784\u5efa\u7a33\u5b9a\u53ef\u9760\u7684\u79bb\u7ebf\u8f6f\u4ef6\u4ed3\u5e93\u3002 1. \u79bb\u7ebf\u90e8\u7f72\u73af\u5883\u51c6\u5907\u4e0e\u5de5\u5177\u914d\u7f6e \u5728\u5f00\u59cb\u4e0b\u8f7dRPM\u5305\u4e4b\u524d&#xff0c;\u9700\u8981\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/78309.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-26T18:16:54+00:00\" \/>\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\/78309.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/78309.html\",\"name\":\"CentOS\/RHEL\u670d\u52a1\u5668\u79bb\u7ebf\u90e8\u7f72\u5fc5\u5907\uff1ayumdownloader\u4e0b\u8f7dRPM\u5305\u53ca\u4f9d\u8d56\u7684\u5b8c\u6574\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-26T18:16:54+00:00\",\"dateModified\":\"2026-02-26T18:16:54+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/78309.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/78309.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/78309.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CentOS\/RHEL\u670d\u52a1\u5668\u79bb\u7ebf\u90e8\u7f72\u5fc5\u5907\uff1ayumdownloader\u4e0b\u8f7dRPM\u5305\u53ca\u4f9d\u8d56\u7684\u5b8c\u6574\u6307\u5357\"}]},{\"@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":"CentOS\/RHEL\u670d\u52a1\u5668\u79bb\u7ebf\u90e8\u7f72\u5fc5\u5907\uff1ayumdownloader\u4e0b\u8f7dRPM\u5305\u53ca\u4f9d\u8d56\u7684\u5b8c\u6574\u6307\u5357 - \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\/78309.html","og_locale":"zh_CN","og_type":"article","og_title":"CentOS\/RHEL\u670d\u52a1\u5668\u79bb\u7ebf\u90e8\u7f72\u5fc5\u5907\uff1ayumdownloader\u4e0b\u8f7dRPM\u5305\u53ca\u4f9d\u8d56\u7684\u5b8c\u6574\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"CentOS\/RHEL\u670d\u52a1\u5668\u79bb\u7ebf\u90e8\u7f72\u5b9e\u6218&#xff1a;yumdownloader\u9ad8\u6548\u4e0b\u8f7dRPM\u5305\u53ca\u5168\u91cf\u4f9d\u8d56\u6307\u5357 \u5728\u65e0\u6cd5\u8fde\u63a5\u5916\u7f51\u7684\u4f01\u4e1a\u5185\u7f51\u73af\u5883\u4e2d\u90e8\u7f72CentOS\/RHEL\u670d\u52a1\u5668\u65f6&#xff0c;\u8f6f\u4ef6\u5305\u53ca\u5176\u4f9d\u8d56\u7684\u79bb\u7ebf\u83b7\u53d6\u6210\u4e3a\u8fd0\u7ef4\u5de5\u7a0b\u5e08\u9762\u4e34\u7684\u9996\u8981\u6311\u6218\u3002\u672c\u6587\u5c06\u6df1\u5165\u89e3\u6790yumdownloader\u5de5\u5177\u7684\u9ad8\u7ea7\u5e94\u7528\u6280\u5de7&#xff0c;\u63d0\u4f9b\u4e00\u5957\u5b8c\u6574\u7684\u79bb\u7ebf\u90e8\u7f72\u89e3\u51b3\u65b9\u6848&#xff0c;\u5e2e\u52a9\u60a8\u6784\u5efa\u7a33\u5b9a\u53ef\u9760\u7684\u79bb\u7ebf\u8f6f\u4ef6\u4ed3\u5e93\u3002 1. \u79bb\u7ebf\u90e8\u7f72\u73af\u5883\u51c6\u5907\u4e0e\u5de5\u5177\u914d\u7f6e \u5728\u5f00\u59cb\u4e0b\u8f7dRPM\u5305\u4e4b\u524d&#xff0c;\u9700\u8981","og_url":"https:\/\/www.wsisp.com\/helps\/78309.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-26T18:16:54+00:00","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\/78309.html","url":"https:\/\/www.wsisp.com\/helps\/78309.html","name":"CentOS\/RHEL\u670d\u52a1\u5668\u79bb\u7ebf\u90e8\u7f72\u5fc5\u5907\uff1ayumdownloader\u4e0b\u8f7dRPM\u5305\u53ca\u4f9d\u8d56\u7684\u5b8c\u6574\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-26T18:16:54+00:00","dateModified":"2026-02-26T18:16:54+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/78309.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/78309.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/78309.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"CentOS\/RHEL\u670d\u52a1\u5668\u79bb\u7ebf\u90e8\u7f72\u5fc5\u5907\uff1ayumdownloader\u4e0b\u8f7dRPM\u5305\u53ca\u4f9d\u8d56\u7684\u5b8c\u6574\u6307\u5357"}]},{"@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\/78309","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=78309"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/78309\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=78309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=78309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=78309"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=78309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}