{"id":267590,"date":"2023-03-21T14:04:31","date_gmt":"2023-03-21T06:04:31","guid":{"rendered":"https:\/\/lrxjmw.cn\/lazdwjjcwjlx.html"},"modified":"2023-03-21T14:04:31","modified_gmt":"2023-03-21T06:04:31","slug":"lazdwjjcwjlx","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/lazdwjjcwjlx.html","title":{"rendered":"Linux\u5b89\u88c5deb\u6587\u4ef6\u6559\u7a0b\uff1a\u6587\u4ef6\u7c7b\u578b\u3001\u5b89\u88c5\u6b65\u9aa4\u8be6\u89e3"},"content":{"rendered":"

\u5728\u4f7f\u7528Linux<\/a>\u7cfb\u7edf<\/a>\u7684\u8fc7\u7a0b\u4e2d\u7ea2\u65d7linux6.0\uff0c\u6211\u4eec\u7ecf\u5e38\u9700\u8981\u5b89\u88c5deb\u6587\u4ef6\uff0c\u4f46\u662f\u5bf9\u4e8e\u521d\u5b66\u8005\u6765\u8bf4\uff0c\u8fd9\u53ef\u80fd\u4f1a\u662f\u4e00\u4e2a\u6bd4\u8f83\u56f0\u96be\u7684\u4efb\u52a1\u3002\u672c\u6587\u5c06\u4e3a\u5927\u5bb6\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5b89\u88c5deb\u6587\u4ef6\uff0c\u5373\u4f7f\u4f60\u662f\u4e00\u4e2aLinux\u5c0f\u767d\u4e5f\u80fd\u8f7b\u677e\u641e\u5b9a\u3002<\/p>\n

1. deb\u6587\u4ef6\u662f\u4ec0\u4e48\uff1f<\/p>\n

deb\u6587\u4ef6\u662fDebian\u8f6f\u4ef6\u5305\u7684\u7f29\u5199\uff0c\u5b83\u662f\u4e00\u79cd\u7528\u4e8eDebian\u53ca\u5176\u884d\u751f\u53d1\u884c\u7248\u7684\u8f6f\u4ef6\u5305\u683c\u5f0f\u3002Debian\u662f\u4e00\u79cd\u81ea\u7531\u64cd\u4f5c\u7cfb\u7edflinux\u8bba\u575b\uff0c\u5b83\u4ee5\u7a33\u5b9a\u6027\u548c\u5b89\u5168\u6027\u8457\u79f0\u3002\u56e0\u6b64\uff0c\u8bb8\u591a\u4eba\u559c\u6b22\u4f7f\u7528Debian\u53ca\u5176\u884d\u751f\u53d1\u884c\u7248\u3002<\/p>\n

2.\u5982\u4f55\u5b89\u88c5deb\u6587\u4ef6\uff1f<\/p>\n

\u9996\u5148\u8981\u786e\u4fdd\u5df2\u7ecf\u4e0b\u8f7d\u4e86\u6240\u9700\u7684deb\u6587\u4ef6\u3002\u7136\u540e\uff0c\u5728\u7ec8\u7aef\u4e2d\u8fdb\u5165deb\u6587\u4ef6\u6240\u5728\u76ee\u5f55\uff0c\u5e76\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4<\/a>\uff1a<\/p>\n

sudo dpkg -i package_file.deb<\/p>\n

\u8bf7\u5c06“package_file.deb”\u66ff\u6362\u4e3a\u4f60\u8981\u5b89\u88c5\u7684deb\u6587\u4ef6\u7684\u540d\u79f0\u3002\u63a5\u4e0b\u6765deb\u6587\u4ef6\u600e\u4e48\u5b89\u88c5 linux<\/strong>\uff0c\u7cfb\u7edf\u5c06\u63d0\u793a\u4f60\u8f93\u5165\u5bc6\u7801\uff0c\u8f93\u5165\u5bc6\u7801\u540e\u5373\u53ef\u5f00\u59cb\u5b89\u88c5\u8fc7\u7a0b\u3002<\/p>\n

3.\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u9700\u8981\u6ce8\u610f\u4ec0\u4e48\uff1f<\/p>\n

\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u80fd\u4f1a\u51fa\u73b0\u4f9d\u8d56\u95ee\u9898\u3002\u8fd9\u610f\u5473\u7740\u4f60\u9700\u8981\u624b\u52a8\u89e3\u51b3\u4f9d\u8d56\u5173\u7cfb\u3002\u5982\u679c\u4f60\u4e0d\u77e5\u9053\u5982\u4f55\u89e3\u51b3\u4f9d\u8d56\u5173\u7cfb\uff0c\u8bf7\u5c1d\u8bd5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n

sudo apt-get install -f<\/p>\n

\u6b64\u547d\u4ee4\u5c06\u81ea\u52a8\u89e3\u51b3\u4f9d\u8d56\u95ee\u9898\u5e76\u5b8c\u6210\u5b89\u88c5\u8fc7\u7a0b\u3002<\/p>\n

4.\u5982\u4f55\u5378\u8f7d\u5df2\u5b89\u88c5\u7684deb\u8f6f\u4ef6\u5305\uff1f<\/p>\n

\u5982\u679c\u4f60\u60f3\u5378\u8f7d\u5df2\u7ecf\u5b89\u88c5\u7684\u8f6f\u4ef6\u5305\uff0c\u8bf7\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n

sudo dpkg -r package_name<\/p>\n

\u8bf7\u5c06“package_name”\u66ff\u6362\u4e3a\u4f60\u8981\u5378\u8f7d\u7684\u8f6f\u4ef6\u5305\u540d\u79f0\u3002\u63a5\u4e0b\u6765\uff0c\u7cfb\u7edf\u5c06\u63d0\u793a\u4f60\u8f93\u5165\u5bc6\u7801\uff0c\u5e76\u4e14\u4f1a\u81ea\u52a8\u5220\u9664\u8be5\u8f6f\u4ef6\u5305\u4ee5\u53ca\u5176\u6240\u6709\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n

5.\u5982\u4f55\u66f4\u65b0\u5df2\u5b89\u88c5\u7684deb\u8f6f\u4ef6\u5305\uff1f<\/p>\n

linux\u5982\u4f55\u5b89\u88c5deb\u6587\u4ef6_deb\u6587\u4ef6\u600e\u4e48\u5b89\u88c5 linux_deb\u6587\u4ef6\u5b89\u88c5 linux<\/p>\n

\u5982\u679c\u4f60\u60f3\u66f4\u65b0\u5df2\u7ecf\u5b89\u88c5\u7684\u8f6f\u4ef6\u5305\uff0c\u8bf7\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n

sudo apt-get update<\/p>\n

sudo apt-get upgrade<\/p>\n

\u6b64\u547d\u4ee4\u5c06\u66f4\u65b0\u6240\u6709\u5df2\u5b89\u88c5\u8f6f\u4ef6\u5305\u5e76\u5c06\u5176\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672c\u3002<\/p>\n

6.\u5982\u4f55\u67e5\u770b\u5df2\u7ecf\u5b89\u88c5\u7684\u8f6f\u4ef6\u5305\u5217\u8868\uff1f<\/p>\n

\u5982\u679c\u4f60\u60f3\u67e5\u770b\u5df2\u7ecf\u5b89\u88c5\u7684\u8f6f\u4ef6\u5305\u5217\u8868\uff0c\u8bf7\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n

dpkg --list<\/p>\n

\u6b64\u547d\u4ee4\u5c06\u5217\u51fa\u6240\u6709\u5df2\u7ecf\u5b89\u88c5\u7684\u8f6f\u4ef6\u5305\u3002<\/p>\n

7.\u6709\u54ea\u4e9b\u5de5\u5177\u53ef\u4ee5\u5e2e\u52a9\u7ba1\u7406deb\u8f6f\u4ef6\u5305\uff1f<\/p>\n

\u5982\u679c\u4f60\u60f3\u66f4\u65b9\u4fbf\u5730\u7ba1\u7406deb\u8f6f\u4ef6\u5305deb\u6587\u4ef6\u600e\u4e48\u5b89\u88c5 linux<\/strong>\uff0c\u8bf7\u5c1d\u8bd5\u4f7f\u7528\u4ee5\u4e0b\u5de5\u5177\uff1a<\/p>\n

- Synaptic\uff1a\u56fe\u5f62\u5316\u754c\u9762\u4e0b\u7684deb\u7ba1\u7406\u5668\u3002<\/p>\n

- Gdebi\uff1a\u7528\u4e8e\u5728Ubuntu\u4e0a\u5feb\u901f\u6253\u5f00\u548c\u5b89\u88c5.deb\u6587\u4ef6\u3002<\/p>\n

- Aptitude\uff1a\u7c7b\u4f3c\u4e8eapt-get\u5de5\u5177\uff0c\u4f46\u63d0\u4f9b\u4e86\u66f4\u53cb\u597d\u6613\u7528\u7684\u754c\u9762\u3002<\/p>\n

- Apt\uff1a\u6700\u5e38\u7528\u4e14\u6700\u7b80\u5355\u7684\u5de5\u5177\u4e4b\u4e00\uff0c\u5728\u7ec8\u7aef\u4e2d\u4f7f\u7528apt-get\u6216aptitude\u8fdb\u884c\u64cd\u4f5c\u3002<\/p>\n

8.\u603b\u7ed3<\/p>\n

\u672c\u6587\u4ecb\u7ecd\u4e86\u5982\u4f55\u5728Linux\u7cfb\u7edf\u4e0a\u5b89\u88c5\u3001\u5378\u8f7d\u3001\u66f4\u65b0\u548c\u7ba1\u7406deb\u8f6f\u4ef6\u5305\u3002\u867d\u7136\u5bf9\u4e8e\u521d\u5b66\u8005\u6765\u8bf4\u53ef\u80fd\u6709\u4e9b\u56f0\u96be\uff0c\u4f46\u53ea\u8981\u6309\u7167\u4ee5\u4e0a\u6b65\u9aa4\u64cd\u4f5c\u5c31\u53ef\u4ee5\u8f7b\u677e\u641e\u5b9a\u3002\u5e0c\u671b\u672c\u6587\u5bf9\u5927\u5bb6\u6709\u6240\u5e2e\u52a9\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"

deb\u6587\u4ef6\u662f\u4ec0\u4e48\uff1f\u5982\u4f55\u5b89\u88c5deb\u6587\u4ef6\uff1f\u9996\u5148\u8981\u786e\u4fdd\u5df2\u7ecf\u4e0b\u8f7d\u4e86\u6240\u9700\u7684deb\u6587\u4ef6\u3002\u7136\u540e\uff0c\u5728\u7ec8\u7aef\u4e2d\u8fdb\u5165deb\u6587\u4ef6\u6240\u5728\u76ee\u5f55\uff0c\u5e76\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1adeb”\u66ff\u6362\u4e3a\u4f60\u8981\u5b89\u88c5\u7684deb\u6587\u4ef6\u7684\u540d\u79f0\u3002\u5982\u4f55\u5378\u8f7d\u5df2\u5b89\u88c5\u7684deb\u8f6f\u4ef6\u5305\uff1f\u5982\u4f55\u66f4\u65b0\u5df2\u5b89\u88c5\u7684deb\u8f6f\u4ef6\u5305\uff1f\u6b64\u547d\u4ee4\u5c06\u5217\u51fa\u6240\u6709\u5df2\u7ecf\u5b89\u88c5\u7684\u8f6f\u4ef6\u5305\u3002\u6709\u54ea\u4e9b\u5de5\u5177\u53ef\u4ee5\u5e2e\u52a9\u7ba1\u7406deb\u8f6f\u4ef6\u5305\uff1fSynaptic\uff1a\u56fe\u5f62\u5316\u754c\u9762\u4e0b\u7684deb\u7ba1\u7406\u5668\u3002<\/p>\n","protected":false},"author":1,"featured_media":267591,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-267590","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/267590","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=267590"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/267590\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/267591"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=267590"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=267590"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=267590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}