{"id":3515,"date":"2018-05-27T18:38:20","date_gmt":"2018-05-27T09:38:20","guid":{"rendered":"http:\/\/www.code-magagine.com\/?p=3515"},"modified":"2023-05-27T21:23:15","modified_gmt":"2023-05-27T12:23:15","slug":"%e3%80%90linux%e3%80%91%e3%83%91%e3%83%83%e3%82%b1%e3%83%bc%e3%82%b8%e7%ae%a1%e7%90%86%e3%82%b7%e3%82%b9%e3%83%86%e3%83%a0%e3%81%ae%e5%9f%ba%e6%9c%ac","status":"publish","type":"post","link":"http:\/\/www.code-magagine.com\/?p=3515","title":{"rendered":"\u3010Linux\u3011\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u306e\u57fa\u672c(RMP\u3001yum\u306b\u3064\u3044\u3066)"},"content":{"rendered":"<h2>\u305d\u3082\u305d\u3082\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u306f\uff1f<\/h2>\n<p>\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u5b9f\u884c\u30d7\u30ed\u30b0\u30e9\u30e0\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u7b49\u304c\u4e00\u307e\u3068\u3081\u306b\u306a\u3063\u305f\u307e\u3068\u307e\u308a\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>RedHat\u7cfb\u3067\u3042\u308c\u3070\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u306f<span style=\"color: #ff0000;\"><strong>\u300cRPM\u300d<\/strong><\/span>\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001Debian\u7cfb\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3067\u306f\u3001<span style=\"color: #ff0000;\"><strong>\u300cdeb\u300d<\/strong><\/span>\u3068\u3044\u3046\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u306a\u308a\u307e\u3059\u3002\uff08\u672c\u8a18\u4e8b\u3067\u306f\u5272\u611b\u3057\u307e\u3059\u3002\uff09<\/p>\n<h2>\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3068\u306f\uff1f<\/h2>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u5fc5\u8981\u306a\u30d5\u30a1\u30a4\u30eb\u3092\u3072\u3068\u307e\u3068\u3081\u306b\u3057\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304b\u3089\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u307e\u3067\u3092\u4e00\u8cab\u3057\u3066\u7ba1\u7406\u3059\u308b\u30b7\u30b9\u30c6\u30e0\u3067\u3059\u3002<\/p>\n<p>\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306b\u3088\u3063\u3066\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u306f\u7570\u306a\u308a\u307e\u3059\u304c\u3001RPM\u5411\u3051\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3092<span style=\"color: #ff0000;\"><strong>\u300cyum(\u30e4\u30e0)\u300d<\/strong><\/span>\u3068\u547c\u3073\u307e\u3059\u3002<\/p>\n<p>Debian\u7cfb\u3067\u3042\u308c\u3070\u3001<span style=\"color: #ff0000;\"><strong>\u300capt\u300d<\/strong><\/span>\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u4f9d\u5b58\u95a2\u4fc2\u306b\u3064\u3044\u3066<\/h2>\n<p>\u3042\u308b\u30a2\u30d7\u30eaA\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u306e\u306b\u3001\u30a2\u30d7\u30eaB\u304c\u5fc5\u8981\u306b\u306a\u308b\u5834\u5408\u306f\u3001\u300c\u30a2\u30d7\u30eaA\u306f\u3001\u30a2\u30d7\u30eaB\u300d\u306b\u4f9d\u5b58\u3057\u3066\u3044\u308b\u3068\u3044\u3048\u307e\u3059\u3002<\/p>\n<p>\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3067\u306f\u3001\u3053\u306e\u4f9d\u5b58\u95a2\u4fc2\u307e\u3067\u914d\u616e\u3057\u3066\u30bd\u30d5\u30c8\u3092\u7ba1\u7406\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<h2>RMP(Redhat Package Manager)<\/h2>\n<p>RedHat\u7cfb\u306e\u591a\u304f\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3067\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3059\u3002<\/p>\n<h3>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<pre class=\"lang:default decode:true\">rpm -ivh \u30d1\u30c3\u30b1\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\u540d<\/pre>\n<h3>\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<pre class=\"lang:default decode:true\">rpm -e \u30d1\u30c3\u30b1\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\u540d<\/pre>\n<h3>\u72b6\u614b\u306e\u78ba\u8a8d<\/h3>\n<pre class=\"lang:default decode:true\">rpm -qa<\/pre>\n<h3>\u30aa\u30d7\u30b7\u30e7\u30f3<\/h3>\n<p>rmp\u306b\u306f\u3001\u69d8\u3005\u306a\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u308a\u307e\u3059\u3002\u4e0a\u8a18\u30b3\u30de\u30f3\u30c9\u3067\u4f7f\u7528\u3057\u305f\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u610f\u5473\u306b\u3064\u3044\u3066\u3082\u89e6\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<table>\n<tbody>\n<tr>\n<th>\u30aa\u30d7\u30b7\u30e7\u30f3<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<tr>\n<td>i<\/td>\n<td>\u65b0\u898f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/td>\n<\/tr>\n<tr>\n<td>vh<\/td>\n<td>\u8a73\u7d30\u8868\u793a\u3092\u884c\u3046\u3002<\/td>\n<\/tr>\n<tr>\n<td>U<\/td>\n<td>\u5f37\u5236\u7684\u306b\u6700\u65b0\u7248\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9<\/td>\n<\/tr>\n<tr>\n<td>F<\/td>\n<td>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u307f\u66f4\u65b0<\/td>\n<\/tr>\n<tr>\n<td>e<\/td>\n<td>\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/td>\n<\/tr>\n<tr>\n<td>q<\/td>\n<td>\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7<\/td>\n<\/tr>\n<tr>\n<td>a<\/td>\n<td>\u5168\u3066\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u30d1\u30c3\u30b1\u30fc\u30b8<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>yum(\u30e4\u30e0)\u306b\u3064\u3044\u3066<\/h2>\n<h3>yum\u3068\u306f\uff1f<\/h3>\n<p>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u7d4c\u7531\u3067\u3001RPM\u7528\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u691c\u7d22\u3057\u3066\u3001\u5fc5\u8981\u3067\u3042\u308c\u3070\u691c\u7d22\u3059\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3067\u3059\u3002<\/p>\n<p><span style=\"color: #ff0000;\"><strong>RPM\u306e\u4e0a\u4f4d\u7248<\/strong><\/span>\u3068\u3044\u3063\u305f\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<\/p>\n<h3>yum\u30b3\u30de\u30f3\u30c9<\/h3>\n<h4>yum check-update<\/h4>\n<p>\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u60c5\u5831\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u6700\u65b0\u7248\u304c\u51fa\u3066\u3044\u305f\u3089\u3001\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<h4>yum update<\/h4>\n<p>\u5b9f\u969b\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u884c\u3044\u307e\u3059\u3002\u5f15\u6570\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u540d\u3092\u6307\u5b9a\u3059\u308c\u3070\u3001\u8a72\u5f53\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u307f\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h4>yum install \u30d1\u30c3\u30b1\u30fc\u30b8\u540d<\/h4>\n<p>\u8a72\u5f53\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002<\/p>\n<h4>yum remove \u30d1\u30c3\u30b1\u30fc\u30b8\u540d<\/h4>\n<p>\u8a72\u5f53\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u305d\u3082\u305d\u3082\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u306f\uff1f \u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u5b9f\u884c\u30d7\u30ed\u30b0\u30e9\u30e0\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3001\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u7b49\u304c\u4e00\u307e\u3068\u3081\u306b\u306a\u3063\u305f\u307e\u3068\u307e\u308a\u306e\u3053\u3068\u3067\u3059\u3002 RedHat\u7cfb\u3067\u3042\u308c\u3070\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u300cRPM\u300d\u306b\u306a\u308a\u307e\u3059\u3002 \u3061\u306a\u307f\u306b\u3001Debian\u7cfb\u306e\u30c7\u30a3\u30b9\u30c8 [&hellip;]","protected":false},"author":1,"featured_media":2941,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[39],"tags":[],"_links":{"self":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/3515"}],"collection":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3515"}],"version-history":[{"count":9,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/3515\/revisions"}],"predecessor-version":[{"id":20347,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/3515\/revisions\/20347"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/media\/2941"}],"wp:attachment":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3515"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3515"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}