{"id":2765,"date":"2022-01-20T18:48:25","date_gmt":"2022-01-20T10:48:25","guid":{"rendered":"https:\/\/blog.iyatt.com\/?p=2765"},"modified":"2024-05-05T14:19:26","modified_gmt":"2024-05-05T06:19:26","slug":"%e5%9f%ba%e4%ba%8e-termux-%e6%89%93%e9%80%a0%e5%ae%89%e5%8d%93%e7%ab%af-linux-%e5%bc%80%e5%8f%91%e7%8e%af%e5%a2%83","status":"publish","type":"post","link":"https:\/\/blog.iyatt.com\/?p=2765","title":{"rendered":"\u5728\u5b89\u5353\u8bbe\u5907\u4e0a\u642d\u5efa Linux \u5f00\u53d1\u73af\u5883"},"content":{"rendered":"\n<p>\u9996\u5148\u9700\u8981\u4e00\u4e2a\u8f7d\u4f53 Termux\uff0cTermux \u672c\u8eab\u662f\u4e00\u4e2a\u5b89\u5353\u7ec8\u7aef\u4eff\u771f\u5668\u548c\u7c7b Linux \u73af\u5883\uff0c\u76f8\u6bd4\u4e8e\u771f\u6b63\u7684 Linux \u8fd8\u662f\u6709\u4e00\u5b9a\u5dee\u5f02\uff0c\u5305\u7ba1\u7406\u5de5\u5177\u53ef\u63d0\u4f9b\u5b89\u88c5\u7684\u8f6f\u4ef6\u4e5f\u6709\u9650\u3002<\/p>\n\n\n\n<p>\u4e0d\u8fc7 Termux \u53ef\u901a\u8fc7\u4e00\u4e2a\u5bb9\u5668\u5de5\u5177\u5728\u91cc\u9762\u8fd0\u884c Linux \u6839\u6587\u4ef6\u7cfb\u7edf\uff0c\u5957\u5a03\u914d\u7f6e\u51fa\u4e00\u5957 Linux \u73af\u5883\uff0c\u56e0\u4e3a\u5b89\u5353\u7684\u624b\u673a\u548c\u5e73\u677f\u662f arm \u67b6\u6784 CPU\uff0c\u533a\u522b\u4e8e\u4e00\u822c\u7535\u8111 x86_64 \u67b6\u6784\u7684 CPU\u3002\uff08\u6811\u8393\u6d3e\u548c Jetson \u5f00\u53d1\u677f\u4e5f\u662f arm \u67b6\u6784 CPU)\u3002<\/p>\n\n\n\n<p>\u63a5\u4e0b\u6765\u5c31\u5f00\u59cb\u6b63\u5f0f\u7684\u64cd\u4f5c\u4e86\uff0c\u8fd9\u91cc\u6211\u7528\u7684 \u5c0f\u7c735Pro\u5e73\u677f\uff08MIUI 13.0.6 Android 11) \u6f14\u793a<\/p>\n\n\n\n<p>Termux \u9879\u76ee\u5730\u5740\uff1a<a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/termux\/termux-app\" target=\"_blank\">https:\/\/github.com\/termux\/termux-app<\/a><\/p>\n\n\n\n<p>Termux \u5b98\u7f51\uff1a<a href=\"https:\/\/termux.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/termux.com\/<\/a><\/p>\n\n\n\n<p>\u76ee\u524d\u8fd9\u6b3e\u8f6f\u4ef6\u5728\u56fd\u5185\u5e94\u7528\u5546\u5e97\u4e0a\u5b89\u88c5\u4e0d\u4e86\uff0cGoogle Play \u4e0a\u7684\u4f3c\u4e4e\u5f88\u4e45\u6ca1\u66f4\u65b0\u4e86\uff0c\u6700\u65b0\u7684\u8981\u5230 F-Droid \u4e0b\u8f7d\u3002<\/p>\n\n\n\n<p>\u4e0b\u8f7d\u5730\u5740\uff1a<a href=\"https:\/\/f-droid.org\/packages\/com.termux\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/f-droid.org\/packages\/com.termux\/<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"344\" height=\"739\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/01\/image-42.png\" alt=\"\" class=\"wp-image-2772 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/01\/image-42.png 344w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/01\/image-42-140x300.png 140w\" data-sizes=\"(max-width: 344px) 100vw, 344px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 344px; --smush-placeholder-aspect-ratio: 344\/739;\" \/><figcaption>\u4e0b\u8f7d\u5b89\u88c5 Termux \u540e\u6253\u5f00\u8fd0\u884c<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"640\" height=\"1024\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/Screenshot_2022-03-31-15-48-47-542_com.miui_.securitycenter-640x1024.jpg\" alt=\"\" class=\"wp-image-4388 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/Screenshot_2022-03-31-15-48-47-542_com.miui_.securitycenter-640x1024.jpg 640w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/Screenshot_2022-03-31-15-48-47-542_com.miui_.securitycenter-188x300.jpg 188w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/Screenshot_2022-03-31-15-48-47-542_com.miui_.securitycenter-768x1229.jpg 768w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/Screenshot_2022-03-31-15-48-47-542_com.miui_.securitycenter-960x1536.jpg 960w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/Screenshot_2022-03-31-15-48-47-542_com.miui_.securitycenter-1280x2048.jpg 1280w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/Screenshot_2022-03-31-15-48-47-542_com.miui_.securitycenter.jpg 1600w\" data-sizes=\"(max-width: 640px) 100vw, 640px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 640px; --smush-placeholder-aspect-ratio: 640\/1024;\" \/><\/figure>\n\n\n\n<p>\u6362\u56fd\u5185\u955c\u50cf\u7ad9<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">termux-change-repo<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"640\" height=\"1024\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/Screenshot_2022-03-31-15-51-47-430_com.termux-640x1024.jpg\" alt=\"\" class=\"wp-image-4389 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/Screenshot_2022-03-31-15-51-47-430_com.termux-640x1024.jpg 640w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/Screenshot_2022-03-31-15-51-47-430_com.termux-188x300.jpg 188w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/Screenshot_2022-03-31-15-51-47-430_com.termux-768x1229.jpg 768w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/Screenshot_2022-03-31-15-51-47-430_com.termux-960x1536.jpg 960w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/Screenshot_2022-03-31-15-51-47-430_com.termux-1280x2048.jpg 1280w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/Screenshot_2022-03-31-15-51-47-430_com.termux.jpg 1600w\" data-sizes=\"(max-width: 640px) 100vw, 640px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 640px; --smush-placeholder-aspect-ratio: 640\/1024;\" \/><\/figure>\n\n\n\n<p>\u8fd9\u91cc\u6211\u7528\u7684\u4e2d\u79d1\u5927\u955c\u50cf<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/Screenshot_2022-03-31-15-52-13-718_com.termux-640x1024.jpg\" alt=\"\" class=\"wp-image-4390 lazyload\" width=\"541\" height=\"865\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/Screenshot_2022-03-31-15-52-13-718_com.termux-640x1024.jpg 640w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/Screenshot_2022-03-31-15-52-13-718_com.termux-188x300.jpg 188w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/Screenshot_2022-03-31-15-52-13-718_com.termux-768x1229.jpg 768w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/Screenshot_2022-03-31-15-52-13-718_com.termux-960x1536.jpg 960w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/Screenshot_2022-03-31-15-52-13-718_com.termux-1280x2048.jpg 1280w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/Screenshot_2022-03-31-15-52-13-718_com.termux.jpg 1600w\" data-sizes=\"(max-width: 541px) 100vw, 541px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 541px; --smush-placeholder-aspect-ratio: 541\/865;\" \/><\/figure>\n\n\n\n<p>\u6211\u6700\u5e38\u7528\u7684 Linux \u5f00\u53d1\u73af\u5883\u662f Ubuntu\uff0c\u76ee\u524d\u6700\u65b0\u7684\u957f\u671f\u652f\u6301\u7248\u4e3a 20.04\uff0c\u6240\u4ee5\u8fd9\u91cc\u5c31\u90e8\u7f72 Ubuntu 20.04.4<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># \u5b89\u88c5\u4f9d\u8d56\npkg update &amp;&amp; pkg install -y wget proot git wget openssl curl<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># \u4e0b\u8f7d\u6e90\u7801\ncd ~ &amp;&amp; git clone https:\/\/github.com\/IYATT-yx\/ubuntu-in-termux.git --depth=1<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># \u90e8\u7f72\u5b89\u88c5\ncd ubuntu-in-termux &amp;&amp; chmod a+x ubuntu_20.04.4.sh &amp;&amp; .\/ubuntu_20.04.4.sh<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># \u542f\u52a8 Ubuntu 20.04.4\n.\/startubuntu.sh<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1000\" height=\"906\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/image-344.png\" alt=\"\" class=\"wp-image-4401 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/image-344.png 1000w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/image-344-300x272.png 300w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/image-344-768x696.png 768w\" data-sizes=\"(max-width: 1000px) 100vw, 1000px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1000px; --smush-placeholder-aspect-ratio: 1000\/906;\" \/><\/figure>\n\n\n\n<p>\u8fd9\u91cc\u90e8\u7f72\u7684 Ubuntu \u7684\u6839\u6587\u4ef6\u7cfb\u7edf\uff0c\u9664\u4e86\u5f88\u57fa\u7840\u7684\u547d\u4ee4\uff0c\u5176\u5b83\u4ec0\u4e48\u90fd\u6ca1\u6709\uff0c\u8fd9\u91cc\u5148\u5b89\u88c5\u4e00\u4e9b\u57fa\u7840\u8f6f\u4ef6\u5305<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">apt update &amp;&amp; apt install -y ca-certificates curl gnupg lsb-release software-properties-common sudo vim<\/pre>\n\n\n\n<p>\u66f4\u6362\u56fd\u5185\u955c\u50cf\uff0c\u7f16\u8f91 <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">\/etc\/apt\/sources.list<\/mark>\uff0c\u5220\u9664\u539f\u6709\u5185\u5bb9\uff0c\u5199\u5165\u4e0b\u9762\u7684\uff08\u9009\u4e00\u4e2a\uff09<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">vim \/etc\/apt\/sources.list<\/pre>\n\n\n\n<p>\u2460 <strong>\u6e05\u534e\u5927\u5b66\u955c\u50cf<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># \u9ed8\u8ba4\u6ce8\u91ca\u4e86\u6e90\u7801\u955c\u50cf\u4ee5\u63d0\u9ad8 apt update \u901f\u5ea6\uff0c\u5982\u6709\u9700\u8981\u53ef\u81ea\u884c\u53d6\u6d88\u6ce8\u91ca\ndeb https:\/\/mirrors.tuna.tsinghua.edu.cn\/ubuntu\/ focal main restricted universe multiverse\n# deb-src https:\/\/mirrors.tuna.tsinghua.edu.cn\/ubuntu\/ focal main restricted universe multiverse\ndeb https:\/\/mirrors.tuna.tsinghua.edu.cn\/ubuntu\/ focal-updates main restricted universe multiverse\n# deb-src https:\/\/mirrors.tuna.tsinghua.edu.cn\/ubuntu\/ focal-updates main restricted universe multiverse\ndeb https:\/\/mirrors.tuna.tsinghua.edu.cn\/ubuntu\/ focal-backports main restricted universe multiverse\n# deb-src https:\/\/mirrors.tuna.tsinghua.edu.cn\/ubuntu\/ focal-backports main restricted universe multiverse\ndeb https:\/\/mirrors.tuna.tsinghua.edu.cn\/ubuntu\/ focal-security main restricted universe multiverse\n# deb-src https:\/\/mirrors.tuna.tsinghua.edu.cn\/ubuntu\/ focal-security main restricted universe multiverse\n\n# \u9884\u53d1\u5e03\u8f6f\u4ef6\u6e90\uff0c\u4e0d\u5efa\u8bae\u542f\u7528\n# deb https:\/\/mirrors.tuna.tsinghua.edu.cn\/ubuntu\/ focal-proposed main restricted universe multiverse\n# deb-src https:\/\/mirrors.tuna.tsinghua.edu.cn\/ubuntu\/ focal-proposed main restricted universe multiverse<\/pre>\n\n\n\n<p><strong>\u2461 \u5317\u4eac\u5916\u56fd\u8bed\u5927\u5b66\u955c\u50cf<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># \u9ed8\u8ba4\u6ce8\u91ca\u4e86\u6e90\u7801\u955c\u50cf\u4ee5\u63d0\u9ad8 apt update \u901f\u5ea6\uff0c\u5982\u6709\u9700\u8981\u53ef\u81ea\u884c\u53d6\u6d88\u6ce8\u91ca\ndeb https:\/\/mirrors.bfsu.edu.cn\/ubuntu-ports\/ focal main restricted universe multiverse\n# deb-src https:\/\/mirrors.bfsu.edu.cn\/ubuntu-ports\/ focal main restricted universe multiverse\ndeb https:\/\/mirrors.bfsu.edu.cn\/ubuntu-ports\/ focal-updates main restricted universe multiverse\n# deb-src https:\/\/mirrors.bfsu.edu.cn\/ubuntu-ports\/ focal-updates main restricted universe multiverse\ndeb https:\/\/mirrors.bfsu.edu.cn\/ubuntu-ports\/ focal-backports main restricted universe multiverse\n# deb-src https:\/\/mirrors.bfsu.edu.cn\/ubuntu-ports\/ focal-backports main restricted universe multiverse\ndeb https:\/\/mirrors.bfsu.edu.cn\/ubuntu-ports\/ focal-security main restricted universe multiverse\n# deb-src https:\/\/mirrors.bfsu.edu.cn\/ubuntu-ports\/ focal-security main restricted universe multiverse\n\n# \u9884\u53d1\u5e03\u8f6f\u4ef6\u6e90\uff0c\u4e0d\u5efa\u8bae\u542f\u7528\n# deb https:\/\/mirrors.bfsu.edu.cn\/ubuntu-ports\/ focal-proposed main restricted universe multiverse\n# deb-src https:\/\/mirrors.bfsu.edu.cn\/ubuntu-ports\/ focal-proposed main restricted universe multiverse<\/pre>\n\n\n\n<p>\u66f4\u65b0\u672c\u5730\u7d22\u5f15<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">apt update<\/pre>\n\n\n\n<p>\u914d\u7f6e\u8bed\u8a00<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">apt install -y locales<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">dpkg-reconfigure locales<\/pre>\n\n\n\n<p>\u9009 zh_CN.UTF-8<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"578\" height=\"802\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/image-345.png\" alt=\"\" class=\"wp-image-4414 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/image-345.png 578w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/image-345-216x300.png 216w\" data-sizes=\"(max-width: 578px) 100vw, 578px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 578px; --smush-placeholder-aspect-ratio: 578\/802;\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"678\" height=\"558\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/image-346.png\" alt=\"\" class=\"wp-image-4415 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/image-346.png 678w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/image-346-300x247.png 300w\" data-sizes=\"(max-width: 678px) 100vw, 678px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 678px; --smush-placeholder-aspect-ratio: 678\/558;\" \/><\/figure>\n\n\n\n<p>\u5b89\u88c5 C\/C++ \u6784\u5efa\u5de5\u5177\u3001Python3<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">apt install -y build-essential git cmake pkg-config python3 python3-pip python3-tk python3-pil python3-venv<\/pre>\n\n\n\n<p>\u5b89\u88c5 code-server<\/p>\n\n\n\n<p>\u5b89\u88c5\u65f6\u5efa\u8bae\u9b54\u6cd5\u4e0a\u7f51\uff0c\u5426\u5219\u901f\u5ea6\u5f88\u6162\u5f88\u6162<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"608\" height=\"943\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/image-347.png\" alt=\"\" class=\"wp-image-4425 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/image-347.png 608w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/image-347-193x300.png 193w\" data-sizes=\"(max-width: 608px) 100vw, 608px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 608px; --smush-placeholder-aspect-ratio: 608\/943;\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"593\" height=\"565\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/image-348.png\" alt=\"\" class=\"wp-image-4426 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/image-348.png 593w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/image-348-300x286.png 300w\" data-sizes=\"(max-width: 593px) 100vw, 593px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 593px; --smush-placeholder-aspect-ratio: 593\/565;\" \/><\/figure>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">cd ~ &amp;&amp; git clone https:\/\/github.com\/coder\/code-server.git --depth=1<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">bash code-server\/install.sh<\/pre>\n\n\n\n<p>\u5b89\u88c5\u540e\u4f7f\u7528\u548c\u914d\u7f6e\u76f8\u5173\u53c2\u8003\uff1a<a href=\"https:\/\/blog.iyatt.com\/?p=4346\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/blog.iyatt.com\/?p=4346<\/a><\/p>\n\n\n\n<p>\u672c\u673a\u6d4f\u89c8\u5668\u8bbf\u95ee<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"640\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/52DAD9700207FD0EEDD6A4DF2BF9B74C-1024x640.jpg\" alt=\"\" class=\"wp-image-4430 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/52DAD9700207FD0EEDD6A4DF2BF9B74C-1024x640.jpg 1024w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/52DAD9700207FD0EEDD6A4DF2BF9B74C-300x188.jpg 300w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/52DAD9700207FD0EEDD6A4DF2BF9B74C-768x480.jpg 768w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/52DAD9700207FD0EEDD6A4DF2BF9B74C-1536x960.jpg 1536w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/52DAD9700207FD0EEDD6A4DF2BF9B74C-2048x1280.jpg 2048w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/640;\" \/><\/figure>\n\n\n\n<p>\u540c\u4e00\u5c40\u57df\u7f51\u7684\u7535\u8111\u6d4f\u89c8\u5668\u8bbf\u95ee<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"611\" data-src=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/image-349-1024x611.png\" alt=\"\" class=\"wp-image-4429 lazyload\" data-srcset=\"https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/image-349-1024x611.png 1024w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/image-349-300x179.png 300w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/image-349-768x458.png 768w, https:\/\/blog.iyatt.com\/wp-content\/uploads\/2022\/03\/image-349.png 1115w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/611;\" \/><\/figure>\n\n\n\n<p>\u6ce8\u610f\uff1a\u7531\u4e8e\u6ca1\u6709\u914d\u7f6e\u684c\u9762\u73af\u5883\uff0c\u56e0\u6b64\u65e0\u6cd5\u8fd0\u884c\u56fe\u5f62\u7528\u6237\u754c\u9762\u7a0b\u5e8f\uff0c\u53ea\u80fd\u7f16\u5199\u57fa\u4e8e\u7ec8\u7aef\u8fd0\u884c\u7684\u7a0b\u5e8f\u3002<\/p>\n\n\n\n<p>\u642d\u5efa Jupyter \u53ef\u53c2\u8003\uff1a<a rel=\"noreferrer noopener\" href=\"https:\/\/blog.iyatt.com\/?p=2466\" target=\"_blank\">https:\/\/blog.iyatt.com\/?p=2466<\/a><\/p>\n\n\n\n<p>\u56e0\u4e3a Ubuntu \u6839\u7cfb\u7edf\u76f4\u63a5\u8fd0\u884c\u7684 root\uff0c\u6240\u4ee5\u8fd0\u884c Jupyter \u65f6\u8981\u52a0\u53c2\u6570 <strong>&#8211;allow-root<\/strong> \u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9996\u5148\u9700\u8981\u4e00\u4e2a\u8f7d\u4f53 Termux\uff0cTermux \u672c\u8eab\u662f\u4e00\u4e2a\u5b89\u5353\u7ec8\u7aef\u4eff\u771f\u5668\u548c\u7c7b Linux \u73af\u5883\uff0c\u76f8\u6bd4\u4e8e\u771f\u6b63\u7684 L [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"zakra_page_container_layout":"customizer","zakra_page_sidebar_layout":"customizer","zakra_remove_content_margin":false,"zakra_sidebar":"customizer","zakra_transparent_header":"customizer","zakra_logo":0,"zakra_main_header_style":"default","zakra_menu_item_color":"","zakra_menu_item_hover_color":"","zakra_menu_item_active_color":"","zakra_menu_active_style":"","zakra_page_header":true,"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-2765","post","type-post","status-publish","format-standard","hentry","category-all"],"modified_by":"IYATT-yx","_links":{"self":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/2765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2765"}],"version-history":[{"count":0,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=\/wp\/v2\/posts\/2765\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2765"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iyatt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}