{"id":17917,"date":"2023-04-28T15:51:51","date_gmt":"2023-04-28T07:51:51","guid":{"rendered":"https:\/\/www.yimenapp.com\/kb-yimen\/?p=17917"},"modified":"2023-04-28T15:51:51","modified_gmt":"2023-04-28T07:51:51","slug":"aptitudelinux%e6%98%af%e4%bb%80%e4%b9%88%e6%84%8f%e6%80%9d%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.yimenapp.com\/kb-yimen\/17917\/","title":{"rendered":"aptitudelinux\u662f\u4ec0\u4e48\u610f\u601d\uff1f"},"content":{"rendered":"<p>aptitude\u662fLinux\u7cfb\u7edf\u4e2d\u4e00\u6b3e\u5f3a\u5927\u7684\u5305\u7ba1\u7406\u5de5\u5177\uff0c\u5b83\u662fDebian\u548cUbuntu\u7b49Linux\u53d1\u884c\u7248\u4e2d\u7684\u9ed8\u8ba4\u5305\u7ba1\u7406\u5668\u4e4b\u4e00\u3002\u4e0e\u5176\u4ed6\u5305\u7ba1\u7406\u5668\u76f8\u6bd4\uff0captitude\u5177\u6709\u66f4\u52a0\u53cb\u597d\u7684\u7528\u6237\u754c\u9762\u548c\u66f4\u52a0\u5f3a\u5927\u7684<span class=\"wpcom_tag_link\"><a href=\"https:\/\/www.yimenapp.com\/kb-yimen\/tag\/%e5%8a%9f%e8%83%bd\/\" title=\"\u529f\u80fd\" target=\"_blank\">\u529f\u80fd<\/a><\/span>\u3002<\/p>\n<p>aptitude\u7684\u539f\u7406\u662f\u57fa\u4e8eAPT\uff08Advanced Package Tool\uff09\u5de5\u5177\uff0c\u5b83\u80fd\u591f\u81ea\u52a8\u89e3\u51b3<span class=\"wpcom_tag_link\"><a href=\"https:\/\/www.yimenapp.com\/kb-yimen\/tag\/%e8%bd%af%e4%bb%b6%e5%8c%85\/\" title=\"\u8f6f\u4ef6\u5305\" target=\"_blank\">\u8f6f\u4ef6\u5305<\/a><\/span>\u4e4b\u95f4\u7684\u4f9d\u8d56\u5173\u7cfb\uff0c\u4ece\u800c\u907f\u514d\u4e86\u624b\u52a8\u5b89\u88c5\u8f6f\u4ef6\u5305\u65f6\u53ef\u80fd\u51fa\u73b0\u7684\u95ee\u9898\u3002aptitude\u8fd8\u652f\u6301\u591a\u79cd\u8f6f\u4ef6\u6e90\uff0c\u5e76\u4e14\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u548c\u56fe\u5f62\u754c\u9762\u4e24\u79cd\u6a21\u5f0f\u4e0b\u4f7f\u7528\u3002<\/p>\n<p>\u4f7f\u7528aptitude\u7ba1\u7406\u8f6f\u4ef6\u5305\u975e\u5e38\u7b80\u5355\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\u5b89\u88c5\u3001\u5378\u8f7d\u3001\u66f4\u65b0\u548c\u641c\u7d22\u8f6f\u4ef6\u5305\uff1a<\/p>\n<p>1. \u5b89\u88c5\u8f6f\u4ef6\u5305\uff1a<\/p>\n<p>sudo aptitude install package_name<\/p>\n<p>2. \u5378\u8f7d\u8f6f\u4ef6\u5305\uff1a<\/p>\n<p>sudo aptitude remove package_name<\/p>\n<p>3. \u66f4\u65b0\u8f6f\u4ef6\u5305\uff1a<\/p>\n<p>su<a href=\"https:\/\/exe.yimenapp.com\/tool-3175.html\">kp\u6253\u5305\u5de5\u5177<\/a>do aptitude update<\/p>\n<p>sudo aptitude upgrade<\/p>\n<p>4. \u641c\u7d22\u8f6f\u4ef6\u5305\uff1a<\/p>\n<p>sudo aptitude search package_name<\/p>\n<p>\u9664\u4e86\u8fd9\u4e9b\u57fa\u672c<span class=\"wpcom_tag_link\"><a href=\"https:\/\/www.yimenapp.com\/kb-yimen\/tag\/%e6%93%8d%e4%bd%9c\/\" title=\"\u64cd\u4f5c\" target=\"_blank\">\u64cd\u4f5c<\/a><\/span>\u5916\uff0captitude\u8fd8\u652f\u6301\u66f4\u591a\u9ad8\u7ea7\u529f\u80fd\uff0c\u6bd4\u5982\uff1a<\/p>\n<p>1. \u663e\u793a\u8f6f\u4ef6\u5305\u4e4b\u95f4\u7684\u4f9d\u8d56\u5173\u7cfb\uff1a<\/p>\n<p>sudo aptitude show package_name<\/p>\n<p>2. \u663e\u793a\u5df2\u5b89\u88c5\u8f6f\u4ef6\u5305\u7684\u72b6\u6001<a href=\"https:\/\/exe.yimenapp.com\/tool-348.html\">deepin\u5f00\u53d1\u8f6f\u4ef6<\/a>\uff1a<\/p>\n<p><figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i.cdn.yimenapp.com\/2023-03\/29\/14\/09183039498.jpg\" \/><\/figure><\/p>\n<p>sudo aptitude show ~i<\/p>\n<p>3. \u663e\u793a\u53ef\u7528\u7684\u8f6f\u4ef6\u5305\uff1a<\/p>\n<p>sudo aptitude show ~U<\/p>\n<p>4. \u663e\u793a\u5df2\u5b89\u88c5\u4f46\u4e0d\u518d\u9700\u8981\u7684\u8f6f\u4ef6\u5305\uff1a<\/p>\n<p>sudo aptitude show ~c<\/p>\n<p>\u6b64\u5916\uff0captitude\u8fd8\u652f\u6301\u901a\u8fc7\u547d\u4ee4\u884c\u754c\u9762\u8fdb\u884c\u4ea4\u4e92\u5f0f\u64cd\u4f5c\uff0c\u7528\u6237\u53ef\u4ee5\u4f7f\u7528\u952e\u76d8\u65b9\u5411\u952e\u548c\u56de\u8f66\u952e\u8fdb\u884c\u9009\u62e9\u548c\u64cd\u4f5c\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528\u201c+\u201d\u548c\u201c-\u201d\u952e\u6765\u6807\u8bb0\u8f6f\u4ef6\u5305\u7684\u5b89\u88c5\u548c\u5378\u8f7d\u72b6\u6001\uff0c\u4f7f\u7528\u201cg\u201d\u952e\u8fdb\u884c\u8f6f\u4ef6\u5305\u7684\u5b89\u88c5\u548c\u5378\u8f7d\u64cd\u4f5c\u3002<\/p>\n<p>\u603b\u7684\u6765\u8bf4\uff0captitude\u662f\u4e00\u6b3e\u975e\u5e38\u5f3a\u5927\u7684Linux\u5305\u7ba1\u7406\u5de5\u5177\uff0c\u5b83\u80fd\u591f\u65b9\u4fbf\u5730\u7ba1\u7406\u8f6f\u4ef6\u5305\u7684\u5b89\u88c5\u3001\u5378\u8f7d\u3001\u66f4\u65b0\u548c\u641c\u7d22\u7b49\u64cd\u4f5c\uff0c\u5e76\u4e14\u5177\u6709\u53cb\u597d\u7684\u7528\u6237\u754c\u9762\u548c\u591a\u79cd\u9ad8\u7ea7\u529f\u80fd\u3002\u5bf9\u4e8eLinux\u7cfb\u7edf\u7684\u7528\u6237\u6765\u8bf4\uff0captitude\u662f\u4e00\u4e2a\u5fc5\u5907\u7684\u5de5\u5177\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>aptitude\u662fLinux\u7cfb\u7edf\u4e2d\u4e00\u6b3e\u5f3a\u5927\u7684\u5305\u7ba1\u7406\u5de5\u5177\uff0c\u5b83\u662fDebian\u548cUbuntu\u7b49Linux\u53d1\u884c\u7248\u4e2d\u7684\u9ed8\u8ba4\u5305\u7ba1\u7406\u5668\u4e4b\u4e00\u3002\u4e0e\u5176\u4ed6\u5305\u7ba1\u7406\u5668\u76f8\u6bd4\uff0captitude\u5177\u6709\u66f4\u52a0\u53cb\u597d\u7684\u7528\u6237\u754c\u9762\u548c\u66f4\u52a0\u5f3a\u5927\u7684\u529f<\/p>\n","protected":false},"author":20,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[10142,10119,1874,1893,4204],"special":[],"attr":[],"class_list":["post-17917","post","type-post","status-publish","format-standard","hentry","category-zixun","tag-exe","tag-php","tag-1874","tag-1893","tag-4204","entry"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts\/17917","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/comments?post=17917"}],"version-history":[{"count":0,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts\/17917\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/media?parent=17917"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/categories?post=17917"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/tags?post=17917"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/special?post=17917"},{"taxonomy":"attr","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/attr?post=17917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}