{"id":1635,"date":"2017-03-24T14:13:18","date_gmt":"2017-03-24T06:13:18","guid":{"rendered":"http:\/\/www.youthtribe.com\/?p=1635"},"modified":"2017-03-24T14:25:22","modified_gmt":"2017-03-24T06:25:22","slug":"linux-%e5%a6%82%e4%bd%95%e5%ae%89%e8%a3%85rpm%e6%96%87%e4%bb%b6","status":"publish","type":"post","link":"http:\/\/www.youthtribe.com\/archives\/1635","title":{"rendered":"linux \u5982\u4f55\u5b89\u88c5rpm\u6587\u4ef6"},"content":{"rendered":"

\u5176# rpm -ivh xxx.rpm\u5c31\u80fd\u5b89\u88c5\u3002<\/span><\/p>\n

\u4f46\u662f\u8fd9\u4e2a\u547d\u4ee4\u663e\u7136\u4e0d\u5982yum\u597d\u7528\u3002\u5982\u679crpm\u5b89\u88c5\u5305\u9700\u8981\u6587\u4ef6\u5173\u8054\u5b89\u88c5\uff0c\u90a3\u4f60\u5c31\u5934\u75bc\u4e86\u554a\uff0c\u4f60\u5f97\u89e3\u51b3\u5b8cRPM\u5305\u5173\u8054\u6027\u4e4b\u540e\uff0c\u624d\u80fd\u5728\u5f00\u59cb\u5b89RPM\u5305\uff0c\u4e0d\u7136\uff0c\u4f1a\u56e0\u4e3a\u5173\u8054\u6027\u6ca1\u6709\u89e3\u51b3\uff0c\u5bfc\u81f4\u4f60\u5b89\u88c5\u4e0d\u4e86\u3002<\/span><\/p>\n

\u4f46\u662fYUM\u4f1a\u81ea\u52a8\u89e3\u51b3rpm\u5305\u5173\u8054\u6027\u7684\u95ee\u9898\uff0c\u800c\u4e14\u4f1a\u628a\u5173\u8054\u7684rpm\u62a5\u4e00\u8d77\u5b89\u88c5\u4e0a\uff0c\u5927\u5927\u89e3\u51b3\u4e86\u5b89\u88c5RPM\u5305\u7684<\/p>\n

 <\/p>\n

rpm -e  \u8f6f\u4ef6\u5305\u540d\u79f0  \u5378\u8f7d\u8f6f\u4ef6\r\nrpm -qa \u8f6f\u4ef6\u5305\u540d\u79f0  \u67e5\u770b\u662f\u5426\u5b89\u88c5\u4e86\u8be5\u8f6f\u4ef6<\/pre>\n
\u5ffd\u7565\u5173\u8054\u62a5\u9519 rpm -ivh xxxxx  --nodeps<\/pre>\n","protected":false},"excerpt":{"rendered":"

\u5176# rpm -ivh xxx.rpm\u5c31\u80fd\u5b89\u88c5\u3002 \u4f46\u662f\u8fd9\u4e2a\u547d\u4ee4\u663e\u7136\u4e0d\u5982yum\u597d\u7528\u3002\u5982\u679crpm\u5b89\u88c5\u5305\u9700\u8981\u6587\u4ef6\u5173\u8054\u5b89\u88c5\uff0c\u90a3\u4f60\u5c31\u5934\u75bc\u4e86\u554a\uff0c\u4f60\u5f97\u89e3\u51b3\u5b8cRPM\u5305\u5173\u8054\u6027\u4e4b\u540e\uff0c\u624d\u80fd\u5728\u5f00\u59cb\u5b89RPM\u5305\uff0c\u4e0d\u7136\uff0c\u4f1a\u56e0\u4e3a\u5173\u8054\u6027\u6ca1\u6709\u89e3\u51b3\uff0c\u5bfc\u81f4\u4f60\u5b89\u88c5\u4e0d\u4e86\u3002 \u4f46\u662fYUM\u4f1a\u81ea\u52a8\u89e3\u51b3rpm\u5305\u5173\u8054\u6027\u7684\u95ee\u9898\uff0c\u800c\u4e14\u4f1a\u628a\u5173\u8054\u7684rpm\u62a5\u4e00\u8d77\u5b89\u88c5\u4e0a\uff0c\u5927\u5927\u89e3\u51b3\u4e86\u5b89\u88c5RPM\u5305\u7684   rpm -e \u8f6f\u4ef6\u5305\u540d\u79f0 \u5378\u8f7d\u8f6f\u4ef6 rpm -qa \u8f6f\u4ef6\u5305\u540d\u79f0 \u67e5\u770b\u662f\u5426\u5b89\u88c5\u4e86\u8be5\u8f6f\u4ef6 \u5ffd\u7565\u5173\u8054\u62a5\u9519 rpm -ivh xxxxx –nodeps<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1,273],"tags":[],"_links":{"self":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1635"}],"collection":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/comments?post=1635"}],"version-history":[{"count":3,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1635\/revisions"}],"predecessor-version":[{"id":1638,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/posts\/1635\/revisions\/1638"}],"wp:attachment":[{"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/media?parent=1635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/categories?post=1635"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.youthtribe.com\/wp-json\/wp\/v2\/tags?post=1635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}