{"id":34762,"date":"2023-03-02T16:15:10","date_gmt":"2024-03-05T20:49:05","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90redhat%e7%b3%bb%ef%bc%88%e5%a6%82centos%e7%ad%89%ef%bc%89%e3%80%91%e5%88%9d%e5%ad%a6%e8%80%85%e9%9c%80%e8%a6%81%e6%8e%8c%e6%8f%a1%e7%9a%84yum%e6%a6%82%e8%bf%b0%e3%80%81%e4%b8%bb%e8%a6%81\/"},"modified":"2024-04-29T17:06:07","modified_gmt":"2024-04-29T09:06:07","slug":"%e3%80%90redhat%e7%b3%bb%ef%bc%88%e5%a6%82centos%e7%ad%89%ef%bc%89%e3%80%91%e5%88%9d%e5%ad%a6%e8%80%85%e9%9c%80%e8%a6%81%e6%8e%8c%e6%8f%a1%e7%9a%84yum%e6%a6%82%e8%bf%b0%e3%80%81%e4%b8%bb%e8%a6%81","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90redhat%e7%b3%bb%ef%bc%88%e5%a6%82centos%e7%ad%89%ef%bc%89%e3%80%91%e5%88%9d%e5%ad%a6%e8%80%85%e9%9c%80%e8%a6%81%e6%8e%8c%e6%8f%a1%e7%9a%84yum%e6%a6%82%e8%bf%b0%e3%80%81%e4%b8%bb%e8%a6%81\/","title":{"rendered":"\u3010RedHat\u7cfb\uff08\u5982CentOS\u7b49\uff09\u3011\u521d\u5b66\u8005\u9700\u8981\u638c\u63e1\u7684yum\u6982\u8ff0\u3001\u4e3b\u8981\u547d\u4ee4\u548c\u5916\u90e8\u4ed3\u5e93"},"content":{"rendered":"<h2>\u9996\u5148<\/h2>\n<p>\u521d\u6b21\u89c1\u9762\uff0c\u6211\u662f\u521a\u5f00\u59cb\u5b66\u4e60\u7f16\u7a0b\u7684\u521d\u5b66\u8005\u3002<br \/>\n\u6211\u4f1a\u5728QIita\u4e0a\u8f93\u51fa\u6211\u6240\u5b66\u5230\u7684\u4e1c\u897f\u3002<br \/>\n\u5982\u679c\u5bf9\u6211\u7684\u6587\u7ae0\u6709\u4efb\u4f55\u7591\u95ee\u6216\u5efa\u8bae\uff0c\u8bf7\u6307\u51fa\u6765\uff0c\u8c22\u8c22\uff01<\/p>\n<h2>\u76ee\u6807\u4eba\u7fa4<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u521d\u5b66\u8005<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">RedHat\u7cfb\uff08CenoOS\u306a\u3069\uff09\u3092\u89e6\u308a\u59cb\u3081\u3066\u9593\u3082\u306a\u3044\u65b9<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">yum\u30b3\u30de\u30f3\u30c9\u306e\u5927\u96d1\u628a\u306a\u6982\u8981\u3092\u77e5\u308a\u305f\u3044\u65b9<\/ul>\n<h2>\u7ec4\u6210<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">yum\u306e\u6982\u8981<\/ul>\n<\/li>\n<\/ul>\n<p>yum\u3068\u306f\uff1f<br \/>\n\u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u306f\uff1f<br \/>\nRPM\u3068yum<br \/>\n\u4f9d\u5b58\u95a2\u4fc2\u3068\u306f\uff1f<br \/>\nRPM\u3068yum\u306e\u5177\u4f53\u4f8b<\/p>\n<p>\u4e3b\u8981\u306a\u30b3\u30de\u30f3\u30c9<\/p>\n<p>yum install<br \/>\nyum update<br \/>\nyum erase<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u78ba\u8a8d\u65b9\u6cd5<\/p>\n<p>yum list<br \/>\nyum list installed<br \/>\nyum list updates<br \/>\nyum list available<br \/>\nyum list extras<br \/>\nyum search<br \/>\nyum info<\/p>\n<p>\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea<\/p>\n<p>\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u78ba\u8a8d<br \/>\n\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u53d6\u308a\u8fbc\u307f<\/p>\n<h2>\u73af\u5883<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">EC2\uff08AWS\uff09<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">CentOS Linux 7 x86_64 HVM EBS ENA 2002_01-b7ee8a69-ee97-4a49-9e68-afaee216db2e-ami-0042af67f8e4dcc20.4(AMI\u540d)<\/ul>\n<h2>Yum\u662f\u4e00\u4e2a\u8f6f\u4ef6\u7ba1\u7406\u5de5\u5177\u7684\u6982\u8ff0\u3002<\/h2>\n<h3>\u201cYum\u201d\u662f\u4ec0\u4e48\u610f\u601d\uff1f<\/h3>\n<p>yum\u662f\u4e00\u4e2a\u5de5\u5177\u6216\u547d\u4ee4\uff0c\u5b83\u7b80\u5316\u4e86Linux\u7cfb\u7edf\uff08RedHat\u7cfb\u5217\uff09\u7684\u8f6f\u4ef6\u5305\u7ba1\u7406\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">JavaScript\u3067\u3044\u3046\u3068npm<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Ruby\u3067\u3044\u3046\u3068Bundler<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">PHP\u3067\u3044\u3046\u3068Composer<\/ul>\n<p>\u7c7b\u4f3c\u4e8e\u8fd9\u6837\u7684\u5b58\u5728\u3002<\/p>\n<p>\u5927\u81f4\u800c\u8a00\uff0c\u5b83\u662f\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u8f6f\u4ef6\u5305\u7684\u5b89\u88c5\u3001\u66f4\u65b0\u548c\u5220\u9664\u7b49\u64cd\u4f5c\u7684\u5de5\u5177\u3002\u540c\u65f6\uff0c\u5b83\u4e5f\u80fd\u89e3\u51b3\u8f6f\u4ef6\u4f9d\u8d56\u7684\u95ee\u9898\u3002<\/p>\n<p>\u4f9d\u5b58\u5173\u7cfb\uff1f\uff1f\uff1f\uff08\u7a0d\u540e\u8be6\u7ec6\u8bf4\u660e?\uff09<\/p>\n<h3>\u4ec0\u4e48\u662f\u5305\u88c5\uff1f<\/h3>\n<p>\u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u306f\u3001\u3042\u308b\u6a5f\u80fd\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306b\u307e\u3068\u3081\u3089\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u305f\u3061\uff08\u30d7\u30ed\u30b0\u30e9\u30e0\uff09\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u5982<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Web\u30b5\u30fc\u30d0\u30fc\u306e\u6a5f\u80fd\u3092\u5b9f\u73fe\u3057\u3066\u304f\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u6a5f\u80fd\u3092\u5b9f\u73fe\u3057\u3066\u304f\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u30e1\u30fc\u30eb\u9001\u4fe1\u6a5f\u80fd\u3092\u5b9f\u73fe\u3057\u3066\u304f\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8<\/ul>\n<p>\u662f\u4e0d\u662f\u67d0\u4eba\u4e3a\u6211\u4eec\u51c6\u5907\u597d\u4e86\u4e00\u4e9b\u50cf&#8221;\u65b9\u4fbf\u7684\u5de5\u5177&#8221;\u4e00\u6837\u7684\u4e1c\u897f\u5462\uff1f<\/p>\n<h3>RPM\u3068yum<\/h3>\n<p>\u5b9f\u306f\u3001Linux\u30b7\u30b9\u30c6\u30e0\uff08RedHat\u7cfb\uff09\u306b\u306f\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3001\u524a\u9664\u306a\u3069\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u3057\u3066\u304f\u308c\u308bRPM\uff08Red Hat Package Manager\uff09\u3068\u3044\u3046\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002RPM\u3082\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u6271\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002<\/p>\n<p>\u3069\u3046\u3057\u3066\uff12\u3064\u3082\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u30b3\u30de\u30f3\u30c9\u304c\u3042\u308b\u306e\u3067\u3057\u3087\u3046\u304b\u3002\u3053\u306e\uff12\u3064\u306e\u9055\u3044\u306f\u4f55\u304b\u6c17\u306b\u306a\u308a\u307e\u3059\u3088\u306d\u3002<\/p>\n<p>\u3053\u306e\uff12\u3064\u306e\u4e3b\u306a\u9055\u3044\u306f\u3001\u300c\u4f9d\u5b58\u95a2\u4fc2\u3092\u89e3\u6c7a\u300d\u3057\u3066\u304f\u308c\u308b\u304b\u3069\u3046\u304b\u3067\u3059\u3002<\/p>\n<p>\u521a\u624d\u63d0\u5230\u4e86\u6211\u8bf4\u8981\u89e3\u91ca\u7684&#8221;\u4f9d\u5b58\u5173\u7cfb&#8221;?<\/p>\n<hr \/>\n<p>\u3010\u53c2\u8003\u8cc7\u6599\u3011<br \/>\n\u3010RPM\u5165\u9580\u3011Linux\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u300cRPM\u300d\u3068\u306f\uff1f | UX MILK<\/p>\n<hr \/>\n<h3>\u4f9d\u5b58\u95a2\u4fc2\u3068\u306f\uff1f<\/h3>\n<p>\u5982\u679c\u5728Google Chrome\u4e2d\u641c\u7d22\u201c\u4f9d\u5b58\u201d\uff0c<\/p>\n<blockquote><p>\u300c\u4f9d\u5b58\u300d\u3068\u306f\u3001\u4ed6\u4eba\u3084\u7d44\u7e54\u3001\u30e2\u30ce\u306b\u611b\u60c5\u3084\u652f\u6301\u3001\u4fdd\u8b77\u3001\u63f4\u52a9\u3092\u6c42\u3081\u3001\u305d\u308c\u304c\u306a\u304f\u3066\u306f\u751f\u304d\u3066\u3044\u3051\u306a\u3044\u72b6\u614b\u3067\u3042\u308a\u3001\u884c\u70ba\u3084\u601d\u8003\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u969c\u5bb3\u3068\u3044\u308f\u308c\u3066\u3044\u307e\u3059\u3002\u81ea\u5206\u3067\u306f\u3084\u3081\u3089\u308c\u306a\u304f\u306a\u308a\u3001\u7cbe\u795e\u533b\u5b66\u306e\u7acb\u5834\u304b\u3089\u75c5\u6c17\u3068\u8a8d\u3081\u3089\u308c\u3066\u3044\u308b\u3082\u306e\u3092\u300c\u4f9d\u5b58\u75c7\u300d\u3068\u3044\u3044\u307e\u3059\u3002<\/p><\/blockquote>\n<p>\u4ee5\u4e0b\u662f\u4e00\u79cd\u6c49\u8bed\u7684\u8868\u8fbe\u65b9\u5f0f\uff1a<br \/>\n\u6709\u8fd9\u6837\u7684\u8868\u8ff0\uff0c\u7b80\u5355\u6765\u8bf4\u5c31\u662f\u6307&#8221;\u6ca1\u6709\u4f60\u5c31\u65e0\u6cd5\u751f\u5b58\u7684\u72b6\u6001&#8221;\u3002\u4ee5\u604b\u7231\u4e3a\u60f3\u8c61\u4f1a\u66f4\u5bb9\u6613\u7406\u89e3?<\/p>\n<hr \/>\n<p>\u3010\u53c2\u8003\u8d44\u6599\u3011<br \/>\n\u5173\u4e8e\u4f9d\u5b58<\/p>\n<hr \/>\n<p>\u5b9f\u306f\u3053\u306e\u3088\u3046\u306a\u3053\u3068\u304c\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u306e\u4e16\u754c\u3067\u3082\u3042\u308b\u306e\u3067\u3059\uff01\uff01\uff01<\/p>\n<p>\u4f8b\u5982\uff0c<\/p>\n<p>\u3046\u307e\u3046\u307e\u30ab\u30ec\u30fc\u30d1\u30c3\u30b1\u30fc\u30b8\uff08\u6a5f\u80fd\u306f\u3046\u307e\u3044\u30ab\u30ec\u30fc\u30e9\u30a4\u30b9\u3092\u4f5c\u308b\uff09\u3068\u3044\u3046\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u3042\u308b\u3068\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u3046\u307e\u3046\u307e\u30ab\u30ec\u30fc\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u3001\u304a\u91ce\u83dc\u30c8\u30f3\u30c8\u30f3\u30d1\u30c3\u30b1\u30fc\u30b8\uff08\u6a5f\u80fd\u306f\u91ce\u83dc\u3092\u5207\u308b\uff09\u3068\u3058\u3063\u304f\u308a\u30b0\u30c4\u30b0\u30c4\u30d1\u30c3\u30b1\u30fc\u30b8\uff08\u6a5f\u80fd\u306f\u5177\u6750\u3092\u716e\u8fbc\u3080\uff09\u3092\u53d6\u308a\u8fbc\u3093\u3067\u5b9f\u73fe\u3055\u308c\u3066\u3044\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3059\u3002<\/p>\n<p>\u8fd9\u4e2a\u5173\u7cfb\u662f\u4f9d\u8d56\u5173\u7cfb\u3002<\/p>\n<p>\u3046\u307e\u3046\u307e\u30ab\u30ec\u30fc\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u304a\u91ce\u83dc\u30c8\u30f3\u30c8\u30f3\u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u3058\u3063\u304f\u308a\u30b0\u30c4\u30b0\u30c4\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u306a\u3044\u5834\u5408\u3001\u3046\u307e\u3044\u30ab\u30ec\u30fc\u3092\u4f5c\u308b\u3068\u3044\u3046\u6a5f\u80fd\u3092\u5b9f\u73fe\u3067\u304d\u306a\u3044\u72b6\u614b\u3067\u3059\u3002<\/p>\n<p>\u8a00\u3044\u63db\u3048\u308b\u3068\u3046\u307e\u3046\u307e\u30ab\u30ec\u30fc\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u304a\u91ce\u83dc\u30c8\u30f3\u30c8\u30f3\u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u3058\u3063\u304f\u308a\u30b0\u30c4\u30b0\u30c4\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u300c\u3042\u306a\u305f\u304c\u3044\u306a\u3044\u3068\u751f\u304d\u3066\u3044\u3051\u306a\u3044\u72b6\u614b\u300d\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u306d\u3002(\u604b\u611b\u306e\u4f9d\u5b58\u95a2\u4fc2\u3068\u4e00\u7dd2\uff01\uff01)<\/p>\n<h3>RPM\u548cyum\u7684\u5177\u4f53\u793a\u4f8b<\/h3>\n<p>\u305d\u308c\u3067\u306f\u3001RPM\u3068yum\u306e\u8a71\u306b\u623b\u308a\u307e\u3057\u3087\u3046\u3002<br \/>\nyum\u306f\u3001\u4f9d\u5b58\u95a2\u4fc2\u3092\u89e3\u6c7a\u3057\u3066\u304f\u308c\u308b\u3068\u3044\u3046\u8a71\u3067\u3057\u305f\u306d\u3002<br \/>\n\u3055\u304d\u307b\u3069\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30b3\u30de\u30f3\u30c9\u3067\u8868\u3057\u3066\u307f\u307e\u3057\u3087\u3046\uff01\uff01<\/p>\n<h4>RPM\u306e\u5834\u5408<\/h4>\n<pre class=\"post-pre\"><code>$ rpm -ivh \u304a\u91ce\u83dc\u30c8\u30f3\u30c8\u30f3.rpm\r\n$ rpm -ivh \u3058\u3063\u304f\u308a\u3050\u3064\u3050\u3064.rpm\r\n$ rpm -ivh \u3046\u307e\u3046\u307e\u30ab\u30ec\u30fc.rpm\r\n<\/code><\/pre>\n<p>\u305d\u308c\u305e\u308c\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u306a\u3051\u308c\u3070\u3001\u3046\u307e\u3046\u307e\u30ab\u30ec\u30fc\u306e\u6a5f\u80fd\u3092\u4f7f\u7528\u3067\u304d\u306a\u3044?<\/p>\n<h4>yum\u306e\u5834\u5408<\/h4>\n<pre class=\"post-pre\"><code>$ yum install \u3046\u307e\u3046\u307e\u30ab\u30ec\u30fc\uff08\u30d1\u30c3\u30b1\u30fc\u30b8\u540d\uff09\r\n<\/code><\/pre>\n<p>\u30b3\u30de\u30f3\u30c9\uff11\u3064\u3067\u3046\u307e\u3046\u307e\u30ab\u30ec\u30fc\u3092\u4f5c\u308b\u6a5f\u80fd\u3092\u624b\u306b\u5165\u308c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4f9d\u5b58\u3057\u3066\u3044\u308b\uff12\u3064\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u81ea\u52d5\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u308c\u3066\u3044\u307e\u3059\u3002\uff08\u4f9d\u5b58\u95a2\u4fc2\u306e\u89e3\u6c7a\uff09<\/p>\n<p>\u3053\u306e\u3088\u3046\u306b\u4f9d\u5b58\u95a2\u4fc2\u3092\u7406\u89e3\u3057\u3066\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3084\u524a\u9664\u3092\u884c\u306a\u3063\u3066\u304f\u308c\u308b\u306e\u304cyum\u306a\u306e\u3067\u3059???<\/p>\n<p>\u203b\u5b9f\u306fyum\u30b3\u30de\u30f3\u30c9\u306f\u5185\u90e8\u3067rpm\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002\u300cRPM\u300d\u3092\u5143\u306b\u3057\u305f\u3088\u308a\u9ad8\u6a5f\u80fd\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u304cyum\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002rpm\u30b3\u30de\u30f3\u30c9\u306e\u4fbf\u5229\u7248\u304cyum\u30b3\u30de\u30f3\u30c9\u3068\u3044\u3046\u8a8d\u8b58\u304c\u6b63\u3057\u3044\u3068\u601d\u308f\u308c\u307e\u3059\u3002<\/p>\n<h2>\u4e3b\u8981\u306a\u30b3\u30de\u30f3\u30c9<\/h2>\n<h3>yum install<\/h3>\n<p>\u5b89\u88c5\u6307\u5b9a\u7684\u8f6f\u4ef6\u5305\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span>yum <span class=\"nb\">install <\/span>\u30d1\u30c3\u30b1\u30fc\u30b8\u540d\r\n<\/code><\/pre>\n<h3>yum update<\/h3>\n<p>\u30fb\u6307\u5b9a\u3057\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b<\/p>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span>yum update \u30d1\u30c3\u30b1\u30fc\u30b8\u540d\r\n<\/code><\/pre>\n<h3>yum erase<\/h3>\n<p>\u5378\u8f7d\u6307\u5b9a\u7684\u8f6f\u4ef6\u5305\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span>yum erase \u30d1\u30c3\u30b1\u30fc\u30b8\u540d\r\n<\/code><\/pre>\n<hr \/>\n<p>\u3010\u53c2\u8003\u8cc7\u6599\u3011<br \/>\nyum\u30b3\u30de\u30f3\u30c9\u4e00\u89a7 &#8211; Qiita<\/p>\n<hr \/>\n<h2>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u78ba\u8a8d\u65b9\u6cd5<\/h2>\n<p>\u65e2\u7136\u77e5\u9053\u4e86\u5b89\u88c5\u548c\u66f4\u65b0\u7684\u65b9\u6cd5\uff0c\u90a3\u4e48\u8ba9\u6211\u4eec\u786e\u8ba4\u53ef\u4ee5\u5b89\u88c5\u7684\u8f6f\u4ef6\u5305\u3002<\/p>\n<h3>\u5217\u51fa\u53ef\u7528\u7684\u8f6f\u4ef6\u5305<\/h3>\n<p>\u663e\u793a\u5305\u88f9\u6e05\u5355<\/p>\n<pre class=\"post-pre\"><code>$ yum list [installed|updates|available|extras]\r\n<\/code><\/pre>\n<p>\uff3b\u3000\uff3d\u3067\u56f2\u307e\u308c\u305f\u3082\u306e\u306f\u3001\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\u3002<\/p>\n<p>yum list\u30b3\u30de\u30f3\u30c9\u3060\u3051\u3060\u3068\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u591a\u3059\u304e\u3066\u8868\u793a\u3057\u304d\u308c\u306a\u3044\u306e\u3067\u3001\u300cphp\u300d\u306e\u6587\u5b57\u5217\u304c\u5165\u3063\u3066\u3044\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u3060\u3051\u3092\u4f8b\u3068\u3057\u3066\u8f09\u305b\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>$ yum list | grep php\r\nemacs-php-mode.noarch                       1.18.2-1.el7               base\r\ngraphviz-php.x86_64                         2.30.1-22.el7              base\r\nphp.x86_64                                  5.4.16-48.el7              base\r\nphp-bcmath.x86_64                           5.4.16-48.el7              base\r\nphp-cli.x86_64                              5.4.16-48.el7              base\r\nphp-common.x86_64                           5.4.16-48.el7              base\r\nphp-dba.x86_64                              5.4.16-48.el7              base\r\nphp-devel.x86_64                            5.4.16-48.el7              base\r\nphp-embedded.x86_64                         5.4.16-48.el7              base\r\nphp-enchant.x86_64                          5.4.16-48.el7              base\r\nphp-fpm.x86_64                              5.4.16-48.el7              base\r\nphp-gd.x86_64                               5.4.16-48.el7              base\r\nphp-intl.x86_64                             5.4.16-48.el7              base\r\nphp-ldap.x86_64                             5.4.16-48.el7              base\r\nphp-mbstring.x86_64                         5.4.16-48.el7              base\r\nphp-mysql.x86_64                            5.4.16-48.el7              base\r\nphp-mysqlnd.x86_64                          5.4.16-48.el7              base\r\nphp-odbc.x86_64                             5.4.16-48.el7              base\r\nphp-pdo.x86_64                              5.4.16-48.el7              base\r\nphp-pear.noarch                             1:1.9.4-22.el7             base\r\nphp-pecl-memcache.x86_64                    3.0.8-4.el7                base\r\nphp-pgsql.x86_64                            5.4.16-48.el7              base\r\nphp-process.x86_64                          5.4.16-48.el7              base\r\nphp-pspell.x86_64                           5.4.16-48.el7              base\r\nphp-recode.x86_64                           5.4.16-48.el7              base\r\nphp-snmp.x86_64                             5.4.16-48.el7              base\r\nphp-soap.x86_64                             5.4.16-48.el7              base\r\nphp-xml.x86_64                              5.4.16-48.el7              base\r\nphp-xmlrpc.x86_64                           5.4.16-48.el7              base\r\nrrdtool-php.x86_64                          1.4.8-9.el7                base\r\nuuid-php.x86_64                             1.6.2-26.el7               base\r\n<\/code><\/pre>\n<h3>yum list installed<\/h3>\n<p>\u663e\u793a\u5df2\u5b89\u88c5\u7684\u8f6f\u4ef6\u5305<\/p>\n<pre class=\"post-pre\"><code><span class=\"nv\">$ <\/span>yum list installed\r\n<\/code><\/pre>\n<p>\u5177\u4f53\u7684\u4f8b\u5b50<\/p>\n<pre class=\"post-pre\"><code>$ yum list installed\r\n\u8aad\u307f\u8fbc\u3093\u3060\u30d7\u30e9\u30b0\u30a4\u30f3:fastestmirror\r\nLoading mirror speeds from cached hostfile\r\n * base: d36uatko69830t.cloudfront.net\r\n * extras: d36uatko69830t.cloudfront.net\r\n * updates: d36uatko69830t.cloudfront.net\r\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u30d1\u30c3\u30b1\u30fc\u30b8\r\nPyYAML.x86_64                                                  3.10-11.el7                                       installed\r\nacl.x86_64                                                     2.2.51-15.el7                                     @base\r\naudit.x86_64                                                   2.8.5-4.el7                                       installed\r\naudit-libs.x86_64                                              2.8.5-4.el7                                       installed\r\naudit-libs-python.x86_64                                       2.8.5-4.el7                                       installed\r\nauthconfig.x86_64                                              6.2.8-30.el7                                      installed\r\nbasesystem.noarch                                              10.0-7.el7.centos                                 installed\r\nbash.x86_64                                                    4.2.46-34.el7                                     @base\r\nbc.x86_64                                                      1.06.95-13.el7                                    @base\r\nbind-export-libs.x86_64                                        32:9.11.4-26.P2.el7_9.5                           @updates\r\nbinutils.x86_64                                                2.27-44.base.el7                                  @base\r\nbtrfs-progs.x86_64                                             4.9.1-1.el7                                       installed\r\nbzip2-libs.x86_64                                              1.0.6-13.el7                                      installed\r\nca-certificates.noarch                                         2020.2.41-70.0.el7_8                              @base\r\ncentos-release.x86_64                                          7-9.2009.1.el7.centos                             @updates\r\ncheckpolicy.x86_64                                             2.5-8.el7                                         installed\r\nchkconfig.x86_64                                               1.7.6-1.el7                                       @base\r\n...\r\n...\r\n...\uff08\u7d9a\u304f\uff09\r\n<\/code><\/pre>\n<h3>\u5217\u51fa\u53ef\u66f4\u65b0\u7684yum\u6e05\u5355<\/h3>\n<p>\u30fb\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u53ef\u80fd\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u8868\u793a<\/p>\n<pre class=\"post-pre\"><code>$ yum list updates\r\n<\/code><\/pre>\n<h3>\u5217\u51fa\u53ef\u7528\u7684\u8f6f\u4ef6\u5305<\/h3>\n<p>\u5728\u5b58\u50a8\u5e93\u4e2d\u663e\u793a\u53ef\u7528\u7684\u8f6f\u4ef6\u5305\u3002<\/p>\n<pre class=\"post-pre\"><code>$ yum list available\r\n<\/code><\/pre>\n<h3>\u5217\u51fa\u6240\u6709\u989d\u5916\u8f6f\u4ef6<\/h3>\n<p>\u5c55\u793a\u90a3\u4e9b\u5df2\u65e0\u6cd5\u4f7f\u7528\u7684\u5305\u88c5<\/p>\n<pre class=\"post-pre\"><code>$ yum list extras\r\n<\/code><\/pre>\n<h3>yum search<\/h3>\n<p>\u30fb\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u691c\u7d22<\/p>\n<pre class=\"post-pre\"><code>$ yum search \u30d1\u30c3\u30b1\u30fc\u30b8\u540d\u3084\u7528\u8a9e\r\n<\/code><\/pre>\n<p>yum search \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u4e0a\u306eRPM\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u540d\u3001\u8a73\u7d30\u3001\u30b5\u30de\u30ea\u304b\u3089\u5bfe\u8c61\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u691c\u7d22\u3059\u308b\u4e8b\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>$ yum search php\r\n\u8aad\u307f\u8fbc\u3093\u3060\u30d7\u30e9\u30b0\u30a4\u30f3:fastestmirror\r\nLoading mirror speeds from cached hostfile\r\n * base: d36uatko69830t.cloudfront.net\r\n * extras: d36uatko69830t.cloudfront.net\r\n * updates: d36uatko69830t.cloudfront.net\r\n=================================================================================== N\/S matched: php ===================================================================================\r\nemacs-php-mode.noarch : Major GNU Emacs mode for editing PHP code\r\ngraphviz-php.x86_64 : PHP extension for graphviz\r\nphp.x86_64 : PHP scripting language for creating dynamic web sites\r\nphp-bcmath.x86_64 : A module for PHP applications for using the bcmath library\r\nphp-cli.x86_64 : Command-line interface for PHP\r\nphp-common.x86_64 : Common files for PHP\r\nphp-dba.x86_64 : A database abstraction layer module for PHP applications\r\nphp-devel.x86_64 : Files needed for building PHP extensions\r\nphp-embedded.x86_64 : PHP library for embedding in applications\r\nphp-enchant.x86_64 : Enchant spelling extension for PHP applications\r\nphp-fpm.x86_64 : PHP FastCGI Process Manager\r\nphp-gd.x86_64 : A module for PHP applications for using the gd graphics library\r\nphp-intl.x86_64 : Internationalization extension for PHP applications\r\nphp-ldap.x86_64 : A module for PHP applications that use LDAP\r\nphp-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling\r\nphp-mysql.x86_64 : A module for PHP applications that use MySQL databases\r\nphp-mysqlnd.x86_64 : A module for PHP applications that use MySQL databases\r\nphp-odbc.x86_64 : A module for PHP applications that use ODBC databases\r\n...\r\n...\r\n...\uff08\u7d9a\u304f\uff09\r\n<\/code><\/pre>\n<h3>\u67e5\u8be2\u6709\u5173yum\u7684\u4fe1\u606f<\/h3>\n<p>\u786e\u8ba4\u5305\u88f9\u7684\u4fe1\u606f<\/p>\n<pre class=\"post-pre\"><code>$ yum info \u30d1\u30c3\u30b1\u30fc\u30b8\u540d\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>$ yum info php\r\n\u8aad\u307f\u8fbc\u3093\u3060\u30d7\u30e9\u30b0\u30a4\u30f3:fastestmirror\r\nLoading mirror speeds from cached hostfile\r\n * base: d36uatko69830t.cloudfront.net\r\n * extras: d36uatko69830t.cloudfront.net\r\n * updates: d36uatko69830t.cloudfront.net\r\n\u5229\u7528\u53ef\u80fd\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\r\n\u540d\u524d                : php\r\n\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u30fc    : x86_64\r\n\u30d0\u30fc\u30b8\u30e7\u30f3          : 5.4.16\r\n\u30ea\u30ea\u30fc\u30b9            : 48.el7\r\n\u5bb9\u91cf                : 1.4 M\r\n\u30ea\u30dd\u30b8\u30c8\u30ea\u30fc        : base\/7\/x86_64\r\n\u8981\u7d04                : PHP scripting language for creating dynamic web sites\r\nURL                 : http:\/\/www.php.net\/\r\n\u30e9\u30a4\u30bb\u30f3\u30b9          : PHP and Zend and BSD\r\n\u8aac\u660e                : PHP is an HTML-embedded scripting language. PHP attempts to make it\r\n                    : easy for developers to write dynamically generated web pages. PHP also\r\n                    : offers built-in database integration for several commercial and\r\n                    : non-commercial database management systems, so writing a\r\n                    : database-enabled webpage with PHP is fairly simple. The most common\r\n                    : use of PHP coding is probably as a replacement for CGI scripts.\r\n                    :\r\n                    : The php package contains the module (often referred to as mod_php)\r\n                    : which adds support for the PHP language to Apache HTTP Server.\r\n<\/code><\/pre>\n<hr \/>\n<p>\u3010\u53c2\u8003\u8d44\u6599\u3011<br \/>\n\u3010yum list\u3011\u663e\u793a\u548c\u786e\u8ba4\u8f6f\u4ef6\u5305\u5217\u8868 | UX MILK<\/p>\n<hr \/>\n<h2>\u5916\u90e8\u50a8\u5b58\u5e93<\/h2>\n<p>yum\u30ea\u30dd\u30b8\u30c8\u30ea\u306f\u3001\u63d0\u4f9b\u3057\u3066\u3044\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u53e4\u304b\u3063\u305f\u308a\u3001\u6b32\u3057\u3044\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u306a\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u6642\u306f\u3001\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u6b32\u3057\u3044\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u203b\u30ea\u30dd\u30b8\u30c8\u30ea\u3068\u306f\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u306a\u3069\u306e\u4fdd\u5b58\u5834\u6240\u306e\u3053\u3068<\/p>\n<hr \/>\n<p>\u3010\u53c2\u8003\u8d44\u6599\u3011<br \/>\n\u5916\u90e8\u4ed3\u5e93\u662f\u5728CentOS\u4e2d\u4f7f\u7528\u7684\u4e00\u4e2a\u672f\u8bed\uff0c\u5b83\u662f\u4ec0\u4e48\u610f\u601d\u5462\uff1fUNIX\u548cLinux | \u6559\u3048\u3066!goo<\/p>\n<hr \/>\n<h3>\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u78ba\u8a8d<\/h3>\n<p>\u73b0\u5728\u53ef\u4ee5\u67e5\u770b\u6b63\u5728\u4f7f\u7528\u7684\u5b58\u50a8\u5e93\u3002<\/p>\n<pre class=\"post-pre\"><code>$ yum repolist\r\n\u8aad\u307f\u8fbc\u3093\u3060\u30d7\u30e9\u30b0\u30a4\u30f3:fastestmirror\r\nLoading mirror speeds from cached hostfile\r\n * base: d36uatko69830t.cloudfront.net\r\n * extras: d36uatko69830t.cloudfront.net\r\n * updates: d36uatko69830t.cloudfront.net\r\n\u30ea\u30dd\u30b8\u30c8\u30ea\u30fc ID                                                                         \u30ea\u30dd\u30b8\u30c8\u30ea\u30fc\u540d                                                                            \u72b6\u614b\r\nbase\/7\/x86_64                                                                           CentOS-7 - Base                                                                           10,072\r\nextras\/7\/x86_64                                                                         CentOS-7 - Extras                                                                            498\r\nupdates\/7\/x86_64                                                                        CentOS-7 - Updates                                                                         2,552\r\nrepolist: 13,122\r\n<\/code><\/pre>\n<h3>\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u53d6\u308a\u8fbc\u307f<\/h3>\n<p>\u4e0b\u8a18\u306e\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3057\u3066\u3001\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u3042\u308b\u300cRemi&#8217;s RPM repository\u300d\u3092\u8ffd\u52a0\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<hr \/>\n<p>\u3010\u53c2\u8003\u8cc7\u6599\u3011<br \/>\nyum\u30ea\u30dd\u30b8\u30c8\u30ea\u8ffd\u52a0\u30ea\u30b9\u30c8 \u5b8c\u5168\u7248 &#8211; Qiita<\/p>\n<hr \/>\n<pre class=\"post-pre\"><code>$ sudo yum install http:\/\/rpms.famillecollet.com\/enterprise\/remi-release-7.rpm\r\n\u8aad\u307f\u8fbc\u3093\u3060\u30d7\u30e9\u30b0\u30a4\u30f3:fastestmirror\r\nremi-release-7.rpm                                                                                                                                                                   |  23 kB  00:00:00\r\n\/var\/tmp\/yum-root-cvPpK7\/remi-release-7.rpm \u3092\u8abf\u3079\u3066\u3044\u307e\u3059: remi-release-7.9-1.el7.remi.noarch\r\n\/var\/tmp\/yum-root-cvPpK7\/remi-release-7.rpm \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u3068\u3057\u3066\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\r\n\u4f9d\u5b58\u6027\u306e\u89e3\u6c7a\u3092\u3057\u3066\u3044\u307e\u3059\r\n--&gt; \u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u78ba\u8a8d\u3092\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002\r\n---&gt; \u30d1\u30c3\u30b1\u30fc\u30b8 remi-release.noarch 0:7.9-1.el7.remi \u3092 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\n--&gt; \u4f9d\u5b58\u6027\u306e\u51e6\u7406\u3092\u3057\u3066\u3044\u307e\u3059: epel-release = 7 \u306e\u30d1\u30c3\u30b1\u30fc\u30b8: remi-release-7.9-1.el7.remi.noarch\r\nLoading mirror speeds from cached hostfile\r\n * base: d36uatko69830t.cloudfront.net\r\n * extras: d36uatko69830t.cloudfront.net\r\n * updates: d36uatko69830t.cloudfront.net\r\n--&gt; \u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u78ba\u8a8d\u3092\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002\r\n---&gt; \u30d1\u30c3\u30b1\u30fc\u30b8 epel-release.noarch 0:7-11 \u3092 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\n--&gt; \u4f9d\u5b58\u6027\u89e3\u6c7a\u3092\u7d42\u4e86\u3057\u307e\u3057\u305f\u3002\r\n\r\n\u4f9d\u5b58\u6027\u3092\u89e3\u6c7a\u3057\u307e\u3057\u305f\r\n\r\n============================================================================================================================================================================================================\r\n Package                                          \u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u30fc                           \u30d0\u30fc\u30b8\u30e7\u30f3                                           \u30ea\u30dd\u30b8\u30c8\u30ea\u30fc                                         \u5bb9\u91cf\r\n============================================================================================================================================================================================================\r\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d:\r\n remi-release                                     noarch                                     7.9-1.el7.remi                                       \/remi-release-7                                      31 k\r\n\u4f9d\u5b58\u6027\u95a2\u9023\u3067\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u3057\u307e\u3059:\r\n epel-release                                     noarch                                     7-11                                                 extras                                               15 k\r\n\r\n\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u8981\u7d04\r\n============================================================================================================================================================================================================\r\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb  1 \u30d1\u30c3\u30b1\u30fc\u30b8 (+1 \u500b\u306e\u4f9d\u5b58\u95a2\u4fc2\u306e\u30d1\u30c3\u30b1\u30fc\u30b8)\r\n\r\n\u5408\u8a08\u5bb9\u91cf: 45 k\r\n\u7dcf\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5bb9\u91cf: 15 k\r\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5bb9\u91cf: 55 k\r\nIs this ok [y\/d\/N]: y\r\nDownloading packages:\r\nepel-release-7-11.noarch.rpm                                                                                                                                                         |  15 kB  00:00:00\r\nRunning transaction check\r\nRunning transaction test\r\nTransaction test succeeded\r\nRunning transaction\r\n  \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d          : epel-release-7-11.noarch                                                                                                                                                    1\/2\r\n  \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d          : remi-release-7.9-1.el7.remi.noarch                                                                                                                                          2\/2\r\n  \u691c\u8a3c\u4e2d                  : epel-release-7-11.noarch                                                                                                                                                    1\/2\r\n  \u691c\u8a3c\u4e2d                  : remi-release-7.9-1.el7.remi.noarch                                                                                                                                          2\/2\r\n\r\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb:\r\n  remi-release.noarch 0:7.9-1.el7.remi\r\n\r\n\u4f9d\u5b58\u6027\u95a2\u9023\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f:\r\n  epel-release.noarch 0:7-11\r\n\r\n\u5b8c\u4e86\u3057\u307e\u3057\u305f!\r\n<\/code><\/pre>\n<p>\u305d\u308c\u3067\u306f\u3001\u73fe\u5728\u4f7f\u7528\u3057\u3066\u3044\u308b\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"post-pre\"><code>$ yum repolist\r\n\u8aad\u307f\u8fbc\u3093\u3060\u30d7\u30e9\u30b0\u30a4\u30f3:fastestmirror\r\nLoading mirror speeds from cached hostfile\r\nepel\/x86_64\/metalink                                                                                                                                                                 | 9.5 kB  00:00:00\r\n * base: d36uatko69830t.cloudfront.net\r\n * epel: ftp.iij.ad.jp\r\n * extras: d36uatko69830t.cloudfront.net\r\n * remi-safe: ftp.riken.jp\r\n * updates: d36uatko69830t.cloudfront.net\r\nepel                                                                                                                                                                                 | 4.7 kB  00:00:00\r\nremi-safe                                                                                                                                                                            | 3.0 kB  00:00:00\r\n(1\/4): epel\/x86_64\/group_gz                                                                                                                                                          |  96 kB  00:00:00\r\n(2\/4): remi-safe\/primary_db                                                                                                                                                          | 2.0 MB  00:00:00\r\nepel\/x86_64\/updateinfo         FAILED\r\nhttps:\/\/nrt.edge.kernel.org\/fedora-buffet\/epel\/7\/x86_64\/repodata\/f040f54116b01148f14d8321fada71bd850e9e667f48b4d949a884a1a2300b65-updateinfo.xml.bz2: [Errno 14] HTTPS Error 404 - Not FoundB  --:--:-- ETA\r\n\u4ed6\u306e\u30df\u30e9\u30fc\u3092\u8a66\u3057\u307e\u3059\u3002\r\nTo address this issue please refer to the below wiki article\r\n\r\nhttps:\/\/wiki.centos.org\/yum-errors\r\n\r\nIf above article doesn't help to resolve this issue please use https:\/\/bugs.centos.org\/.\r\n\r\n(3\/4): epel\/x86_64\/updateinfo                                                                                                                                                        | 1.0 MB  00:00:00\r\n(4\/4): epel\/x86_64\/primary_db                                                                                                                                                        | 6.9 MB  00:00:00\r\n\u30ea\u30dd\u30b8\u30c8\u30ea\u30fc ID                                                               \u30ea\u30dd\u30b8\u30c8\u30ea\u30fc\u540d                                                                                                          \u72b6\u614b\r\nbase\/7\/x86_64                                                                 CentOS-7 - Base                                                                                                         10,072\r\nepel\/x86_64                                                                   Extra Packages for Enterprise Linux 7 - x86_64                                                                          13,625\r\nextras\/7\/x86_64                                                               CentOS-7 - Extras                                                                                                          498\r\nremi-safe                                                                     Safe Remi's RPM repository for Enterprise Linux 7 - x86_64                                                               4,470\r\nupdates\/7\/x86_64                                                              CentOS-7 - Updates                                                                                                       2,552\r\nrepolist: 31,217\r\n<\/code><\/pre>\n<p>\u4f7f\u7528\u3067\u304d\u308b\u30ea\u30dd\u30b8\u30c8\u30ea\u304c\u5897\u3048\u3066\u3044\u307e\u3059\u306d\u3002\u3053\u306e\u300cRemi&#8217;s RPM repository\u300d\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u65b0\u3057\u3044PHP\u3092\u5229\u7528\u3057\u305f\u3044\u6642\u306b\u5229\u7528\u3057\u307e\u3059\u3002\u3088\u3063\u3066\u3001php7.\uff0a\u3084php8.\uff0a\u306a\u3069\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"post-pre\"><code>$ yum list | grep php\r\n\r\n\uff08\u4e00\u90e8\u629c\u7c8b\uff09\r\n...\r\n...\r\nphp74.x86_64                                1.0-3.el7.remi             remi-safe\r\nphp74-build.x86_64                          1.0-3.el7.remi             remi-safe\r\nphp74-php.x86_64                            7.4.22-1.el7.remi          remi-safe\r\nphp74-php-ast.x86_64                        1.0.14-1.el7.remi          remi-safe\r\nphp74-php-bcmath.x86_64                     7.4.22-1.el7.remi          remi-safe\r\nphp74-php-brotli.x86_64                     0.13.1-1.el7.remi          remi-safe\r\nphp74-php-cli.x86_64                        7.4.22-1.el7.remi          remi-safe\r\n...\r\n...\r\n...\r\nphp80.x86_64                                1.0-3.el7.remi             remi-safe\r\nphp80-build.x86_64                          1.0-3.el7.remi             remi-safe\r\nphp80-php.x86_64                            8.0.9-1.el7.remi           remi-safe\r\nphp80-php-ast.x86_64                        1.0.14-1.el7.remi          remi-safe\r\nphp80-php-bcmath.x86_64                     8.0.9-1.el7.remi           remi-safe\r\nphp80-php-brotli.x86_64                     0.13.1-1.el7.remi          remi-safe\r\nphp80-php-cli.x86_64                        8.0.9-1.el7.remi           remi-safe\r\nphp80-php-common.x86_64                     8.0.9-1.el7.remi           remi-safe\r\nphp80-php-componere.x86_64                  3.1.2-1.el7.remi           remi-safe\r\n...\r\n...\r\n...\uff08\u7d9a\u304f\uff09\r\n<\/code><\/pre>\n<p>php7.\uff0a\u3084php8.\uff0a\u306a\u3069\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306b\u3001yum\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u306a\u3044\u30d1\u30c3\u30b1\u30fc\u30b8\u3082\u5916\u90e8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u306e\u3067\u3059\u3002<\/p>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>\u6700\u5f8c\u307e\u3067\u8aad\u3093\u3067\u3044\u305f\u3060\u304d\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002\u4eca\u56de\u306e\u8a18\u4e8b\u304c\u5c11\u3057\u3067\u3082yum\u3084\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u306e\u7406\u89e3\u306b\u3064\u306a\u304c\u308c\u3070\u5b09\u3057\u304f\u601d\u3044\u307e\u3059\u3002<br \/>\nQiita\u3067\u521d\u3081\u3066\u306e\u6295\u7a3f\u3067\u3057\u305f\u3002\u8a18\u4e8b\u306e\u4f5c\u6210\u306f\u77e5\u8b58\u3092\u6574\u7406\u3057\u306a\u3044\u3068\u66f8\u3051\u306a\u3044\u306e\u3067\u5fa9\u7fd2\u306b\u3082\u3063\u3066\u3053\u3044\u3067\u3059\u306d\u3002\u4eca\u5f8c\u3082\u5b9a\u671f\u7684\u306b\u8a18\u4e8b\u3092\u6295\u7a3f\u3057\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2>\u8bf7\u63d0\u4f9b\u53c2\u8003\u8d44\u6599\u3002<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u3010RPM\u5165\u9580\u3011Linux\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u300cRPM\u300d\u3068\u306f\uff1f | UX MILK<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u4f9d\u5b58\u306b\u3064\u3044\u3066<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">yum\u30b3\u30de\u30f3\u30c9\u4e00\u89a7 &#8211; Qiita<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u3010yum list\u3011\u30d1\u30c3\u30b1\u30fc\u30b8\u4e00\u89a7\u3092\u8868\u793a\u30fb\u78ba\u8a8d\u3059\u308b | UX MILK<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u5916\u90e8\u30ec\u30dd\u30b8\u30c8\u30ea\u3068\u306f -CentOS\u3067\u7528\u8a9e\u3068\u3057\u3066\u4f7f\u308f\u308c\u308b\u30ec\u30dd\u30b8\u30c8\u30ea\u3068\u306f\u3069\u3046\u3044- UNIX\u30fbLinux | \u6559\u3048\u3066!goo<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">yum\u30ea\u30dd\u30b8\u30c8\u30ea\u8ffd\u52a0\u30ea\u30b9\u30c8 \u5b8c\u5168\u7248 &#8211; Qiita<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u9996\u5148 \u521d\u6b21\u89c1\u9762\uff0c\u6211\u662f\u521a\u5f00\u59cb\u5b66\u4e60\u7f16\u7a0b\u7684\u521d\u5b66\u8005\u3002 \u6211\u4f1a\u5728QIita\u4e0a\u8f93\u51fa\u6211\u6240\u5b66\u5230\u7684\u4e1c\u897f\u3002 \u5982\u679c\u5bf9\u6211\u7684\u6587\u7ae0\u6709\u4efb\u4f55\u7591\u95ee [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-34762","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010RedHat\u7cfb\uff08\u5982CentOS\u7b49\uff09\u3011\u521d\u5b66\u8005\u9700\u8981\u638c\u63e1\u7684yum\u6982\u8ff0\u3001\u4e3b\u8981\u547d\u4ee4\u548c\u5916\u90e8\u4ed3\u5e93 - Blog - Silicon Cloud<\/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.silicloud.com\/zh\/blog\/\u3010redhat\u7cfb\uff08\u5982centos\u7b49\uff09\u3011\u521d\u5b66\u8005\u9700\u8981\u638c\u63e1\u7684yum\u6982\u8ff0\u3001\u4e3b\u8981\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010RedHat\u7cfb\uff08\u5982CentOS\u7b49\uff09\u3011\u521d\u5b66\u8005\u9700\u8981\u638c\u63e1\u7684yum\u6982\u8ff0\u3001\u4e3b\u8981\u547d\u4ee4\u548c\u5916\u90e8\u4ed3\u5e93\" \/>\n<meta property=\"og:description\" content=\"\u9996\u5148 \u521d\u6b21\u89c1\u9762\uff0c\u6211\u662f\u521a\u5f00\u59cb\u5b66\u4e60\u7f16\u7a0b\u7684\u521d\u5b66\u8005\u3002 \u6211\u4f1a\u5728QIita\u4e0a\u8f93\u51fa\u6211\u6240\u5b66\u5230\u7684\u4e1c\u897f\u3002 \u5982\u679c\u5bf9\u6211\u7684\u6587\u7ae0\u6709\u4efb\u4f55\u7591\u95ee [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u3010redhat\u7cfb\uff08\u5982centos\u7b49\uff09\u3011\u521d\u5b66\u8005\u9700\u8981\u638c\u63e1\u7684yum\u6982\u8ff0\u3001\u4e3b\u8981\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-05T20:49:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T09:06:07+00:00\" \/>\n<meta name=\"author\" content=\"\u6e05, \u5b87\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6e05, \u5b87\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90redhat%e7%b3%bb%ef%bc%88%e5%a6%82centos%e7%ad%89%ef%bc%89%e3%80%91%e5%88%9d%e5%ad%a6%e8%80%85%e9%9c%80%e8%a6%81%e6%8e%8c%e6%8f%a1%e7%9a%84yum%e6%a6%82%e8%bf%b0%e3%80%81%e4%b8%bb%e8%a6%81\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90redhat%e7%b3%bb%ef%bc%88%e5%a6%82centos%e7%ad%89%ef%bc%89%e3%80%91%e5%88%9d%e5%ad%a6%e8%80%85%e9%9c%80%e8%a6%81%e6%8e%8c%e6%8f%a1%e7%9a%84yum%e6%a6%82%e8%bf%b0%e3%80%81%e4%b8%bb%e8%a6%81\/\",\"name\":\"\u3010RedHat\u7cfb\uff08\u5982CentOS\u7b49\uff09\u3011\u521d\u5b66\u8005\u9700\u8981\u638c\u63e1\u7684yum\u6982\u8ff0\u3001\u4e3b\u8981\u547d\u4ee4\u548c\u5916\u90e8\u4ed3\u5e93 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2024-03-05T20:49:05+00:00\",\"dateModified\":\"2024-04-29T09:06:07+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90redhat%e7%b3%bb%ef%bc%88%e5%a6%82centos%e7%ad%89%ef%bc%89%e3%80%91%e5%88%9d%e5%ad%a6%e8%80%85%e9%9c%80%e8%a6%81%e6%8e%8c%e6%8f%a1%e7%9a%84yum%e6%a6%82%e8%bf%b0%e3%80%81%e4%b8%bb%e8%a6%81\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90redhat%e7%b3%bb%ef%bc%88%e5%a6%82centos%e7%ad%89%ef%bc%89%e3%80%91%e5%88%9d%e5%ad%a6%e8%80%85%e9%9c%80%e8%a6%81%e6%8e%8c%e6%8f%a1%e7%9a%84yum%e6%a6%82%e8%bf%b0%e3%80%81%e4%b8%bb%e8%a6%81\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90redhat%e7%b3%bb%ef%bc%88%e5%a6%82centos%e7%ad%89%ef%bc%89%e3%80%91%e5%88%9d%e5%ad%a6%e8%80%85%e9%9c%80%e8%a6%81%e6%8e%8c%e6%8f%a1%e7%9a%84yum%e6%a6%82%e8%bf%b0%e3%80%81%e4%b8%bb%e8%a6%81\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010RedHat\u7cfb\uff08\u5982CentOS\u7b49\uff09\u3011\u521d\u5b66\u8005\u9700\u8981\u638c\u63e1\u7684yum\u6982\u8ff0\u3001\u4e3b\u8981\u547d\u4ee4\u548c\u5916\u90e8\u4ed3\u5e93\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\",\"name\":\"\u6e05, \u5b87\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"caption\":\"\u6e05, \u5b87\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90redhat%e7%b3%bb%ef%bc%88%e5%a6%82centos%e7%ad%89%ef%bc%89%e3%80%91%e5%88%9d%e5%ad%a6%e8%80%85%e9%9c%80%e8%a6%81%e6%8e%8c%e6%8f%a1%e7%9a%84yum%e6%a6%82%e8%bf%b0%e3%80%81%e4%b8%bb%e8%a6%81\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u3010RedHat\u7cfb\uff08\u5982CentOS\u7b49\uff09\u3011\u521d\u5b66\u8005\u9700\u8981\u638c\u63e1\u7684yum\u6982\u8ff0\u3001\u4e3b\u8981\u547d\u4ee4\u548c\u5916\u90e8\u4ed3\u5e93 - Blog - Silicon Cloud","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.silicloud.com\/zh\/blog\/\u3010redhat\u7cfb\uff08\u5982centos\u7b49\uff09\u3011\u521d\u5b66\u8005\u9700\u8981\u638c\u63e1\u7684yum\u6982\u8ff0\u3001\u4e3b\u8981\/","og_locale":"zh_CN","og_type":"article","og_title":"\u3010RedHat\u7cfb\uff08\u5982CentOS\u7b49\uff09\u3011\u521d\u5b66\u8005\u9700\u8981\u638c\u63e1\u7684yum\u6982\u8ff0\u3001\u4e3b\u8981\u547d\u4ee4\u548c\u5916\u90e8\u4ed3\u5e93","og_description":"\u9996\u5148 \u521d\u6b21\u89c1\u9762\uff0c\u6211\u662f\u521a\u5f00\u59cb\u5b66\u4e60\u7f16\u7a0b\u7684\u521d\u5b66\u8005\u3002 \u6211\u4f1a\u5728QIita\u4e0a\u8f93\u51fa\u6211\u6240\u5b66\u5230\u7684\u4e1c\u897f\u3002 \u5982\u679c\u5bf9\u6211\u7684\u6587\u7ae0\u6709\u4efb\u4f55\u7591\u95ee [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u3010redhat\u7cfb\uff08\u5982centos\u7b49\uff09\u3011\u521d\u5b66\u8005\u9700\u8981\u638c\u63e1\u7684yum\u6982\u8ff0\u3001\u4e3b\u8981\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-03-05T20:49:05+00:00","article_modified_time":"2024-04-29T09:06:07+00:00","author":"\u6e05, \u5b87","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6e05, \u5b87","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"7 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90redhat%e7%b3%bb%ef%bc%88%e5%a6%82centos%e7%ad%89%ef%bc%89%e3%80%91%e5%88%9d%e5%ad%a6%e8%80%85%e9%9c%80%e8%a6%81%e6%8e%8c%e6%8f%a1%e7%9a%84yum%e6%a6%82%e8%bf%b0%e3%80%81%e4%b8%bb%e8%a6%81\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90redhat%e7%b3%bb%ef%bc%88%e5%a6%82centos%e7%ad%89%ef%bc%89%e3%80%91%e5%88%9d%e5%ad%a6%e8%80%85%e9%9c%80%e8%a6%81%e6%8e%8c%e6%8f%a1%e7%9a%84yum%e6%a6%82%e8%bf%b0%e3%80%81%e4%b8%bb%e8%a6%81\/","name":"\u3010RedHat\u7cfb\uff08\u5982CentOS\u7b49\uff09\u3011\u521d\u5b66\u8005\u9700\u8981\u638c\u63e1\u7684yum\u6982\u8ff0\u3001\u4e3b\u8981\u547d\u4ee4\u548c\u5916\u90e8\u4ed3\u5e93 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2024-03-05T20:49:05+00:00","dateModified":"2024-04-29T09:06:07+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90redhat%e7%b3%bb%ef%bc%88%e5%a6%82centos%e7%ad%89%ef%bc%89%e3%80%91%e5%88%9d%e5%ad%a6%e8%80%85%e9%9c%80%e8%a6%81%e6%8e%8c%e6%8f%a1%e7%9a%84yum%e6%a6%82%e8%bf%b0%e3%80%81%e4%b8%bb%e8%a6%81\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90redhat%e7%b3%bb%ef%bc%88%e5%a6%82centos%e7%ad%89%ef%bc%89%e3%80%91%e5%88%9d%e5%ad%a6%e8%80%85%e9%9c%80%e8%a6%81%e6%8e%8c%e6%8f%a1%e7%9a%84yum%e6%a6%82%e8%bf%b0%e3%80%81%e4%b8%bb%e8%a6%81\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90redhat%e7%b3%bb%ef%bc%88%e5%a6%82centos%e7%ad%89%ef%bc%89%e3%80%91%e5%88%9d%e5%ad%a6%e8%80%85%e9%9c%80%e8%a6%81%e6%8e%8c%e6%8f%a1%e7%9a%84yum%e6%a6%82%e8%bf%b0%e3%80%81%e4%b8%bb%e8%a6%81\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u3010RedHat\u7cfb\uff08\u5982CentOS\u7b49\uff09\u3011\u521d\u5b66\u8005\u9700\u8981\u638c\u63e1\u7684yum\u6982\u8ff0\u3001\u4e3b\u8981\u547d\u4ee4\u548c\u5916\u90e8\u4ed3\u5e93"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e","name":"\u6e05, \u5b87","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","caption":"\u6e05, \u5b87"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90redhat%e7%b3%bb%ef%bc%88%e5%a6%82centos%e7%ad%89%ef%bc%89%e3%80%91%e5%88%9d%e5%ad%a6%e8%80%85%e9%9c%80%e8%a6%81%e6%8e%8c%e6%8f%a1%e7%9a%84yum%e6%a6%82%e8%bf%b0%e3%80%81%e4%b8%bb%e8%a6%81\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/34762","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=34762"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/34762\/revisions"}],"predecessor-version":[{"id":86533,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/34762\/revisions\/86533"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=34762"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=34762"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=34762"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}