{"id":578,"date":"2013-04-01T00:54:00","date_gmt":"2013-03-31T15:54:00","guid":{"rendered":"http:\/\/192.168.2.101\/e-learning\/?p=578"},"modified":"2014-01-23T16:43:29","modified_gmt":"2014-01-23T07:43:29","slug":"rpm","status":"publish","type":"post","link":"https:\/\/ssl.amulet.co.jp\/cat-user-linux\/command_line\/rpm.html","title":{"rendered":"6.2.\u3000\u30d1\u30c3\u30b1\u30fc\u30b8\u60c5\u5831\u306e\u78ba\u8a8d -rpm\u30b3\u30de\u30f3\u30c9-"},"content":{"rendered":"<h3>6.2.\u3000\u30d1\u30c3\u30b1\u30fc\u30b8\u60c5\u5831\u306e\u78ba\u8a8d -rpm\u30b3\u30de\u30f3\u30c9-<\/h3>\n<p><strong>\u3010\u30b3\u30de\u30f3\u30c9\u8aac\u660e\u3011<\/strong>rpm\uff1aRedHat Package Manager<br \/>\nRedHat\u30d9\u30fc\u30b9\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3067\u306f\u5404\u30d5\u30a1\u30a4\u30eb\u3092RPM\uff08<strong>R<\/strong>edHat <strong>P<\/strong>ackage <strong>M<\/strong>anager\uff09\u3068YUM\uff08<strong>Y<\/strong>ellowdog <strong>U<\/strong>pdater <strong>M<\/strong>odified\uff09\u306b\u3088\u3063\u3066\u7ba1\u7406\u3057\u3066\u3044\u307e\u3059\u3002RPM\u3084YUM\u3092\u7528\u3044\u308b\u3053\u3068\u3067\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u5b89\u5168\u306b\u5c0e\u5165\u3057\u305f\u308a\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u3069\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u5c5e\u3057\u3066\u3044\u3066\u305d\u308c\u304c\u3069\u3053\u3067\u4f5c\u3089\u308c\u305f\u306e\u304b\u3001\u3068\u3044\u3063\u305f\u60c5\u5831\u3092\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u3053\u3067rpm\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u7ba1\u7406\u306brpm\u30b3\u30de\u30f3\u30c9\u3092\u7528\u3044\u307e\u3059\u3002<\/p>\n<p><strong>\u3010\u52d5\u753b\u8aac\u660e\u3011<\/strong><br \/>\n\u5b9f\u969b\u306brpm\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3046\u524d\u306b\u3001man\u30b3\u30de\u30f3\u30c9\u3067\u8aac\u660e\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u65e5\u672c\u8a9e\u3067\u8a73\u3057\u3044\u89e3\u8aac\u304c\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<blockquote><p># man rpm<\/p><\/blockquote>\n<p><strong>\u3010\u30aa\u30d7\u30b7\u30e7\u30f3\u8aac\u660e\u3011<\/strong><br \/>\n\u3053\u3053\u3067\u306f\u65e5\u5e38\u826f\u304f\u4f7f\u308f\u308c\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ea4\u3048\u306a\u304c\u3089rpm\u30b3\u30de\u30f3\u30c9\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u898b\u3066\u884c\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<blockquote><p><strong style=\"font-size: 14px;\">-qa<\/strong><span style=\"font-size: 14px;\">\u3000\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u4e00\u89a7\u3092\u51fa\u529b\u3057\u307e\u3059\uff08grep\u30b3\u30de\u30f3\u30c9\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u3088\u304f\u4f7f\u3044\u307e\u3059\uff09<\/span><br \/>\n<strong style=\"font-size: 14px;\">-qi<\/strong><span style=\"font-size: 14px;\">\u3000\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u540d\u524d\u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u305d\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u8a73\u7d30\u3092\u51fa\u529b\u3057\u307e\u3059<\/span><br \/>\n<strong style=\"font-size: 14px;\">-ql<\/strong><span style=\"font-size: 14px;\">\u3000\u6307\u5b9a\u3057\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u542b\u307e\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u4e00\u89a7\u304c\u51fa\u529b\u3055\u308c\u307e\u3059<\/span><br \/>\n<strong style=\"font-size: 14px;\">-qf<\/strong><span style=\"font-size: 14px;\">\u3000\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u3069\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u3088\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u3082\u306e\u304b\u3092\u9006\u5f15\u304d\u3057\u307e\u3059<\/span><br \/>\n<strong style=\"font-size: 14px;\">-qip<\/strong><span style=\"font-size: 14px;\">\u3000\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u524d\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\uff08\u301c.rpm\uff09\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u305d\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u60c5\u5831\u3092\u51fa\u529b\u3057\u307e\u3059\u3002\u540c\u69d8\u306b\u201c<\/span><strong style=\"font-size: 14px;\">-qlp<\/strong><span style=\"font-size: 14px;\">\u201d\u3082\u5b58\u5728\u3057\u307e\u3059<\/span><\/p><\/blockquote>\n<p>\u307e\u305a\u3001\u6700\u3082\u826f\u304f\u4f7f\u308f\u308c\u308b\u306e\u306f\"-qa\"\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\u3002<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u4e00\u89a7\u3092\u8868\u793a\u3057\u307e\u3059\u3002\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3059\u308b\u306e\u306b\u3088\u304f\u4f7f\u308f\u308c\u307e\u3059\u3002<\/p>\n<blockquote><p># rpm -qa |grep httpd<\/p>\n<p>httpd-tools-2.2.15-15.el6.centos.1.x86_64<br \/>\nhttpd-manual-2.2.15-15.el6.centos.1.noarch<br \/>\nhttpd-devel-2.2.15-15.el6.centos.1.x86_64<br \/>\nhttpd-2.2.15-15.el6.centos.1.x86_64<\/p><\/blockquote>\n<p>\"-qi\"\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u306f\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u8a73\u7d30\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<blockquote><p># rpm -qi httpd<br \/>\nName : httpd Relocations: (not relocatable)<br \/>\nVersion : 2.2.15 Vendor: CentOS<br \/>\nRelease : 15.el6.centos.1 Build Date: 2012\u5e7402\u670814\u65e5 07\u664233\u520629\u79d2<br \/>\nInstall Date: 2012\u5e7402\u670823\u65e5 09\u664253\u520647\u79d2 Build Host: c6b18n2.bsys.dev.centos.org<br \/>\nGroup : System Environment\/Daemons Source RPM: httpd-2.2.15-15.el6.centos.1.src.rpm<br \/>\nSize : 3062864 License: ASL 2.0<br \/>\nSignature : RSA\/SHA1, 2012\u5e7402\u670814\u65e5 20\u664210\u520659\u79d2, Key ID 0946fca2c105b9de<br \/>\nPackager : CentOS BuildSystem &lt;http:\/\/bugs.centos.org&gt;<br \/>\nURL : http:\/\/httpd.apache.org\/<br \/>\nSummary : Apache HTTP Server<br \/>\nDescription :<br \/>\nThe Apache HTTP Server is a powerful, efficient, and extensible<br \/>\nweb server.<\/p><\/blockquote>\n<p>\"-ql\"\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u306f\u3001\u6307\u5b9a\u3057\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u542b\u307e\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u4e00\u89a7\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n<blockquote><p># rpm -ql httpd<\/p><\/blockquote>\n<p>\"-qf\"\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u3069\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u3088\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u3082\u306e\u304b\u3092\u9006\u5f15\u304d\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p># rpm -qf \/etc\/httpd\/conf\/httpd.conf<br \/>\nhttpd-2.2.15-15.el6.centos.1.x86_64<\/p><\/blockquote>\n<p>\"-qip\"\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u524d\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30d5\u30a1\u30a4\u30eb\uff08\u301c.rpm\uff09\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u305d\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u60c5\u5831\u3092\u51fa\u529b\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p># rpm -qip \/root\/epel-release-6-7.noarch.rpm<br \/>\nName : epel-release Relocations: (not relocatable)<br \/>\nVersion : 6 Vendor: Fedora Project<br \/>\nRelease : 7 Build Date: 2012\u5e7405\u670810\u65e5 00\u664258\u520617\u79d2<br \/>\nInstall Date: (not installed) Build Host: x86-03.phx2.fedoraproject.org<br \/>\nGroup : System Environment\/Base Source RPM: epel-release-6-7.src.rpm<br \/>\nSize : 22169 License: GPLv2<br \/>\nSignature : RSA\/8, 2012\u5e7405\u670811\u65e5 00\u664200\u520609\u79d2, Key ID 3b49df2a0608b895<br \/>\nPackager : Fedora Project<br \/>\nURL : http:\/\/download.fedora.redhat.com\/pub\/epel<br \/>\nSummary : Extra Packages for Enterprise Linux repository configuration<br \/>\nDescription :<br \/>\nThis package contains the Extra Packages for Enterprise Linux (EPEL) repository<br \/>\nGPG key as well as configuration for yum and up2date.<\/p><\/blockquote>\n<div class=\"video-container\">\n<iframe frameborder=\"0\" src=\"https:\/\/www.youtube.com\/embed\/tN_y6QqOyp8?rel=0\"><\/iframe>\n<\/div>\n<\/p>\n<p><span style=\"color: #0000ff;\"><strong>\u3010\u554f\u984c\u3011<\/strong><\/span><br \/>\n<span style=\"color: #0000ff;\"><strong>1. \u73fe\u5728\u30b7\u30b9\u30c6\u30e0\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5168\u3066\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u8868\u793a\u3057\u3066\u307f\u307e\u3057\u3087\u3046<\/strong><\/span><br \/>\n<span style=\"color: #0000ff;\"><strong>2.\u00a0\/etc\/ntp.conf\u30d5\u30a1\u30a4\u30eb\u304c\u3069\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u3088\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u306e\u304b\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046<\/strong><\/span><\/p>\n<p><a href=\"https:\/\/ssl.amulet.co.jp\/cat-user-linux\/wp-content\/uploads\/2012\/05\/6.2.pdf\">\u8cc7\u6599\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/a><\/p>\n<div class=\"veu_socialSet veu_socialSet-position-after veu_contentAddSection\"><script>window.twttr=(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],t=window.twttr||{};if(d.getElementById(id))return t;js=d.createElement(s);js.id=id;js.src=\"https:\/\/platform.twitter.com\/widgets.js\";fjs.parentNode.insertBefore(js,fjs);t._e=[];t.ready=function(f){t._e.push(f);};return t;}(document,\"script\",\"twitter-wjs\"));<\/script><ul><li class=\"sb_facebook sb_icon\"><a class=\"sb_icon_inner\" href=\"\/\/www.facebook.com\/sharer.php?src=bm&u=https%3A%2F%2Fssl.amulet.co.jp%2Fcat-user-linux%2Fcommand_line%2Frpm.html&amp;t=%24%20cat%20user%20Linux\" target=\"_blank\" onclick=\"window.open(this.href,'FBwindow','width=650,height=450,menubar=no,toolbar=no,scrollbars=yes');return false;\"><span class=\"vk_icon_w_r_sns_fb icon_sns\"><\/span><span class=\"sns_txt\">Facebook<\/span><span class=\"veu_count_sns_fb\"><\/span><\/a><\/li><li class=\"sb_twitter sb_icon\"><a class=\"sb_icon_inner\" href=\"\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Fssl.amulet.co.jp%2Fcat-user-linux%2Fcommand_line%2Frpm.html&amp;text=%24%20cat%20user%20Linux\" target=\"_blank\" ><span class=\"vk_icon_w_r_sns_twitter icon_sns\"><\/span><span class=\"sns_txt\">twitter<\/span><\/a><\/li><li class=\"sb_hatena sb_icon\"><a class=\"sb_icon_inner\" href=\"\/\/b.hatena.ne.jp\/add?mode=confirm&url=https%3A%2F%2Fssl.amulet.co.jp%2Fcat-user-linux%2Fcommand_line%2Frpm.html&amp;title=%24%20cat%20user%20Linux\" target=\"_blank\"  onclick=\"window.open(this.href,'Hatenawindow','width=650,height=450,menubar=no,toolbar=no,scrollbars=yes');return false;\"><span class=\"vk_icon_w_r_sns_hatena icon_sns\"><\/span><span class=\"sns_txt\">Hatena<\/span><span class=\"veu_count_sns_hb\"><\/span><\/a><\/li><li class=\"sb_pocket sb_icon\"><a class=\"sb_icon_inner\"  href=\"\/\/getpocket.com\/edit?url=https%3A%2F%2Fssl.amulet.co.jp%2Fcat-user-linux%2Fcommand_line%2Frpm.html&title=%24%20cat%20user%20Linux\" target=\"_blank\"  onclick=\"window.open(this.href,'Pokcetwindow','width=650,height=450,menubar=no,toolbar=no,scrollbars=yes');return false;\"><span class=\"vk_icon_w_r_sns_pocket icon_sns\"><\/span><span class=\"sns_txt\">Pocket<\/span><span class=\"veu_count_sns_pocket\"><\/span><\/a><\/li><li class=\"sb_copy sb_icon\"><button class=\"copy-button sb_icon_inner\"data-clipboard-text=\"$ cat user Linux https:\/\/ssl.amulet.co.jp\/cat-user-linux\/command_line\/rpm.html\"><span class=\"vk_icon_w_r_sns_copy icon_sns\"><i class=\"fas fa-copy\"><\/i><\/span><span class=\"sns_txt\">Copy<\/span><\/button><\/li><\/ul><\/div><!-- [ \/.socialSet ] -->","protected":false},"excerpt":{"rendered":"<p>6.2.\u3000\u30d1\u30c3\u30b1\u30fc\u30b8\u60c5\u5831\u306e\u78ba\u8a8d -rpm\u30b3\u30de\u30f3\u30c9- \u3010\u30b3\u30de\u30f3\u30c9\u8aac\u660e\u3011rpm\uff1aRedHat Package Manager RedHat\u30d9\u30fc\u30b9\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3067\u306f\u5404\u30d5\u30a1\u30a4\u30eb\u3092RPM\uff08RedHat Package M&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"vkexunit_cta_each_option":""},"categories":[12,3],"tags":[],"_links":{"self":[{"href":"https:\/\/ssl.amulet.co.jp\/cat-user-linux\/wp-json\/wp\/v2\/posts\/578"}],"collection":[{"href":"https:\/\/ssl.amulet.co.jp\/cat-user-linux\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssl.amulet.co.jp\/cat-user-linux\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssl.amulet.co.jp\/cat-user-linux\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssl.amulet.co.jp\/cat-user-linux\/wp-json\/wp\/v2\/comments?post=578"}],"version-history":[{"count":17,"href":"https:\/\/ssl.amulet.co.jp\/cat-user-linux\/wp-json\/wp\/v2\/posts\/578\/revisions"}],"predecessor-version":[{"id":1718,"href":"https:\/\/ssl.amulet.co.jp\/cat-user-linux\/wp-json\/wp\/v2\/posts\/578\/revisions\/1718"}],"wp:attachment":[{"href":"https:\/\/ssl.amulet.co.jp\/cat-user-linux\/wp-json\/wp\/v2\/media?parent=578"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssl.amulet.co.jp\/cat-user-linux\/wp-json\/wp\/v2\/categories?post=578"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssl.amulet.co.jp\/cat-user-linux\/wp-json\/wp\/v2\/tags?post=578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}