﻿{"id":2294,"date":"2021-12-01T11:19:25","date_gmt":"2021-12-01T03:19:25","guid":{"rendered":"http:\/\/nick.txtcc.com\/?p=2294"},"modified":"2021-12-01T11:19:25","modified_gmt":"2021-12-01T03:19:25","slug":"ubuntu18-04%e5%ae%89%e8%a3%85%e4%ba%a4%e5%8f%89%e7%bc%96%e8%af%91%e7%8e%af%e5%a2%83","status":"publish","type":"post","link":"http:\/\/nick.txtcc.com\/index.php\/linux\/2294","title":{"rendered":"ubuntu18.04\u5b89\u88c5\u4ea4\u53c9\u7f16\u8bd1\u73af\u5883"},"content":{"rendered":"<h2 id=\"f2uz50\" class=\"markdown-heading\">\u51c6\u5907\u5de5\u4f5c<\/h2>\n<ol>\n    <li>\n<p class=\"line\">\u4e0b\u8f7d\u4ea4\u53c9\u7f16\u8bd1\u5de5\u5177\uff1a\n\u767e\u5ea6\u7f51\u76d8\uff1a\u94fe\u63a5\uff1a<a href=\"https:\/\/pan.baidu.com\/s\/1g4frOXmSnQU1NsOj8Zu60A\" target=\"_blank\" rel=\"noopener\">https:\/\/pan.baidu.com\/s\/1g4frOXmSnQU1NsOj8Zu60A<\/a><\/p>\n\n<pre class=\"hljs\"><code>    \u63d0\u53d6\u7801\uff1ardap<\/code><\/pre>\n<\/li>\n    <li>\n<p class=\"line\">ubuntu\u7248\u672c\uff1a<\/p>\n<p class=\"line\">vmare\u5b89\u88c5\u7684ubuntu18.04 amd64\u7248\u672c<\/p>\n\n<pre class=\"hljs ruby\"><code class=\"language-bash\"> dopi&lt;a class=&quot;at-link&quot; title=&quot;@ubuntu&quot; href=&quot;https:\/\/github.com\/ubuntu&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;@ubuntu&lt;\/a&gt;\n&lt;span class=&quot;hljs-symbol&quot;&gt;:~&lt;\/span&gt;$ cat \/proc\/version\nLinux version &lt;span class=&quot;hljs-number&quot;&gt;5.3&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-&lt;span class=&quot;hljs-number&quot;&gt;62&lt;\/span&gt;-generic (buildd&lt;a class=&quot;at-link&quot; title=&quot;@lcy01&quot; href=&quot;https:\/\/github.com\/lcy01&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;@lcy01&lt;\/a&gt;-amd64-&lt;span class=&quot;hljs-number&quot;&gt;004&lt;\/span&gt;) (gcc version &lt;span class=&quot;hljs-number&quot;&gt;7.5&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt; (Ubuntu &lt;span class=&quot;hljs-number&quot;&gt;7.5&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-&lt;span class=&quot;hljs-number&quot;&gt;3&lt;\/span&gt;ubuntu1~&lt;span class=&quot;hljs-number&quot;&gt;18.04&lt;\/span&gt;)) &lt;span class=&quot;hljs-comment&quot;&gt;#56~18.04.1-Ubuntu SMP Wed Jun 24 16:17:03 UTC 2020&lt;\/span&gt;<\/code><\/pre>\n<\/li>\n<\/ol>\n<h2 id=\"g4xrby\" class=\"markdown-heading\"><a class=\"reference-link\" name=\"g4xrby\"><\/a>\u4ea4\u53c9\u7f16\u8bd1<\/h2>\n<h4 id=\"26ipl7\" class=\"markdown-heading\"><a class=\"reference-link\" name=\"26ipl7\"><\/a>1. \u9996\u5148\u66f4\u6362\u955c\u50cf\u6e90\uff0c\u518d\u66f4\u65b0<\/h4>\n<p class=\"line\">\u6253\u5f00\u955c\u50cf\u6e90\uff0c<a href=\"https:\/\/mirrors.tuna.tsinghua.edu.cn\/help\/ubuntu\/\" target=\"_blank\" rel=\"noopener\">ubuntu18\u66f4\u65b0\u6e90\uff1ahttps:\/\/mirrors.tuna.tsinghua.edu.cn\/help\/ubuntu\/<\/a>\n\u9009\u62e9ubuntu18.04\uff1a\n<figure id=\"attachment_mmd_2295\" class=\"wp-block-image alignnone\"><img width=\"1007\" height=\"448\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/2021\/12\/20200627105001960.png\" class=\"attachment-full size-full\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" decoding=\"async\" loading=\"lazy\" align=\"none\" width=\"1007\" srcset=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/2021\/12\/20200627105001960.png 1007w, http:\/\/nick.txtcc.com\/wp-content\/uploads\/2021\/12\/20200627105001960-300x133.png 300w, http:\/\/nick.txtcc.com\/wp-content\/uploads\/2021\/12\/20200627105001960-768x342.png 768w, http:\/\/nick.txtcc.com\/wp-content\/uploads\/2021\/12\/20200627105001960-830x369.png 830w\" sizes=\"auto, (max-width: 1007px) 100vw, 1007px\" \/><\/figure>\n\u4fee\u6539\u6743\u9650\uff0c\u590d\u5236\u5230 source.list \u4e2d\uff0c\u4fdd\u5b58\u9000\u51fa\u3002<\/p>\n<pre class=\"hljs cpp\"><code class=\"language-bash\">sudo chmod &lt;span class=&quot;hljs-number&quot;&gt;777&lt;\/span&gt; \/etc\/apt\/sources.&lt;span class=&quot;hljs-built_in&quot;&gt;list&lt;\/span&gt;\nvi \/etc\/apt\/sources.&lt;span class=&quot;hljs-built_in&quot;&gt;list&lt;\/span&gt;<\/code><\/pre>\n<h4 id=\"esunhd\" class=\"markdown-heading\"><a class=\"reference-link\" name=\"esunhd\"><\/a>2. \u9996\u5148\u66f4\u65b0\u7cfb\u7edf<\/h4>\n<p class=\"line\">\u66f4\u65b0\u547d\u4ee4\uff1a<\/p>\n<pre class=\"hljs sql\"><code class=\"language-bash\"> sudo apt-get &lt;span class=&quot;hljs-keyword&quot;&gt;update&lt;\/span&gt; &amp;&amp; sudo apt-&lt;span class=&quot;hljs-keyword&quot;&gt;get&lt;\/span&gt; &lt;span class=&quot;hljs-keyword&quot;&gt;install&lt;\/span&gt; -y bzip2 &lt;span class=&quot;hljs-keyword&quot;&gt;build&lt;\/span&gt;-essential libc6-dev-i386 ia32-libs lib32z1-dev libncurses5 libncurses5-dev u-boot-tools vim squashfs-tools gettext git zip subversion bc<\/code><\/pre>\n<p class=\"line\">\u9519\u8bef\u63d0\u793a\uff1aPackage \u2018ia32-libs\u2019 has no installation candidate<\/p>\n<pre class=\"hljs sql\"><code class=\"language-bash\">dopi@ubuntu:\/home\/ev200_tools$ sudo apt-get &lt;span class=&quot;hljs-keyword&quot;&gt;update&lt;\/span&gt; &amp;&amp; sudo apt-&lt;span class=&quot;hljs-keyword&quot;&gt;get&lt;\/span&gt; &lt;span class=&quot;hljs-keyword&quot;&gt;install&lt;\/span&gt; -y bzip2 &lt;span class=&quot;hljs-keyword&quot;&gt;build&lt;\/span&gt;-essential libc6-dev-i386 ia32-libs lib32z1-dev libncurses5 libncurses5-dev u-boot-tools vim squashfs-tools gettext git zip subversion bc                                                                                                                        \nReading &lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt; lists... Done\nReading &lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt; lists... Done\nBuilding dependency tree       \nReading state information... Done\n&lt;span class=&quot;hljs-keyword&quot;&gt;Package&lt;\/span&gt; ia32-libs &lt;span class=&quot;hljs-keyword&quot;&gt;is&lt;\/span&gt; &lt;span class=&quot;hljs-keyword&quot;&gt;not&lt;\/span&gt; available, but &lt;span class=&quot;hljs-keyword&quot;&gt;is&lt;\/span&gt; referred &lt;span class=&quot;hljs-keyword&quot;&gt;to&lt;\/span&gt; &lt;span class=&quot;hljs-keyword&quot;&gt;by&lt;\/span&gt; another package.\nThis may mean that the &lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt; &lt;span class=&quot;hljs-keyword&quot;&gt;is&lt;\/span&gt; &lt;span class=&quot;hljs-keyword&quot;&gt;missing&lt;\/span&gt;, has been obsoleted, &lt;span class=&quot;hljs-keyword&quot;&gt;or&lt;\/span&gt;\n&lt;span class=&quot;hljs-keyword&quot;&gt;is&lt;\/span&gt; &lt;span class=&quot;hljs-keyword&quot;&gt;only&lt;\/span&gt; available &lt;span class=&quot;hljs-keyword&quot;&gt;from&lt;\/span&gt; another &lt;span class=&quot;hljs-keyword&quot;&gt;source&lt;\/span&gt;\nHowever the &lt;span class=&quot;hljs-keyword&quot;&gt;following&lt;\/span&gt; packages &lt;span class=&quot;hljs-keyword&quot;&gt;replace&lt;\/span&gt; it:\n  lib32ncurses5 lib32z1\nE: &lt;span class=&quot;hljs-keyword&quot;&gt;Package&lt;\/span&gt; &lt;span class=&quot;hljs-string&quot;&gt;'ia32-libs'&lt;\/span&gt; has &lt;span class=&quot;hljs-keyword&quot;&gt;no&lt;\/span&gt; installation candidate<\/code><\/pre>\n<p class=\"line\">\u89e3\u51b3\u65b9\u6cd5\uff1a<\/p>\n<pre class=\"hljs sql\"><code class=\"language-bash\">sudo apt-get &lt;span class=&quot;hljs-keyword&quot;&gt;install&lt;\/span&gt; lib32z1 lib32ncurses5 \nsudo apt-&lt;span class=&quot;hljs-keyword&quot;&gt;get&lt;\/span&gt; &lt;span class=&quot;hljs-keyword&quot;&gt;install&lt;\/span&gt; lib32stdc++&lt;span class=&quot;hljs-number&quot;&gt;6&lt;\/span&gt;<\/code><\/pre>\n<p class=\"line\">\u53bb\u6389ia32-libs\uff0c\u91cd\u65b0\u66f4\u65b0\u7cfb\u7edf\uff1a<\/p>\n<pre class=\"hljs sql\"><code class=\"language-bash\">sudo apt-get &lt;span class=&quot;hljs-keyword&quot;&gt;update&lt;\/span&gt; &amp;&amp; sudo apt-&lt;span class=&quot;hljs-keyword&quot;&gt;get&lt;\/span&gt; &lt;span class=&quot;hljs-keyword&quot;&gt;install&lt;\/span&gt; -y bzip2 &lt;span class=&quot;hljs-keyword&quot;&gt;build&lt;\/span&gt;-essential libc6-dev-i386  lib32z1-dev libncurses5 libncurses5-dev u-boot-tools vim squashfs-tools gettext git zip subversion bc<\/code><\/pre>\n<p class=\"line\">\u63d0\u793a\u66f4\u65b0\u5b8c\u6210\uff1a<\/p>\n<pre class=\"hljs css\"><code class=\"language-bash\">&lt;span class=&quot;hljs-selector-tag&quot;&gt;Reading&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;package&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;lists&lt;\/span&gt;... &lt;span class=&quot;hljs-selector-tag&quot;&gt;Done&lt;\/span&gt;\n&lt;span class=&quot;hljs-selector-tag&quot;&gt;Reading&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;package&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;lists&lt;\/span&gt;... &lt;span class=&quot;hljs-selector-tag&quot;&gt;Done&lt;\/span&gt;\n&lt;span class=&quot;hljs-selector-tag&quot;&gt;Building&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;dependency&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;tree&lt;\/span&gt;       \n&lt;span class=&quot;hljs-selector-tag&quot;&gt;Reading&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;state&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;information&lt;\/span&gt;... &lt;span class=&quot;hljs-selector-tag&quot;&gt;Done&lt;\/span&gt;\n&lt;span class=&quot;hljs-selector-tag&quot;&gt;bc&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;is&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;already&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;the&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;newest&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;version&lt;\/span&gt; (1&lt;span class=&quot;hljs-selector-class&quot;&gt;.07&lt;\/span&gt;\n&lt;span class=&quot;hljs-selector-class&quot;&gt;.1-2&lt;\/span&gt;).\n&lt;span class=&quot;hljs-selector-tag&quot;&gt;build-essential&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;is&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;already&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;the&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;newest&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;version&lt;\/span&gt; (12&lt;span class=&quot;hljs-selector-class&quot;&gt;.4ubuntu1&lt;\/span&gt;).\n&lt;span class=&quot;hljs-selector-tag&quot;&gt;lib32z1-dev&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;is&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;already&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;the&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;newest&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;version&lt;\/span&gt; (1&lt;span class=&quot;hljs-selector-pseudo&quot;&gt;:1.2.11.dfsg-0ubuntu2).&lt;\/span&gt;\n&lt;span class=&quot;hljs-selector-tag&quot;&gt;libc6-dev-i386&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;is&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;already&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;the&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;newest&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;version&lt;\/span&gt; (2&lt;span class=&quot;hljs-selector-class&quot;&gt;.27-3ubuntu1&lt;\/span&gt;).\n&lt;span class=&quot;hljs-selector-tag&quot;&gt;zip&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;is&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;already&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;the&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;newest&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;version&lt;\/span&gt; (3&lt;span class=&quot;hljs-selector-class&quot;&gt;.0-11build1&lt;\/span&gt;).\n&lt;span class=&quot;hljs-selector-tag&quot;&gt;subversion&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;is&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;already&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;the&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;newest&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;version&lt;\/span&gt; (1&lt;span class=&quot;hljs-selector-class&quot;&gt;.9&lt;\/span&gt;\n&lt;span class=&quot;hljs-selector-class&quot;&gt;.7-4ubuntu1&lt;\/span&gt;).\n&lt;span class=&quot;hljs-selector-tag&quot;&gt;bzip2&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;is&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;already&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;the&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;newest&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;version&lt;\/span&gt; (1&lt;span class=&quot;hljs-selector-class&quot;&gt;.0&lt;\/span&gt;\n&lt;span class=&quot;hljs-selector-class&quot;&gt;.6-8&lt;\/span&gt;\n&lt;span class=&quot;hljs-selector-class&quot;&gt;.1ubuntu0&lt;\/span&gt;\n&lt;span class=&quot;hljs-selector-class&quot;&gt;.2&lt;\/span&gt;).\n&lt;span class=&quot;hljs-selector-tag&quot;&gt;gettext&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;is&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;already&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;the&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;newest&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;version&lt;\/span&gt; (0&lt;span class=&quot;hljs-selector-class&quot;&gt;.19&lt;\/span&gt;\n&lt;span class=&quot;hljs-selector-class&quot;&gt;.8&lt;\/span&gt;\n&lt;span class=&quot;hljs-selector-class&quot;&gt;.1-6ubuntu0&lt;\/span&gt;\n&lt;span class=&quot;hljs-selector-class&quot;&gt;.3&lt;\/span&gt;).\n&lt;span class=&quot;hljs-selector-tag&quot;&gt;git&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;is&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;already&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;the&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;newest&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;version&lt;\/span&gt; (1&lt;span class=&quot;hljs-selector-pseudo&quot;&gt;:2.17.1-1ubuntu0.7).&lt;\/span&gt;\n&lt;span class=&quot;hljs-selector-tag&quot;&gt;libncurses5&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;is&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;already&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;the&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;newest&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;version&lt;\/span&gt; (6&lt;span class=&quot;hljs-selector-class&quot;&gt;.1-1ubuntu1&lt;\/span&gt;\n&lt;span class=&quot;hljs-selector-class&quot;&gt;.18&lt;\/span&gt;\n&lt;span class=&quot;hljs-selector-class&quot;&gt;.04&lt;\/span&gt;).\n&lt;span class=&quot;hljs-selector-tag&quot;&gt;libncurses5-dev&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;is&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;already&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;the&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;newest&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;version&lt;\/span&gt; (6&lt;span class=&quot;hljs-selector-class&quot;&gt;.1-1ubuntu1&lt;\/span&gt;\n&lt;span class=&quot;hljs-selector-class&quot;&gt;.18&lt;\/span&gt;\n&lt;span class=&quot;hljs-selector-class&quot;&gt;.04&lt;\/span&gt;).\n&lt;span class=&quot;hljs-selector-tag&quot;&gt;squashfs-tools&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;is&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;already&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;the&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;newest&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;version&lt;\/span&gt; (1&lt;span class=&quot;hljs-selector-pseudo&quot;&gt;:4.3-6ubuntu0.18.04.1).&lt;\/span&gt;\n&lt;span class=&quot;hljs-selector-tag&quot;&gt;u-boot-tools&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;is&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;already&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;the&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;newest&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;version&lt;\/span&gt; (2019&lt;span class=&quot;hljs-selector-class&quot;&gt;.07&lt;\/span&gt;+&lt;span class=&quot;hljs-selector-tag&quot;&gt;dfsg-1ubuntu4&lt;\/span&gt;~18&lt;span class=&quot;hljs-selector-class&quot;&gt;.04&lt;\/span&gt;\n&lt;span class=&quot;hljs-selector-class&quot;&gt;.1&lt;\/span&gt;).\n&lt;span class=&quot;hljs-selector-tag&quot;&gt;vim&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;is&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;already&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;the&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;newest&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;version&lt;\/span&gt; (2&lt;span class=&quot;hljs-selector-pseudo&quot;&gt;:8.0.1453-1ubuntu1.3).&lt;\/span&gt;\n0 &lt;span class=&quot;hljs-selector-tag&quot;&gt;upgraded&lt;\/span&gt;, 0 &lt;span class=&quot;hljs-selector-tag&quot;&gt;newly&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;installed&lt;\/span&gt;, 0 &lt;span class=&quot;hljs-selector-tag&quot;&gt;to&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;remove&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;and&lt;\/span&gt; 95 &lt;span class=&quot;hljs-selector-tag&quot;&gt;not&lt;\/span&gt; &lt;span class=&quot;hljs-selector-tag&quot;&gt;upgraded&lt;\/span&gt;.<\/code><\/pre>\n<h4 id=\"7vzov1\" class=\"markdown-heading\"><a class=\"reference-link\" name=\"7vzov1\"><\/a>3. \u628aarm-himix100-linux.tgz\u62f7\u8d1d\u5230ubuntu18\u4e2d<\/h4>\n<p class=\"line\">\u4e0b\u8f7d\u7684arm-himix100-linux.tgz\u62f7\u8d1d\u5230ubuntu18\u4e2d\uff0c\u6211\u662f\u901a\u8fc7vmare\u7684\u5171\u4eab\u6587\u4ef6\u5939\u62f7\u8d1d\u5230ubuntu18\u4e2d\u7684\u3002<\/p>\n<pre class=\"hljs ruby\"><code class=\"language-bash\"> dopi@ubuntu&lt;span class=&quot;hljs-symbol&quot;&gt;:\/mnt\/hgfs&lt;\/span&gt;$ cd dopi-linux\/\ndopi@ubuntu&lt;span class=&quot;hljs-symbol&quot;&gt;:\/mnt\/hgfs\/dopi-linux&lt;\/span&gt;$ ls\narm-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux.tgz\ndopi@ubuntu&lt;span class=&quot;hljs-symbol&quot;&gt;:\/mnt\/hgfs\/dopi-linux&lt;\/span&gt;$ cp arm-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux.tgz \/home\/ev200_tools\/<\/code><\/pre>\n<h4 id=\"7j7j81\" class=\"markdown-heading\"><a class=\"reference-link\" name=\"7j7j81\"><\/a>4. \u89e3\u538b\u00a0<code>tar -zxvf arm-himix100-linux.tgz<\/code><\/h4>\n<pre class=\"hljs ruby\"><code class=\"language-bash\">dopi@ubuntu&lt;span class=&quot;hljs-symbol&quot;&gt;:\/mnt\/hgfs\/dopi-linux&lt;\/span&gt;$ cd \/home\/ev200_tools\/\ndopi@ubuntu&lt;span class=&quot;hljs-symbol&quot;&gt;:\/home\/ev200_tools&lt;\/span&gt;$ ls\narm-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux.tgz\ndopi@ubuntu&lt;span class=&quot;hljs-symbol&quot;&gt;:\/home\/ev200_tools&lt;\/span&gt;$ tar -zxvf arm-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux.tgz \narm-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux\/\narm-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux\/arm-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux.install\narm-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux\/runtime_uclibc.tgz\narm-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux\/arm-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux.tar.bz2\narm-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux\/readme.txt<\/code><\/pre>\n<h4 id=\"85kp56\" class=\"markdown-heading\"><a class=\"reference-link\" name=\"85kp56\"><\/a>4. \u5b89\u88c5<\/h4>\n<p class=\"line\">\u5b89\u88c5\u547d\u4ee4<\/p>\n<pre class=\"hljs bash\"><code class=\"language-bash\">  &lt;span class=&quot;hljs-built_in&quot;&gt;cd&lt;\/span&gt; arm-himix100-linux\/\n  sudo .\/arm-himix100-linux.install<\/code><\/pre>\n<p class=\"line\">\u6267\u884c\u8fc7\u7a0b\uff0c\u5230\u6b64\u5b89\u88c5\u4ea4\u53c9\u7f16\u8bd1\u5de5\u5177\u94fe\u5b8c\u6210\u3002<\/p>\n<pre class=\"hljs ruby\"><code class=\"language-bash\">dopi@ubuntu&lt;span class=&quot;hljs-symbol&quot;&gt;:\/home\/ev200_tools&lt;\/span&gt;$ ls\narm-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux  arm-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux.tgz\ndopi@ubuntu&lt;span class=&quot;hljs-symbol&quot;&gt;:\/home\/ev200_tools&lt;\/span&gt;$ cd arm-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux\/\ndopi@ubuntu&lt;span class=&quot;hljs-symbol&quot;&gt;:\/home\/ev200_tools\/arm-himix100-linux&lt;\/span&gt;$ sudo .\/arm-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux.install\nInstalling HuaWei LiteOS Linux at \/opt\/hisi-linux\/x86-arm\nDelete exist directory...\nExtract cross tools ...\nskip export toolchains path<\/code><\/pre>\n<p class=\"line\">\u901a\u8fc7\u67e5\u8be2\u7248\u672c\u53f7\uff0c\u786e\u8ba4\u662f\u5426\u5b89\u88c5\u6210\u529f\uff1a\u00a0<code>arm-himix100-linux-gcc -v<\/code><\/p>\n<pre class=\"hljs ruby\"><code class=\"language-bash\">dopi@ubuntu&lt;span class=&quot;hljs-symbol&quot;&gt;:\/home\/ev200_tools\/arm-himix100-linux&lt;\/span&gt;$ arm-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux-gcc -v\nUsing built-&lt;span class=&quot;hljs-keyword&quot;&gt;in&lt;\/span&gt; specs.\nCOLLECT_GCC=arm-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux-gcc\nCOLLECT_LTO_WRAPPER=&lt;span class=&quot;hljs-regexp&quot;&gt;\/opt\/hisi&lt;\/span&gt;-linux\/x86-arm\/arm-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux\/host_bin\/..\/libexec\/gcc\/arm-linux-uclibceabi\/&lt;span class=&quot;hljs-number&quot;&gt;6.3&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;\/lto-wrapper\n&lt;span class=&quot;hljs-symbol&quot;&gt;Target:&lt;\/span&gt; arm-linux-uclibceabi\nConfigured &lt;span class=&quot;hljs-symbol&quot;&gt;with:&lt;\/span&gt; \/home\/sying\/SDK_CPU_UNIFIED\/build\/script\/arm-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux\/arm_himix100_build_dir\/src\/gcc-&lt;span class=&quot;hljs-number&quot;&gt;6.3&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;\/configure --host=i386-redhat-linux --build=i386-redhat-linux --target=arm-linux-uclibceabi --prefix=&lt;span class=&quot;hljs-regexp&quot;&gt;\/home\/sying&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/SDK_CPU_UNIFIED\/build&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/script\/arm&lt;\/span&gt;-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux\/arm_himix100_build_dir\/install --enable-threads --disable-libmudflap --disable-libssp --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --enable-shared --enable-lto --enable-symvers=gnu --enable-__cxa_atexit --disable-libatomic --disable-nls --enable-clocale=gnu --enable-extra-hisi-multilibs --with-sysroot=&lt;span class=&quot;hljs-regexp&quot;&gt;\/home\/sying&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/SDK_CPU_UNIFIED\/build&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/script\/arm&lt;\/span&gt;-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux\/arm_himix100_build_dir\/install\/target --with-build-sysroot=&lt;span class=&quot;hljs-regexp&quot;&gt;\/home\/sying&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/SDK_CPU_UNIFIED\/build&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/script\/arm&lt;\/span&gt;-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux\/arm_himix100_build_dir\/install\/target --with-gmp=&lt;span class=&quot;hljs-regexp&quot;&gt;\/home\/sying&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/SDK_CPU_UNIFIED\/build&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/script\/arm&lt;\/span&gt;-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux\/arm_himix100_build_dir\/obj\/host-libs\/usr --with-mpfr=&lt;span class=&quot;hljs-regexp&quot;&gt;\/home\/sying&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/SDK_CPU_UNIFIED\/build&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/script\/arm&lt;\/span&gt;-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux\/arm_himix100_build_dir\/obj\/host-libs\/usr --with-mpc=&lt;span class=&quot;hljs-regexp&quot;&gt;\/home\/sying&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/SDK_CPU_UNIFIED\/build&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/script\/arm&lt;\/span&gt;-himix10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-linux\/arm_himix100_build_dir\/obj\/host-libs\/usr --disable-libgomp --disable-libquadmath --disable-fixed-point --disable-libsanitizer --disable-libitm --enable-poison-system-directories --with-pkgversion=&lt;span class=&quot;hljs-string&quot;&gt;'HC&amp;C V100R002C00B032_20190114'&lt;\/span&gt;\nThread &lt;span class=&quot;hljs-symbol&quot;&gt;model:&lt;\/span&gt; posix\ngcc version &lt;span class=&quot;hljs-number&quot;&gt;6.3&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt; (HC&amp;C V100R002C00B032_20190114) <\/code><\/pre>\n<h4 id=\"6kcph8\" class=\"markdown-heading\"><a class=\"reference-link\" name=\"6kcph8\"><\/a>5. \u6dfb\u52a0\u5230\u73af\u5883\u53d8\u91cf\u4e2d<\/h4>\n<pre class=\"hljs bash\"><code class=\"language-bash\">&lt;span class=&quot;hljs-built_in&quot;&gt;export&lt;\/span&gt; path=\/opt\/hisi-linux\/x86-arm\/arm-himix100-linux\/bin\n&lt;span class=&quot;hljs-built_in&quot;&gt;source&lt;\/span&gt; \/etc\/profile<\/code><\/pre>","protected":false},"excerpt":{"rendered":"<p>\u51c6\u5907\u5de5\u4f5c \u4e0b\u8f7d\u4ea4\u53c9\u7f16\u8bd1\u5de5\u5177\uff1a \u767e\u5ea6\u7f51\u76d8\uff1a\u94fe\u63a5\uff1a<a href=\"https:\/\/pan.baidu.com\/s\/1g4frOXmSnQU1NsOj8Zu60A\">https:\/\/pan.baidu.com\/s\/1g4frOXmSnQU1NsOj8Zu60A<\/a> \u63d0\u53d6\u7801\uff1ardap ubuntu\u7248\u672c\uff1a vmare\u5b89\u88c5\u7684ub&#46;&#46;&#46;<\/p>","protected":false},"author":1,"featured_media":2295,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,39],"tags":[],"class_list":["post-2294","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-scm"],"_links":{"self":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/2294","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/comments?post=2294"}],"version-history":[{"count":1,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/2294\/revisions"}],"predecessor-version":[{"id":2296,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/2294\/revisions\/2296"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/media\/2295"}],"wp:attachment":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/media?parent=2294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/categories?post=2294"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/tags?post=2294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}