{"id":1454,"date":"2021-09-11T03:42:44","date_gmt":"2021-09-10T19:42:44","guid":{"rendered":"https:\/\/gnonstop.linkpc.net\/wp\/?p=1454"},"modified":"2021-12-10T11:33:36","modified_gmt":"2021-12-10T03:33:36","slug":"how-can-you-completely-remove-a-package","status":"publish","type":"post","link":"https:\/\/guerilla.ddns.net\/wp\/?p=1454","title":{"rendered":"How can you completely remove a package? (in Ubuntu)"},"content":{"rendered":"<p>Use the command:<\/p>\n<pre style=\"font-family: monospace;\">sudo apt-get purge --auto-remove packagename<\/pre>\n<p>\u53e6\u5916\u53ef\u4ee5\u7528\u9019\u500b command \u627e\u51fa\u5df2\u7d93\u88ab\u53cd\u5b89\u88dd\u7684 package:<\/p>\n<pre style=\"font-family: monospace;\">dpkg --get-selections | grep -i deinstall | more<\/pre>\n<p>\u518d\u7528\u9019\u500b command \u628a\u5b83\u6e05\u4e7e\u6de8: (\u6700\u4e0a\u9762\u90a3\u500b command \u4e5f\u884c)<\/p>\n<pre style=\"font-family: monospace;\">sudo apt purge packagename<\/pre>\n<p>ref: <a href=\"https:\/\/askubuntu.com\/questions\/151941\/how-can-you-completely-remove-a-package\" target=\"_blank\" rel=\"noopener\">How can you completely remove a package?<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Use the command: sudo apt-get purge &#8211;auto-remove packa [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[179],"tags":[18],"class_list":["post-1454","post","type-post","status-publish","format-standard","hentry","category-infotech","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1454","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1454"}],"version-history":[{"count":3,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1454\/revisions"}],"predecessor-version":[{"id":1966,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1454\/revisions\/1966"}],"wp:attachment":[{"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1454"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1454"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/guerilla.ddns.net\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}