{"id":858,"date":"2013-02-12T18:47:38","date_gmt":"2013-02-12T10:47:38","guid":{"rendered":""},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T16:00:00","slug":"","status":"publish","type":"post","link":"http:\/\/www.xiaoyebailong.com\/index.php\/2013\/02\/12\/858.htm","title":{"rendered":"apt\u4f7f\u7528\u53c2\u8003(Ubuntu)"},"content":{"rendered":"<div class=\"postbody\">\u547d\u4ee4 \u4f5c\u7528 <br \/>\napt-cache search package \u641c\u7d22\u5305 <br \/>\napt-cache show package \u83b7\u53d6\u5305\u7684\u76f8\u5173\u4fe1\u606f\uff0c\u5982\u8bf4\u660e\u3001\u5927\u5c0f\u3001\u7248\u672c\u7b49 <br \/>\nsudo apt-get install package \u5b89\u88c5\u5305 <br \/>\nsudo apt-get install package &#8211; &#8211; reinstall \u91cd\u65b0\u5b89\u88c5\u5305 <br \/>\nsudo apt-get -f install \u5f3a\u5236\u5b89\u88c5 <br \/>\nsudo apt-get remove package \u5220\u9664\u5305 <br \/>\nsudo apt-get remove package &#8211; &#8211; purge \u5220\u9664\u5305\uff0c\u5305\u62ec\u5220\u9664\u914d\u7f6e\u6587\u4ef6\u7b49 <br \/>\nsudo apt-get update \u66f4\u65b0\u6e90 <br \/>\nsudo apt-get upgrade \u66f4\u65b0\u5df2\u5b89\u88c5\u7684\u5305 <br \/>\nsudo apt-get dist-upgrade \u5347\u7ea7\u7cfb\u7edf <br \/>\nsudo apt-get dselect-upgrade \u4f7f\u7528 dselect \u5347\u7ea7 <br \/>\napt-cache depends package \u4e86\u89e3\u4f7f\u7528\u4f9d\u8d56 <br \/>\napt-cache rdepends package \u4e86\u89e3\u67d0\u4e2a\u5177\u4f53\u7684\u4f9d\u8d56 <br \/>\nsudo apt-get build-dep package \u5b89\u88c5\u76f8\u5173\u7684\u7f16\u8bd1\u73af\u5883 <br \/>\napt-get source package \u4e0b\u8f7d\u8be5\u5305\u7684\u6e90\u4ee3\u7801 <br \/>\nsudo apt-get clean &amp;&amp; sudo apt-get autoclean \u6e05\u7406\u4e0b\u8f7d\u6587\u4ef6\u7684\u5b58\u6863 <br \/>\nsudo apt-get check \u68c0\u67e5\u662f\u5426\u6709\u635f\u574f\u7684\u4f9d\u8d56<\/div>\n<p><span class=\"signature\"><\/p>\n<p><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u547d\u4ee4 \u4f5c\u7528 apt-cache search package \u641c\u7d22\u5305 apt-cache show package \u83b7\u53d6\u5305\u7684\u76f8\u5173\u4fe1\u606f\uff0c\u5982\u8bf4\u660e\u3001\u5927\u5c0f\u3001\u7248\u672c\u7b49 sudo apt-get install package \u5b89\u88c5\u5305 sudo apt-&#8230;<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"topic":[],"class_list":["post-858","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/858","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/comments?post=858"}],"version-history":[{"count":0,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/858\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/media?parent=858"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/categories?post=858"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/tags?post=858"},{"taxonomy":"topic","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/topic?post=858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}