{"id":208646,"date":"2021-01-10T08:22:10","date_gmt":"2021-01-10T00:22:10","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=208646"},"modified":"2021-01-05T09:10:58","modified_gmt":"2021-01-05T01:10:58","slug":"linux-for-developers","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-for-developers.html","title":{"rendered":"Linux\u4e0b\u4e00\u6b3e\u4e3a\u5f00\u53d1\u8005\u8bbe\u8ba1\u7684\u7b49\u5bbd\u5b57\u4f53"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u4ec0\u4e48\uff1fLinux\u4e0b\u5b89\u88c5\u4f7f\u7528\u6700\u9002\u5408\u7a0b\u5e8f\u5458\u7684\u7f16\u7a0b\u5b57\u4f53\u3002Linux\u4e0b\u5b89\u88c5\u4f7f\u7528\u6700\u9002\u5408\u7a0b\u5e8f\u5458\u7684\u7f16\u7a0b\u5b57\u4f53JetBrains Mono \u662f JetBrains \u516c\u53f8\u5f00\u53d1\u7684\u4e00\u6b3e\u5f00\u6e90\u5b57\u4f53\uff0c\u53ef\u514d\u8d39\u5546\u7528\u3002\u6b63\u5982\u5176\u540d\u5b57\u5e26\u7684Mono\uff0c\u5373Monospaced Font\uff0c\u5b83\u4e00\u6b3e\u4e3a\u5f00\u53d1\u8005\u8bbe\u8ba1\u7684\u7b49\u5bbd\u5b57\u4f53\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n
\u4e3a\u4ec0\u4e48\u8bf4\u5b83\u662f\u4e13\u95e8\u4e3a\u5f00\u53d1\u4eba\u5458\u8bbe\u8ba1\u7684\u5462\uff1f<\/strong><\/div>\n

\u56e0\u4e3a\u5f53\u524d\u6d41\u884c\u4f7f\u7528\u7684\u5404\u79cd\u5b57\u4f53\uff0c\u5e76\u672a\u8003\u8651\u5230\u5728\u4ee3\u7801\u5f00\u53d1\u9605\u8bfb\u65f6\u7684\u7f8e\u89c2\u8212\u9002\uff0c\u5f80\u5f80\u4e00\u5929\u4e0b\u6765\uff0c\u805a\u7cbe\u4f1a\u795e\u7684\u4f60\u4e24\u773c\u96be\u514d\u4f1a\u5e72\u6da9\u96be\u53d7\u3002\u56e0\u6b64\uff0c\u5728 JetBrains Mono \u7684\u8bbe\u8ba1\u9636\u6bb5\uff0c\u5b83\u5c31\u5145\u5206\u8003\u8651\u5230\u4e86\u957f\u65f6\u95f4\u5de5\u4f5c\u53ef\u80fd\u5bfc\u81f4\u7684\u773c\u775b\u75b2\u52b3\u95ee\u9898\uff0c\u6bd4\u5982\u5b57\u6bcd\u7684\u5927\u5c0f\u548c\u5f62\u72b6\u3001\u7a7a\u95f4\u91cf\u3001\u81ea\u7136\u7b49\u5bbd\u5e73\u8861\u3001\u4e0d\u5fc5\u8981\u7684\u7ec6\u8282\u3001\u8fde\u5b57\u3001\u4ee5\u53ca\u96be\u4ee5\u533a\u5206\u7684\u7b26\u53f7\u7b49\uff0c\u4ece\u800c\u6700\u7ec8\u8bbe\u8ba1\u51fa\u4e86\u8fd9\u4e48\u4e00\u6b3e\u5b57\u4f53\u3002<\/p>\n

\u7279\u6027\uff1a<\/strong><\/div>\n

\u589e\u52a0\u5b57\u6bcd\u9ad8\u5ea6\u4ee5\u83b7\u5f97\u66f4\u597d\u7684\u9605\u8bfb\u4f53\u9a8c
\n\u9002\u5408\u6d4f\u89c8\u4ee3\u7801,\u7279\u5b9a\u4e8e\u8bfb\u4ee3\u7801\u7684\u8fde\u5b57,JetBrains Mono \u514d\u8d39\u63d0\u4f9b\uff0c\u5e76\u4e14\u5f00\u6e90\u3002
\n\u5b57\u4f53\u7c97\u7ec6\u548c\u659c\u4f53\u8bbe\u7f6e
\n\u5b57\u7b26\u7684\u5bbd\u5ea6\u4fdd\u6301\u6807\u51c6\uff0c\u4f46\u5c0f\u5199\u5b57\u6bcd\u7684\u9ad8\u5ea6\u5df2\u6700\u5927\u5316\u3002\u8fd9\u79cd\u65b9\u6cd5\u4f7f\u4ee3\u7801\u884c\u4fdd\u6301\u5f00\u53d1\u4eba\u5458\u671f\u671b\u7684\u957f\u5ea6\uff0c\u5e76\u4e14\u7531\u4e8e\u6bcf\u4e2a\u5b57\u6bcd\u5360\u7528\u66f4\u591a\u50cf\u7d20\uff0c\u56e0\u6b64\u6709\u52a9\u4e8e\u6539\u5584\u6e32\u67d3\u3002
\n\u8003\u8651\u4e00\u4e0b\u6b64\u5b57\u4f53\u8bed\u5176\u4ed6\u5b57\u4f53\u7684\u6bd4\u8f83\u3002\u4f8b\u5982\uff1aConsolas \u7684\u5b57\u6bcd\u7a0d\u5bbd\uff0c \u4f46\u5b57\u6bcd\u4ecd\u7136\u5f88\u5c0f\uff0c\u8fd9\u8feb\u4f7f\u60a8\u5c06\u5b57\u4f53\u5927\u5c0f\u589e\u52a0\u4e00\u70b9\uff0c\u4ee5\u4f7f\u5b57\u4f53\u66f4\u5177\u53ef\u8bfb\u6027\u3002\u7ed3\u679c\uff0c\u4ee3\u7801\u884c\u7684\u8fd0\u884c\u65f6\u95f4\u5f80\u5f80\u6bd4\u9884\u671f\u7684\u8981\u957f\u3002
\nJetBrains Mono \u7684\u6807\u51c6\u5bbd\u5ea6\u5b57\u6bcd\u6709\u52a9\u4e8e\u4f7f\u7ebf\u6761\u4fdd\u6301\u9884\u671f\u7684\u957f\u5ea6\u3002
\n\u692d\u5706\u5f62\u63a5\u8fd1\u77e9\u5f62\u7b26\u53f7\uff0c\u8fd9\u4f7f\u6574\u4e2a\u6587\u672c\u6a21\u5f0f\u66f4\u52a0\u6e05\u6670\u3002
\n\u692d\u5706\u5f62\u7684\u5916\u4fa7\u786e\u4fdd\u5728\u5782\u76f4\u626b\u63cf\u6587\u672c\u65f6\uff0c\u60a8\u7684\u773c\u775b\u6ca1\u6709\u5176\u4ed6\u969c\u788d\u3002
\nJetBrains Mono \u7684\u5b57\u4f53\u5f62\u5f0f\u975e\u5e38\u7b80\u5355\uff0c\u6ca1\u6709\u4e0d\u5fc5\u8981\u7684\u7ec6\u8282\u3002\u4ee5\u5c0f\u5c3a\u5bf8\u5448\u73b0\uff0c\u6587\u672c\u770b\u8d77\u6765\u66f4\u6e05\u6670\u3002\u5f62\u5f0f\u8d8a\u7b80\u5355\uff0c\u773c\u775b\u770b\u5f97\u8d8a\u5feb\uff0c\u5927\u8111\u5904\u7406\u6240\u9700\u7684\u7cbe\u529b\u4e5f\u5c31\u8d8a\u5c11\u3002<\/p>\n

\u7b26\u53f7\u7684\u72ec\u7279\u6027<\/strong><\/div>\n

\u201c1\u201d\u3001\u201cl\u201d \u548c \u201cI\u201d \u90fd\u6613\u4e8e\u533a\u5206\u3002<\/p>\n

\u201c\u96f6\u201d \u5728\u4e2d\u95f4\u6709\u4e00\u4e2a\u70b9\u3002\u5b57\u6bcd \u201cO\u201d \u6ca1\u6709\u3002<\/p>\n

\u9017\u53f7\u7684\u5f62\u72b6\u4e0d\u540c\u4e8e\u53e5\u70b9\u7684\u5f62\u72b6\uff0c\u4f7f\u5b83\u4eec\u5728\u5c0f\u5c3a\u5bf8\u65f6\u66f4\u5bb9\u6613\u533a\u5206\u3002\u6d3e\u751f\u7b26\u53f7\u4e5f\u662f\u5982\u6b64\u3002<\/p>\n

\u4ece2019.3\u7248\u672c\u5f00\u59cb\uff0cJetBrains Mono\u5b57\u4f53\u5c06\u968fIDE\u4e00\u8d77\u63d0\u4f9b\uff0c\u5f53\u7136\uff0c\u4f60\u53ef\u4ee5\u4e0b\u8f7d\u5b83\u5e76\u5728\u5176\u4ed6\u6240\u9700\u7684\u4efb\u4f55\u7f16\u8f91\u5668\u4e2d\u4f7f\u7528\u5b83\u3002
\n\u672c\u5b89\u88c5\u8bf4\u660e\u5728Ubuntu 20.04 LTS\u4e0a\u8fdb\u884c\u4e86\u6d4b\u8bd5\uff0c\u4f46\u5e94\u8be5\u53ef\u4ee5\u5728\u6240\u6709Linux\u4e0a\u90fd\u53ef\u4ee5\u8fd0\u884c\u3002
\n\u4e0b\u8f7d\u76ee\u524d\u7684\u6700\u65b0\u7248\u672c\u5b57\u4f53\u5e76\u89e3\u538b\u7f29:<\/p>\n

linuxmi@linuxmi:~\/www.linuxmi.com$ wget \r\nhttps:\/\/download.jetbrains.com\/fonts\/JetBrainsMono-2.221.zip\r\nlinuxmi@linuxmi:~\/www.linuxmi.com$ unzip JetBrainsMono-2.221.zip<\/pre>\n

\"\"<\/p>\n

\u5c06\u5b57\u4f53\u5b89\u88c5\u5230\u7528\u6237\u7684\u5b57\u4f53\u76ee\u5f55\u4e2d<\/p>\n

linuxmi@linuxmi:~\/www.linuxmi.com\/fonts\/ttf$ mv JetBrains*.ttf ~\/.local\/share\/fonts\/<\/pre>\n

\u6216\u8005\u662f\u7cfb\u7edf\u8303\u56f4\u5185\u7684:<\/p>\n

linuxmi@linuxmi:~\/www.linuxmi.com\/fonts\/ttf$ sudo mv JetBrains*.ttf \/usr\/share\/fonts\/<\/pre>\n

\u5728\u7ec8\u7aef\u4e2d\u9009\u62e9Mono\u5b57\u4f53<\/p>\n

\"\"<\/p>\n

Python \u4ee3\u7801\uff1a<\/p>\n

\"\"<\/p>\n

C++ \u4ee3\u7801\uff1a<\/p>\n

\"\"<\/p>\n

\u600e\u4e48\u6837\uff0c\u4f60\u559c\u6b22\u5417?<\/p>\n","protected":false},"excerpt":{"rendered":"

\u56e0\u4e3a\u5f53\u524d\u6d41\u884c\u4f7f\u7528\u7684\u5404\u79cd\u5b57\u4f53\uff0c\u5e76\u672a\u8003\u8651\u5230\u5728\u4ee3\u7801\u5f00\u53d1\u9605\u8bfb\u65f6\u7684\u7f8e\u89c2\u8212\u9002\uff0c\u5f80\u5f80\u4e00\u5929\u4e0b\u6765\uff0c\u805a\u7cbe\u4f1a\u795e\u7684\u4f60\u4e24\u773c\u96be\u514d\u4f1a\u5e72\u6da9\u96be\u53d7 […]<\/p>\n","protected":false},"author":310,"featured_media":208734,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-208646","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/208646","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\/310"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=208646"}],"version-history":[{"count":9,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/208646\/revisions"}],"predecessor-version":[{"id":208955,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/208646\/revisions\/208955"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/208734"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=208646"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=208646"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=208646"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}