{"id":18423,"date":"2024-11-18T16:35:11","date_gmt":"2024-11-18T08:35:11","guid":{"rendered":"https:\/\/fwq.ai\/blog\/18423\/"},"modified":"2024-11-18T16:35:11","modified_gmt":"2024-11-18T08:35:11","slug":"ubuntu%e6%80%8e%e4%b9%88%e6%94%b9%e6%88%90%e4%b8%ad%e6%96%87","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/18423\/","title":{"rendered":"ubuntu\u600e\u4e48\u6539\u6210\u4e2d\u6587"},"content":{"rendered":"<blockquote><p>\n  \u5c06 ubuntu \u6539\u4e3a\u4e2d\u6587\u53ea\u9700 5 \u4e2a\u6b65\u9aa4\uff1a\u66f4\u65b0\u8f6f\u4ef6\u5305\u5b89\u88c5\u4e2d\u6587\u8bed\u8a00\u5305\u914d\u7f6e\u8bed\u8a00\uff08\u5728\u533a\u57df\u548c\u8bed\u8a00\u8bbe\u7f6e\u4e2d\u5c06\u4e2d\u6587\u8bbe\u7f6e\u4e3a\u9ed8\u8ba4\u8bed\u8a00\uff09\u6ce8\u9500\u5e76\u91cd\u65b0\u767b\u5f55\u5b89\u88c5\u4e2d\u6587\u5b57\u4f53\uff08\u53ef\u9009\uff0c\u4ee5\u83b7\u5f97\u6700\u4f73\u663e\u793a\u6548\u679c\uff09\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202409\/12\/2024091209151610882.jpg\" class=\"aligncenter\" title=\"ubuntu\u600e\u4e48\u6539\u6210\u4e2d\u6587\u63d2\u56fe\" alt=\"ubuntu\u600e\u4e48\u6539\u6210\u4e2d\u6587\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5982\u4f55\u5c06 Ubuntu \u6539\u4e3a\u4e2d\u6587<\/strong><\/p>\n<p><strong>\u6b65\u9aa4 1\uff1a\u66f4\u65b0\u8f6f\u4ef6\u5305<\/strong><br \/>\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u4ee5\u66f4\u65b0\u8f6f\u4ef6\u5305\uff1a<\/p>\n<pre>sudo apt update\nsudo apt upgrade<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p><strong>\u6b65\u9aa4 2\uff1a\u5b89\u88c5\u4e2d\u6587\u8bed\u8a00\u5305<\/strong><br \/>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\u4e2d\u6587\u8bed\u8a00\u5305\uff1a<\/p>\n<pre>sudo apt install language-pack-zh-hans<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p><strong>\u6b65\u9aa4 3\uff1a\u914d\u7f6e\u8bed\u8a00<\/strong><br \/>\u6253\u5f00\u8bed\u8a00\u548c\u533a\u57df\u8bbe\u7f6e\uff1a<\/p>\n<ul>\n<li>\u5728\u9876\u90e8\u83dc\u5355\u680f\u4e2d\uff0c\u70b9\u51fb\u201c\u8bbe\u7f6e\u201d\u56fe\u6807\u3002<\/li>\n<li>\u9009\u62e9\u201c\u533a\u57df\u548c\u8bed\u8a00\u201d\u3002<\/li>\n<\/ul>\n<p>\u5728\u201c\u8bed\u8a00\u201d\u9009\u9879\u5361\u4e2d\uff0c\u6267\u884c\u4ee5\u4e0b\u64cd\u4f5c\uff1a<\/p>\n<ul>\n<li>\u70b9\u51fb\u201c+\u201d\u6309\u94ae\u6dfb\u52a0\u8bed\u8a00\u3002<\/li>\n<li>\u9009\u62e9\u201c\u4e2d\u6587\uff08\u7b80\u4f53\uff09\u201d\u3002<\/li>\n<li>\u5355\u51fb\u201c\u8bbe\u7f6e\u4e3a\u9ed8\u8ba4\u503c\u201d\u3002<\/li>\n<\/ul>\n<p><strong>\u6b65\u9aa4 4\uff1a\u6ce8\u9500\u5e76\u91cd\u65b0\u767b\u5f55<\/strong><br \/>\u66f4\u6539\u751f\u6548\u9700\u8981\u91cd\u65b0\u767b\u5f55\u3002\u5355\u51fb\u9876\u90e8\u83dc\u5355\u680f\u4e2d\u7684\u201c\u7535\u6e90\u201d\u6309\u94ae\uff0c\u9009\u62e9\u201c\u6ce8\u9500\u201d\u3002\u91cd\u65b0\u767b\u5f55\u540e\uff0cUbuntu \u5c06\u663e\u793a\u4e3a\u4e2d\u6587\u3002<\/p>\n<p><strong>\u6b65\u9aa4 5\uff1a\u5b89\u88c5\u5b57\u4f53\uff08\u53ef\u9009\uff09<\/strong><br \/>\u5982\u679c\u65e0\u6cd5\u6b63\u5e38\u663e\u793a\u4e2d\u6587\uff0c\u5219\u9700\u8981\u5b89\u88c5\u4e2d\u6587\u5b57\u4f53\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n<pre>sudo apt install fonts-wqy-microhei<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p><strong>\u63d0\u793a\uff1a<\/strong><\/p>\n<ul>\n<li>\u67d0\u4e9b\u5e94\u7528\u7a0b\u5e8f\u53ef\u80fd\u9700\u8981\u5355\u72ec\u914d\u7f6e\u4e3a\u4f7f\u7528\u4e2d\u6587\u3002<\/li>\n<li>\u66f4\u6539\u8bed\u8a00\u53ef\u80fd\u4f1a\u5f71\u54cd\u67d0\u4e9b\u7a0b\u5e8f\u7684\u7ffb\u8bd1\u51c6\u786e\u6027\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662fubuntu\u600e\u4e48\u6539\u6210\u4e2d\u6587\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5c06 ubuntu \u6539\u4e3a\u4e2d\u6587\u53ea\u9700 5 \u4e2a\u6b65\u9aa4\uff1a\u66f4\u65b0\u8f6f\u4ef6\u5305\u5b89\u88c5\u4e2d\u6587\u8bed\u8a00\u5305\u914d\u7f6e\u8bed\u8a00\uff08\u5728\u533a\u57df\u548c\u8bed\u8a00\u8bbe\u7f6e\u4e2d\u5c06\u4e2d\u6587\u8bbe\u7f6e\u4e3a\u9ed8\u8ba4\u8bed\u8a00\uff09\u6ce8\u9500\u5e76\u91cd\u65b0\u767b\u5f55\u5b89\u88c5\u4e2d\u6587\u5b57\u4f53\uff08\u53ef\u9009\uff0c\u4ee5\u83b7\u5f97\u6700\u4f73\u663e\u793a\u6548\u679c\uff09 \u5982\u4f55\u5c06 Ubuntu \u6539\u4e3a\u4e2d\u6587 \u6b65\u9aa4 1\uff1a\u66f4\u65b0\u8f6f\u4ef6\u5305\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u4ee5\u66f4\u65b0\u8f6f\u4ef6\u5305\uff1a sudo apt update sudo apt upgrade \u767b\u5f55\u540e\u590d\u5236 \u6b65\u9aa4 2\uff1a\u5b89\u88c5\u4e2d\u6587\u8bed\u8a00\u5305\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\u4e2d\u6587\u8bed\u8a00\u5305\uff1a sudo apt install language-pack-zh-hans \u767b\u5f55\u540e\u590d\u5236 \u6b65\u9aa4 3\uff1a\u914d\u7f6e\u8bed\u8a00\u6253\u5f00\u8bed\u8a00\u548c\u533a\u57df\u8bbe\u7f6e\uff1a \u5728\u9876\u90e8\u83dc\u5355\u680f\u4e2d\uff0c\u70b9\u51fb\u201c\u8bbe\u7f6e\u201d\u56fe\u6807\u3002 \u9009\u62e9\u201c\u533a\u57df\u548c\u8bed\u8a00\u201d\u3002 \u5728\u201c\u8bed\u8a00\u201d\u9009\u9879\u5361\u4e2d\uff0c\u6267\u884c\u4ee5\u4e0b\u64cd\u4f5c\uff1a \u70b9\u51fb\u201c+\u201d\u6309\u94ae\u6dfb\u52a0\u8bed\u8a00\u3002 \u9009\u62e9\u201c\u4e2d\u6587\uff08\u7b80\u4f53\uff09\u201d\u3002 \u5355\u51fb\u201c\u8bbe\u7f6e\u4e3a\u9ed8\u8ba4\u503c\u201d\u3002 \u6b65\u9aa4 4\uff1a\u6ce8\u9500\u5e76\u91cd\u65b0\u767b\u5f55\u66f4\u6539\u751f\u6548\u9700\u8981\u91cd\u65b0\u767b\u5f55\u3002\u5355\u51fb\u9876\u90e8\u83dc\u5355\u680f\u4e2d\u7684\u201c\u7535\u6e90\u201d\u6309\u94ae\uff0c\u9009\u62e9\u201c\u6ce8\u9500\u201d\u3002\u91cd\u65b0\u767b\u5f55\u540e\uff0cUbuntu \u5c06\u663e\u793a\u4e3a\u4e2d\u6587\u3002 \u6b65\u9aa4 5\uff1a\u5b89\u88c5\u5b57\u4f53\uff08\u53ef\u9009\uff09\u5982\u679c\u65e0\u6cd5\u6b63\u5e38\u663e\u793a\u4e2d\u6587\uff0c\u5219\u9700\u8981\u5b89\u88c5\u4e2d\u6587\u5b57\u4f53\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a sudo apt install fonts-wqy-microhei \u767b\u5f55\u540e\u590d\u5236 \u63d0\u793a\uff1a \u67d0\u4e9b\u5e94\u7528\u7a0b\u5e8f\u53ef\u80fd\u9700\u8981\u5355\u72ec\u914d\u7f6e\u4e3a\u4f7f\u7528\u4e2d\u6587\u3002 \u66f4\u6539\u8bed\u8a00\u53ef\u80fd\u4f1a\u5f71\u54cd\u67d0\u4e9b\u7a0b\u5e8f\u7684\u7ffb\u8bd1\u51c6\u786e\u6027\u3002 \u4ee5\u4e0a\u5c31\u662fubuntu\u600e\u4e48\u6539\u6210\u4e2d\u6587\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-18423","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/18423","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=18423"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/18423\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=18423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=18423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=18423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}