{"id":2996,"date":"2019-06-03T00:26:50","date_gmt":"2019-06-02T16:26:50","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=2996"},"modified":"2022-05-06T17:28:12","modified_gmt":"2022-05-06T09:28:12","slug":"rpm","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/rpm","title":{"rendered":"rpm\u547d\u4ee4 – RPM\u8f6f\u4ef6\u5305\u7ba1\u7406\u5668"},"content":{"rendered":"\n
rpm\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u8bcd\u7ec4\u201dRedHat Package Manager\u201c\u7684\u7f29\u5199\uff0c\u4e2d\u6587\u8bd1\u4e3a\u7ea2\u5e3d\u8f6f\u4ef6\u5305\u7ba1\u7406\u5668\uff0c\u5176\u529f\u80fd\u662f\u7528\u4e8e\u5728Linux\u7cfb\u7edf\u4e0b\u5bf9\u8f6f\u4ef6\u5305\u8fdb\u884c\u5b89\u88c5\u3001\u5378\u8f7d\u3001\u67e5\u8be2\u3001\u9a8c\u8bc1\u3001\u5347\u7ea7\u7b49\u5de5\u4f5c\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>rpm [\u53c2\u6570] \u8f6f\u4ef6\u5305<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u6b63\u5e38\u5b89\u88c5\u8f6f\u4ef6\u5305\uff1a<\/p>\n\n\n\n \u663e\u793a\u7cfb\u7edf\u5df2\u5b89\u88c5\u8fc7\u7684\u5168\u90e8RPM\u8f6f\u4ef6\u5305\uff1a<\/p>\n\n\n\n \u67e5\u8be2\u67d0\u4e2a\u8f6f\u4ef6\u7684\u5b89\u88c5\u8def\u5f84\uff1a<\/p>\n\n\n\n \u5378\u8f7d\u67d0\u4e2a\u901a\u8fc7RPM\u8f6f\u4ef6\u5305\u5b89\u88c5\u7684\u670d\u52a1\uff1a <\/p>\n\n\n\n \u5347\u7ea7\u67d0\u4e2a\u8f6f\u4ef6\u5305\uff1a<\/p>\n\n\n\n rpm\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u8bcd\u7ec4\u201dRedHat Package Manager\u201c\u7684\u7f29\u5199\uff0c\u4e2d\u6587\u8bd1\u4e3a\u7ea2\u5e3d\u8f6f\u4ef6\u5305\u7ba1\u7406\u5668\uff0c\u5176\u529f […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2996"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=2996"}],"version-history":[{"count":10,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2996\/revisions"}],"predecessor-version":[{"id":9322,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2996\/revisions\/9322"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=2996"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=2996"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=2996"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-a<\/td> \u67e5\u8be2\u6240\u6709\u7684\u8f6f\u4ef6\u5305<\/td><\/tr> -b\u6216-t<\/td> \u8bbe\u7f6e\u5305\u88c5\u5957\u4ef6\u7684\u5b8c\u6210\u9636\u6bb5\uff0c\u5e76\u6307\u5b9a\u5957\u4ef6\u6863\u7684\u6587\u4ef6\u540d\u79f0\uff1b<\/td><\/tr> -c<\/td> \u53ea\u5217\u51fa\u7ec4\u6001\u914d\u7f6e\u6587\u4ef6\uff0c\u672c\u53c2\u6570\u9700\u914d\u5408”-l”\u53c2\u6570\u4f7f\u7528<\/td><\/tr> -d<\/td> \u53ea\u5217\u51fa\u6587\u672c\u6587\u4ef6\uff0c\u672c\u53c2\u6570\u9700\u914d\u5408”-l”\u53c2\u6570\u4f7f\u7528<\/td><\/tr> -e<\/td> \u5378\u8f7d\u8f6f\u4ef6\u5305<\/td><\/tr> -f<\/td> \u67e5\u8be2\u6587\u4ef6\u6216\u547d\u4ee4\u5c5e\u4e8e\u54ea\u4e2a\u8f6f\u4ef6\u5305<\/td><\/tr> -h<\/td> \u5b89\u88c5\u8f6f\u4ef6\u5305\u65f6\u5217\u51fa\u6807\u8bb0<\/td><\/tr> -i<\/td> \u5b89\u88c5\u8f6f\u4ef6\u5305<\/td><\/tr> -l<\/td> \u663e\u793a\u8f6f\u4ef6\u5305\u7684\u6587\u4ef6\u5217\u8868<\/td><\/tr> -p<\/td> \u67e5\u8be2\u6307\u5b9a\u7684rpm\u8f6f\u4ef6\u5305<\/td><\/tr> -q<\/td> \u67e5\u8be2\u8f6f\u4ef6\u5305<\/td><\/tr> -R<\/td> \u663e\u793a\u8f6f\u4ef6\u5305\u7684\u4f9d\u8d56\u5173\u7cfb<\/td><\/tr> -s<\/td> \u663e\u793a\u6587\u4ef6\u72b6\u6001\uff0c\u672c\u53c2\u6570\u9700\u914d\u5408”-l”\u53c2\u6570\u4f7f\u7528<\/td><\/tr> -U<\/td> \u5347\u7ea7\u8f6f\u4ef6\u5305<\/td><\/tr> -v<\/td> \u663e\u793a\u547d\u4ee4\u6267\u884c\u8fc7\u7a0b<\/td><\/tr> -vv<\/td> \u8be6\u7ec6\u663e\u793a\u6307\u4ee4\u6267\u884c\u8fc7\u7a0b<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# rpm -ivh cockpit-185-2.el8.x86_64.rpm <\/strong>\n\nVerifying... ################################# [100%]\nPreparing... ################################# [100%]\n\tpackage cockpit-185-2.el8.x86_64 is already installed\n<\/pre>\n\n\n\n
[root@linuxcool ~]# rpm -qa<\/strong>\nqemu-kvm-block-gluster-2.12.0-63.module+el8+2833+c7d6d092.x86_64\nboost-atomic-1.66.0-6.el8.x86_64\ngnome-session-wayland-session-3.28.1-6.el8.x86_64\ngrub2-tools-2.02-66.el8.x86_64\nlohit-gurmukhi-fonts-2.91.2-3.el8.noarch\nliberation-fonts-common-2.00.3-4.el8.noarch\npolicycoreutils-python-utils-2.8-16.1.el8.noarch\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026<\/pre>\n\n\n\n
[root@linuxcool ~]# rpm -ql cockpit<\/strong>\n\/usr\/share\/cockpit\n\/usr\/share\/doc\/cockpit\/AUTHORS\n\/usr\/share\/doc\/cockpit\/COPYING\n\/usr\/share\/doc\/cockpit\/README.md\n\/usr\/share\/man\/man1\/cockpit.1.gz\n\/usr\/share\/metainfo\/cockpit.appdata.xml\n\/usr\/share\/pixmaps\/cockpit.png\n<\/pre>\n\n\n\n
[root@linuxcool ~]# rpm -evh cockpit<\/strong>\nPreparing... ################################# [100%]\nCleaning up \/ removing...\n 1:cockpit-185-2.el8 ################################# [100%]<\/pre>\n\n\n\n
[root@linuxcool ~]# rpm -Uvh cockpit-185-2.el8.x86_64.rpm <\/strong>\nVerifying... ################################# [100%]\nPreparing... ################################# [100%]\nUpdating \/ installing...\n 1:cockpit-185-2.el8 ################################# [100%]\n<\/pre>\n","protected":false},"excerpt":{"rendered":"