{"id":7029,"date":"2020-04-29T18:49:25","date_gmt":"2020-04-29T10:49:25","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=7029"},"modified":"2020-04-29T18:49:26","modified_gmt":"2020-04-29T10:49:26","slug":"yum-groups-manager","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/yum-groups-manager","title":{"rendered":"yum-groups-manager\u547d\u4ee4 – \u521b\u5efa\u548c\u7f16\u8f91yum\u7684\u7ec4\u5143\u6570\u636e"},"content":{"rendered":"\n
yum groups manager\u7528\u4e8e\u521b\u5efa\u6216\u7f16\u8f91yum\u5b58\u50a8\u5e93\u7684\u7ec4\u5143\u6570\u636e\u6587\u4ef6\uff1b\u8fd9\u901a\u5e38\u6bd4\u4e66\u9762\u5f62\u5f0f\u8981\u5bb9\u6613\u5f97\u591a\u624b\u5de5\u7f16\u8f91XML\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>yum-groups-manager [\u53c2\u6570]<\/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 \u521b\u5efa\u7ec4\u5143\u6570\u636e\u6587\u4ef6\uff0c\u540d\u79f0\u4ee5yum\u5f00\u5934\uff1a<\/p>\n\n\n\n \u5411yum\u7ec4\u6dfb\u52a0\u63cf\u8ff0\u548c\u7ffb\u8bd1\u540e\u7684\u540d\u79f0\uff1a<\/p>\n\n\n\n \u52a0\u8f7dgroups.xml\u6570\u636e\uff0c\u4f7f\u7528yum\u7ec4\uff0c\u8bbe\u7f6e\u8be5\u7ec4\u4e0d\u53ef\u89c1\uff0c\u5e76\u4ece\u4e2d\u5220\u9664yum skip broken\u548cyum priorities\u5305\uff1a<\/p>\n\n\n\n yum groups manager\u7528\u4e8e\u521b\u5efa\u6216\u7f16\u8f91yum\u5b58\u50a8\u5e93\u7684\u7ec4\u5143\u6570\u636e\u6587\u4ef6\uff1b\u8fd9\u901a\u5e38\u6bd4\u4e66\u9762\u5f62\u5f0f\u8981\u5bb9\u6613\u5f97\u591a\u624b\u5de5\u7f16 […]<\/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\/7029"}],"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=7029"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7029\/revisions"}],"predecessor-version":[{"id":7148,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7029\/revisions\/7148"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=7029"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=7029"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=7029"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}--dependencies<\/td> \u4e3a\u8f6f\u4ef6\u5305\u6dfb\u52a0\u4f9d\u8d56<\/td><\/tr> --load<\/td> \u4ece\u6587\u4ef6\u4e2d\u52a0\u8f7d\u7ec4\u7684\u4e91\u6570\u636e<\/td><\/tr> --save<\/td> \u4fdd\u5b58\u7ec4\u5143\u6570\u636e\u5230\u6587\u4ef6<\/td><\/tr> --remove<\/td> \u5220\u9664\u5217\u51fa\u6765\u7684\u8f6f\u4ef6\u5305<\/td><\/tr> --merge<\/td> \u52a0\u8f7d\u548c\u4fdd\u5b58\u7ec4\u5143\u6570\u636e\u5230\u6587\u4ef6<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# yum-groups-manager --name YUM --save groups.xml'yum*'<\/pre>\n\n\n\n
[root@linuxcool ~]# yum-groups-manager -n YUM --merge groups.xml --description 'This is a group with most of the yum packages in it' --translated-name 'en:yum packages'<\/pre>\n\n\n\n
[root@linuxcool ~]# yum-groups-manager -n YUM --merge groups.xml --remove yum-skip-broken yum-priorities --not-user-visible<\/pre>\n","protected":false},"excerpt":{"rendered":"