{"id":999,"date":"2021-07-08T11:54:06","date_gmt":"2021-07-08T03:54:06","guid":{"rendered":"http:\/\/www.dxQerp.com\/?p=999"},"modified":"2021-07-08T12:27:22","modified_gmt":"2021-07-08T04:27:22","slug":"dnf-%e4%bb%a3%e6%9b%bf-yum-centos-8","status":"publish","type":"post","link":"http:\/\/www.dxQerp.com\/?p=999","title":{"rendered":"dnf \u4ee3\u66ff yum (CentOS 8)"},"content":{"rendered":"<p>dnf \u4ee3\u66ff rpm \u5957\u4ef6\u7ba1\u7406\u5668 yum. (\u9996\u5148\u51fa\u73b0\u5728\u00a0 Fedora 18.)<\/p>\n<p>dnf\u00a0 <span style=\"color: #800000;\"><strong>\u5e38\u7528 \u6558\u8ff0<\/strong><\/span><br \/>\ndnf\u00a0 -v\u00a0 \u00a0 \u00a0 \u00a0 \u00a0# \u67e5\u770b\u00a0 \u7248\u672c\u5e8f\u865f<br \/>\ndnf help\u00a0 \u00a0 \u00a0#\u00a0 \u8aaa\u660e<br \/>\ndnf history # dnf \u57f7\u884c\u7684\u6b77\u53f2 \u8ecc\u8de1<\/p>\n<p>dnf repolist<br \/>\ndnf search<\/p>\n<p>dnf list installed<br \/>\ndnf list available<br \/>\ndnf info\u00a0 # \u986f\u793a\u5957\u4ef6 \u8a73\u7d30\u8cc7\u8a0a<\/p>\n<p>dnf install # \u5b89\u88c5 \u5957\u4ef6<br \/>\ndnf update # \u5347\u7ea7 \u5957\u4ef6<br \/>\ndnf remove # \u79fb\u9664 \u5957\u4ef6<br \/>\ndnf reinstall # \u5957\u4ef6 \u91cd\u65b0\u5b89\u88c5<br \/>\ndnf distro-sync # \u540c\u6b65 \u5957\u4ef6 \u6700\u65b0\u7248<\/p>\n<p>dnf check-update # \u6aa2\u67e5\u5957\u4ef6 \u7684\u66f4\u65b0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>dnf \u4ee3\u66ff rpm \u5957\u4ef6\u7ba1\u7406\u5668 yum. (\u9996\u5148\u51fa\u73b0\u5728\u00a0 Fedora 18.) dnf\u00a0 \u5e38\u7528 \u6558\u8ff0 dn [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[26],"tags":[],"class_list":["post-999","post","type-post","status-publish","format-standard","hentry","category-centos8"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"http:\/\/www.dxQerp.com\/index.php?rest_route=\/wp\/v2\/posts\/999","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.dxQerp.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.dxQerp.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.dxQerp.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.dxQerp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=999"}],"version-history":[{"count":5,"href":"http:\/\/www.dxQerp.com\/index.php?rest_route=\/wp\/v2\/posts\/999\/revisions"}],"predecessor-version":[{"id":1002,"href":"http:\/\/www.dxQerp.com\/index.php?rest_route=\/wp\/v2\/posts\/999\/revisions\/1002"}],"wp:attachment":[{"href":"http:\/\/www.dxQerp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=999"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.dxQerp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=999"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.dxQerp.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=999"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}