{"id":118594,"date":"2026-10-27T19:08:34","date_gmt":"2026-10-27T11:08:34","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/118594.html"},"modified":"2026-10-27T19:08:34","modified_gmt":"2026-10-27T11:08:34","slug":"%e3%80%90%e4%bf%a1%e5%88%9b%e3%80%91%e9%93%b6%e6%b2%b3%e9%ba%92%e9%ba%9fv10-arm64%ef%bd%9c%e9%80%9a%e8%bf%87%e5%8f%af%e8%81%94%e7%bd%91%e7%bb%88%e7%ab%af%e5%90%91%e9%9a%94%e7%a6%bb%e6%9c%8d%e5%8a%a1","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/118594.html","title":{"rendered":"\u3010\u4fe1\u521b\u3011\u94f6\u6cb3\u9e92\u9e9fV10 arm64\uff5c\u901a\u8fc7\u53ef\u8054\u7f51\u7ec8\u7aef\u5411\u9694\u79bb\u670d\u52a1\u5668\u5b89\u88c5\u8f6f\u4ef6\u53ca\u4f9d\u8d56\u5b8c\u6574\u5b9e\u64cd\u624b\u518c\uff08\u5168\u7a0b\u4ee5 zstd \u4e3e\u4f8b\uff09"},"content":{"rendered":"<p>        \/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/<br \/>\n        #content_views .toc,<br \/>\n        \/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/<br \/>\n        #content_views.markdown_views &gt; p:empty:has(+ .toc),<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty,<br \/>\n        \/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/<br \/>\n        #content_views.htmledit_views #main-toc,<br \/>\n        #content_views.htmledit_views #hr-toc,<br \/>\n        #content_views.htmledit_views p[id*=\\&#8221;-toc\\&#8221;] {<br \/>\n          display: none !important;<br \/>\n        }<br \/>\n        \/* \u76ee\u5f55\u53bb\u6389\u540e\uff0c\u7d27\u8ddf\u7684\u9996\u4e2a\u6807\u9898\u4e0d\u518d\u591a\u51fa\u4e00\u5757\u4e0a\u8fb9\u8ddd *\/<br \/>\n        #content_views.markdown_views &gt; .toc + h1,<br \/>\n        #content_views.markdown_views &gt; .toc + h2,<br \/>\n        #content_views.markdown_views &gt; .toc + h3,<br \/>\n        #content_views.markdown_views &gt; .toc + h4,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h1,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h2,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h3,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h4 {<br \/>\n          margin-top: 0 !important;<br \/>\n        }<\/p>\n<h2>\u3010\u4fe1\u521b\u3011\u94f6\u6cb3\u9e92\u9e9fV10 arm64&#xff5c;\u901a\u8fc7\u53ef\u8054\u7f51\u7ec8\u7aef\u5411\u9694\u79bb\u670d\u52a1\u5668\u5b89\u88c5\u8f6f\u4ef6\u53ca\u4f9d\u8d56\u5b8c\u6574\u5b9e\u64cd\u624b\u518c&#xff08;\u5168\u7a0b\u4ee5 zstd \u4e3e\u4f8b&#xff09;<\/h2>\n<p>\u524d\u7f6e\u786c\u6027\u89c4\u5219&#xff08;\u4e09\u4e2a\u573a\u666f\u5171\u7528&#xff09;<\/p>\n<p>\u8054\u7f51\u64cd\u4f5c\u4e3b\u673a&#xff1a;\u548c\u79bb\u7ebf\u670d\u52a1\u5668\u5b8c\u5168\u4e00\u81f4&#xff1a;\u94f6\u6cb3\u9e92\u9e9f V10\u3001\u76f8\u540cSP\u7248\u672c\u3001arm64(aarch64)&#xff0c;\u67b6\u6784\/\u7248\u672c\u4e0d\u4e00\u81f4&#xff0c;deb\u65e0\u6cd5\u5b89\u88c5\u3002 \u6700\u7ec8\u4ea4\u4ed8\u7269&#xff1a;deb\u79bb\u7ebf\u5305\u96c6\u5408 &#043; \u79bb\u7ebf\u672c\u5730APT\u6e90\u65b9\u6848&#xff0c;\u5b9e\u73b0\u53e6\u4e00\u53f0\u673a\u5668\u76f4\u63a5apt\u5b89\u88c5\u3002<\/p>\n<hr \/>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261027110833-6ae086314b4f9.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" width=\"400\" \/><\/p>\n<\/p>\n<h4>\u6587\u7ae0\u76ee\u5f55<\/h4>\n<ul>\n<li>\u3010\u4fe1\u521b\u3011\u94f6\u6cb3\u9e92\u9e9fV10 arm64&#xff5c;\u901a\u8fc7\u53ef\u8054\u7f51\u7ec8\u7aef\u5411\u9694\u79bb\u670d\u52a1\u5668\u5b89\u88c5\u8f6f\u4ef6\u53ca\u4f9d\u8d56\u5b8c\u6574\u5b9e\u64cd\u624b\u518c&#xff08;\u5168\u7a0b\u4ee5 zstd \u4e3e\u4f8b&#xff09;<\/li>\n<li>\u573a\u666f1&#xff1a;\u672c\u673a**\u5df2\u7ecf\u88c5\u597d zstd**&#xff0c;\u5bfc\u51fa\u6574\u5957\u53ef\u79fb\u690d\u5b89\u88c5\u5305<\/li>\n<li>\n<ul>\n<li>1.1 \u4f7f\u7528 apt\u2011clone&#xff08;\u5b98\u65b9\u5907\u4efd\u65b9\u6848&#xff0c;\u63a8\u8350&#xff09;<\/li>\n<li>\n<ul>\n<li>\u8054\u7f51\u673a\u64cd\u4f5c<\/li>\n<li>\u62f7\u8d1d\u5230\u79bb\u7ebf\u670d\u52a1\u5668\u6062\u590d<\/li>\n<\/ul>\n<\/li>\n<li>1.2 \u7b80\u6613\u65b9\u6848&#xff1a;\u7f13\u5b58\u91cd\u65b0\u4e0b\u8f7d\u5168\u5957&#xff08;apt reinstall&#xff09;<\/li>\n<\/ul>\n<\/li>\n<li>\u573a\u666f2&#xff1a;\u4ece\u5b98\u65b9\u6e90\u5bfc\u51fa zstd \u7684**\u5b8c\u6574\u9012\u5f52\u4f9d\u8d56\u5305&#xff08;\u672c\u673a\u88c5\u6ca1\u88c5\u90fd\u53ef\u4ee5&#xff09;**<\/li>\n<li>\n<ul>\n<li>\u8054\u7f51\u9e92\u9e9farm64\u64cd\u4f5c<\/li>\n<li>\u62f7\u8d1d\u5230\u79bb\u7ebf\u670d\u52a1\u5668\u4e34\u65f6\u6279\u91cf\u5b89\u88c5<\/li>\n<\/ul>\n<\/li>\n<li>\u573a\u666f3&#xff1a;\u7b2c\u4e09\u65b9\u72ec\u7acbdeb\u5305&#xff08;\u4e3e\u4f8b\u5047\u8bbe\u7b2c\u4e09\u65b9\u5305\u540d\u53eb &#096;zstd\u2011custom_1.5.5\u2011kylin_arm64.deb&#096;&#xff09;<\/li>\n<li>\n<ul>\n<li>\u6b65\u9aa41&#xff1a;\u8054\u7f51\u540c\u7248\u672carm64\u9e92\u9e9f\u64cd\u4f5c<\/li>\n<li>\u79bb\u7ebf\u670d\u52a1\u5668\u4e34\u65f6\u5b89\u88c5\u65b9\u5f0f<\/li>\n<\/ul>\n<\/li>\n<li>\u8fdb\u9636\u65b9\u6848&#xff1a;\u628a\u4e00\u5806deb\u505a\u6210**\u6c38\u4e45\u672c\u5730APT\u6e90&#xff08;\u4e00\u52b3\u6c38\u9038&#xff09;**<\/li>\n<li>\n<ul>\n<li>\u5728\u79bb\u7ebf\u670d\u52a1\u5668\u64cd\u4f5c<\/li>\n<li>\u4f7f\u7528\u65b9\u5f0f&#xff08;\u4ee5\u540e\u5b89\u88c5\u53ea\u9700\u8981\u8fd9\u4e00\u884c&#xff09;<\/li>\n<\/ul>\n<\/li>\n<li>\u5bf9\u6bd4\u4e09\u5f20\u573a\u666f\u533a\u522b\u603b\u7ed3&#xff08;\u65b9\u4fbf\u8bb0\u5fc6&#xff09;<\/li>\n<li>\u8865\u5145\u4f01\u4e1a\u7cbe\u51c6\u79bb\u7ebf\u5de5\u5177 apt\u2011offline&#xff08;\u6700\u4f18\u751f\u4ea7\u65b9\u6848&#xff09;<\/li>\n<li>\u5168\u90e8\u547d\u4ee4\u6574\u7406\u6210**4\u4e2a\u4e00\u952e\u6267\u884cshell\u811a\u672c**&#xff1a;<\/li>\n<li>\u6574\u7406\u62104\u4e2a\u72ec\u7acb\u53ef\u76f4\u63a5\u8fd0\u884c\u7684sh\u811a\u672c<\/li>\n<li>\u94f6\u6cb3\u9e92\u9e9fV10 arm64 4\u5957\u4e00\u952e\u79bb\u7ebf\u6253\u5305\u811a\u672c<\/li>\n<li>\n<ul>\n<li>\u811a\u672c1&#xff1a;export_installed.sh&#xff5c;\u573a\u666f1 \u2014\u2014 \u672c\u673a**\u5df2\u7ecf\u5b89\u88c5\u597dzstd**&#xff0c;\u5b8c\u6574\u5907\u4efd\u8fc1\u79fb<\/li>\n<li>\n<ul>\n<li>\u4f7f\u7528\u793a\u4f8b<\/li>\n<\/ul>\n<\/li>\n<li>\u811a\u672c2&#xff1a;export_official.sh&#xff5c;\u573a\u666f2 \u2014\u2014 \u5b98\u65b9\u6e90\u5168\u65b0\u4e0b\u8f7d\u5b8c\u6574\u4f9d\u8d56\u94fe&#xff08;\u672c\u673a\u88c5\u6ca1\u88c5\u90fd\u80fd\u7528&#xff09;<\/li>\n<li>\n<ul>\n<li>\u4f7f\u7528\u793a\u4f8b<\/li>\n<\/ul>\n<\/li>\n<li>\u811a\u672c3&#xff1a;export_custom_deb.sh&#xff5c;\u573a\u666f3 \u2014\u2014 \u7b2c\u4e09\u65b9\u72ec\u7acbdeb\u8865\u9f50\u5b98\u65b9\u4f9d\u8d56<\/li>\n<li>\n<ul>\n<li>\u4f7f\u7528\u793a\u4f8b<\/li>\n<\/ul>\n<\/li>\n<li>\u811a\u672c4&#xff1a;build_local_repo.sh&#xff5c;\u8fdb\u9636&#xff1a;\u628adeb\u76ee\u5f55\u6784\u5efa\u6210\u6c38\u4e45\u79bb\u7ebfAPT\u6e90&#xff08;\u79bb\u7ebf\u670d\u52a1\u5668\u6267\u884c&#xff09;<\/li>\n<li>\n<ul>\n<li>\u4f7f\u7528\u793a\u4f8b&#xff08;\u79bb\u7ebf\u670d\u52a1\u5668\u64cd\u4f5c&#xff09;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\u914d\u5957\u64cd\u4f5c\u8bf4\u660e\u6587\u6863&#xff08;\u6781\u7b80\u7248&#xff09;<\/li>\n<li>\u8865\u5145\u8bf4\u660e<\/li>\n<\/ul>\n<h2>\u573a\u666f1&#xff1a;\u672c\u673a\u5df2\u7ecf\u88c5\u597d zstd&#xff0c;\u5bfc\u51fa\u6574\u5957\u53ef\u79fb\u690d\u5b89\u88c5\u5305<\/h2>\n<p>\u76ee\u6807&#xff1a;\u5f53\u524d\u673a\u5668zstd\u5df2\u7ecf\u5b89\u88c5\u5b8c\u6210&#xff0c;\u628a\u5b83\u672c\u8eab &#043; \u5b83\u8fd0\u884c\u6240\u4f9d\u8d56\u7684\u5168\u90e8deb\u6253\u5305&#xff0c;\u62f7\u8d1d\u5230\u7a7a\u767d\u79bb\u7ebf\u670d\u52a1\u5668\u90e8\u7f72\u3002<\/p>\n<h3>1.1 \u4f7f\u7528 apt\u2011clone&#xff08;\u5b98\u65b9\u5907\u4efd\u65b9\u6848&#xff0c;\u63a8\u8350&#xff09;<\/h3>\n<h4>\u8054\u7f51\u673a\u64cd\u4f5c<\/h4>\n<p><span class=\"token comment\"># 1.\u5b89\u88c5\u5907\u4efd\u5de5\u5177<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> apt-clone <span class=\"token parameter variable\">-y<\/span><\/p>\n<p><span class=\"token comment\"># 2.\u521b\u5efa\u5907\u4efd\u76ee\u5f55<\/span><br \/>\n<span class=\"token function\">mkdir<\/span> <span class=\"token parameter variable\">-p<\/span> ~\/export_zstd_installed<\/p>\n<p><span class=\"token comment\"># 3.\u5907\u4efdzstd\u4ee5\u53ca\u5b83\u5168\u90e8\u4f9d\u8d56<\/span><br \/>\napt-clone clone ~\/export_zstd_installed\/zstd_full.tar.gz &#8211;with-deps zstd<\/p>\n<p>\u6267\u884c\u5b8c\u6210\u540e\u5f97\u5230 zstd_full.tar.gz&#xff0c;\u8fd9\u4e2a\u538b\u7f29\u5305\u5305\u542b\u6240\u6709\u9700\u8981\u7684deb\u5305\u3002<\/p>\n<h4>\u62f7\u8d1d\u5230\u79bb\u7ebf\u670d\u52a1\u5668\u6062\u590d<\/h4>\n<li>U\u76d8\u628a zstd_full.tar.gz \u4f20\u5230\u79bb\u7ebf\u670d\u52a1\u5668<\/li>\n<li>\u79bb\u7ebf\u670d\u52a1\u5668\u6267\u884c\u6062\u590d&#xff1a;<\/li>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> apt-clone <span class=\"token parameter variable\">-y<\/span><br \/>\napt-clone restore zstd_full.tar.gz<\/p>\n<h3>1.2 \u7b80\u6613\u65b9\u6848&#xff1a;\u7f13\u5b58\u91cd\u65b0\u4e0b\u8f7d\u5168\u5957&#xff08;apt reinstall&#xff09;<\/h3>\n<p>\u5982\u679c\u4e0d\u60f3\u7528apt\u2011clone&#xff1a;<\/p>\n<p><span class=\"token function\">mkdir<\/span> <span class=\"token parameter variable\">-p<\/span> ~\/export_zstd_installed<br \/>\n<span class=\"token comment\"># &#8211;download-only \u53ea\u4e0b\u8f7d\u4e0d\u5b89\u88c5&#xff0c;\u5f3a\u5236\u91cd\u65b0\u62c9\u53d6\u5b89\u88c5\u5305<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> reinstall <span class=\"token parameter variable\">-d<\/span> zstd<br \/>\n<span class=\"token comment\"># \u590d\u5236\u7f13\u5b58\u5185\u5168\u90e8deb<\/span><br \/>\n<span class=\"token function\">cp<\/span> \/var\/cache\/apt\/archives\/*.deb ~\/export_zstd_installed\/<\/p>\n<p>\u7f3a\u70b9&#xff1a;apt reinstall\u53ea\u4f1a\u4e0b\u8f7d\u672c\u673a\u5668\u7f3a\u5931\u66f4\u65b0\u7684\u5305&#xff0c;\u5982\u679c\u672c\u673a\u6240\u6709\u5305\u90fd\u662f\u6700\u65b0\u5b8c\u597d\u72b6\u6001&#xff0c;\u7f13\u5b58\u53ef\u80fd\u4e3a\u7a7a&#xff1b;\u8fd9\u79cd\u60c5\u51b5\u6539\u7528\u573a\u666f2\u7684apt\u2011rdepends\u5f3a\u5236\u9012\u5f52\u62c9\u53d6\u3002<\/p>\n<hr \/>\n<h2>\u573a\u666f2&#xff1a;\u4ece\u5b98\u65b9\u6e90\u5bfc\u51fa zstd \u7684\u5b8c\u6574\u9012\u5f52\u4f9d\u8d56\u5305&#xff08;\u672c\u673a\u88c5\u6ca1\u88c5\u90fd\u53ef\u4ee5&#xff09;<\/h2>\n<p>\u9002\u5408&#xff1a;\u6211\u8981\u5168\u65b0\u7ed9\u79bb\u7ebf\u670d\u52a1\u5668\u90e8\u7f72zstd&#xff0c;\u4e0d\u7ba1\u672c\u673a\u6709\u6ca1\u6709\u5b89\u88c5&#xff0c;\u5f3a\u5236\u4e0b\u8f7d\u5b8c\u6574\u4f9d\u8d56\u94fe\u6240\u6709deb\u3002<\/p>\n<h3>\u8054\u7f51\u9e92\u9e9farm64\u64cd\u4f5c<\/h3>\n<p><span class=\"token comment\"># 1.\u5b89\u88c5\u4f9d\u8d56\u89e3\u6790\u5de5\u5177<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> apt-rdepends <span class=\"token parameter variable\">-y<\/span><\/p>\n<p><span class=\"token comment\"># 2.\u5efa\u7acb\u5bfc\u51fa\u6587\u4ef6\u5939<\/span><br \/>\n<span class=\"token function\">mkdir<\/span> <span class=\"token parameter variable\">-p<\/span> ~\/export_zstd_official<br \/>\n<span class=\"token builtin class-name\">cd<\/span> ~\/export_zstd_official<\/p>\n<p><span class=\"token comment\"># 3.\u9012\u5f52\u83b7\u53d6\u5168\u90e8\u4f9d\u8d56\u5305\u540d&#xff0c;\u53bb\u91cd<\/span><br \/>\napt-rdepends zstd <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <span class=\"token parameter variable\">-v<\/span> <span class=\"token string\">&#034;^ &#034;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">sort<\/span> <span class=\"token parameter variable\">-u<\/span> <span class=\"token operator\">&gt;<\/span> pkg_list.txt<\/p>\n<p><span class=\"token comment\"># 4.\u6279\u91cf\u4e0b\u8f7d\u6bcf\u4e00\u4e2adeb<\/span><br \/>\n<span class=\"token function\">cat<\/span> pkg_list.txt <span class=\"token operator\">|<\/span> <span class=\"token function\">xargs<\/span> <span class=\"token function\">apt<\/span> download<\/p>\n<p>\u6267\u884c\u7ed3\u675f&#xff0c;~\/export_zstd_official \u76ee\u5f55\u91cc\u9762\u5c31\u662fzstd &#043; \u5168\u90e8\u4f9d\u8d56arm64\u5b89\u88c5\u5305\u3002<\/p>\n<p>apt download&#xff1a;\u4e0d\u4f1a\u5b89\u88c5\u8f6f\u4ef6&#xff0c;\u53ea\u4f1a\u628adeb\u4e0b\u8f7d\u5230\u5f53\u524d\u76ee\u5f55\u3002<\/p>\n<h3>\u62f7\u8d1d\u5230\u79bb\u7ebf\u670d\u52a1\u5668\u4e34\u65f6\u6279\u91cf\u5b89\u88c5<\/h3>\n<p>\u628a\u6574\u4e2a\u6587\u4ef6\u5939\u590d\u5236\u5230\u79bb\u7ebf\u670d\u52a1\u5668&#xff0c;\u8fdb\u5165\u76ee\u5f55\u6267\u884c&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> dpkg <span class=\"token parameter variable\">-i<\/span> *.deb<br \/>\n<span class=\"token comment\"># \u5982\u679c\u62a5\u4f9d\u8d56\u9519\u8bef&#xff0c;\u4fee\u590d\u914d\u7f6e<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-f<\/span><br \/>\n<span class=\"token function\">sudo<\/span> dpkg <span class=\"token parameter variable\">&#8211;configure<\/span> <span class=\"token parameter variable\">-a<\/span><\/p>\n<hr \/>\n<h2>\u573a\u666f3&#xff1a;\u7b2c\u4e09\u65b9\u72ec\u7acbdeb\u5305&#xff08;\u4e3e\u4f8b\u5047\u8bbe\u7b2c\u4e09\u65b9\u5305\u540d\u53eb zstd\u2011custom_1.5.5\u2011kylin_arm64.deb&#xff09;<\/h2>\n<p>\u7279\u70b9&#xff1a;\u8fd9\u4e2adeb\u4e0d\u5728\u5b98\u65b9apt\u6e90&#xff0c;\u53cc\u51fb\/dpkg\u5b89\u88c5\u4f1a\u63d0\u793a\u7f3a\u5c11\u4e00\u5806\u4f9d\u8d56&#xff0c;\u6211\u4eec\u81ea\u52a8\u8865\u9f50\u6240\u6709\u5b98\u65b9\u4f9d\u8d56\u3002<\/p>\n<h3>\u6b65\u9aa41&#xff1a;\u8054\u7f51\u540c\u7248\u672carm64\u9e92\u9e9f\u64cd\u4f5c<\/h3>\n<li>\u5c06\u7b2c\u4e09\u65b9deb\u653e\u5230\u5de5\u4f5c\u76ee\u5f55<\/li>\n<p><span class=\"token function\">mkdir<\/span> <span class=\"token parameter variable\">-p<\/span> ~\/export_zstd_custom<br \/>\n<span class=\"token builtin class-name\">cd<\/span> ~\/export_zstd_custom<br \/>\n<span class=\"token comment\"># \u628a\u4f60\u7684\u7b2c\u4e09\u65b9deb\u590d\u5236\u5230\u6b64\u76ee\u5f55<\/span><br \/>\n<span class=\"token function\">cp<\/span> \/xxx\/zstd\u2011custom_1.5.5\u2011kylin_arm64.deb .\/<\/p>\n<li>\u8bfb\u53d6\u8fd9\u4e2adeb\u7684\u4f9d\u8d56\u5217\u8868<\/li>\n<p><span class=\"token comment\"># \u83b7\u53d6deb\u5185\u90e8\u4f9d\u8d56\u4fe1\u606f<\/span><br \/>\ndpkg-deb <span class=\"token parameter variable\">-I<\/span> zstd\u2011custom_1.5.5\u2011kylin_arm64.deb<br \/>\n<span class=\"token comment\"># \u63d0\u53d6\u9012\u5f52\u4f9d\u8d56&#xff0c;\u8f93\u51fa\u5230\u6587\u4ef6<\/span><br \/>\n<span class=\"token function\">apt-cache<\/span> depends <span class=\"token parameter variable\">&#8211;recurse<\/span> &#8211;no-recommends zstd-custom <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <span class=\"token string\">&#034;^\\\\w&#034;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">sort<\/span> <span class=\"token parameter variable\">-u<\/span> <span class=\"token operator\">&gt;<\/span> deps_list.txt<\/p>\n<li>\u6279\u91cf\u4e0b\u8f7d\u6240\u6709\u6765\u81ea\u5b98\u65b9\u6e90\u7684\u4f9d\u8d56<\/li>\n<p><span class=\"token function\">cat<\/span> deps_list.txt <span class=\"token operator\">|<\/span> <span class=\"token function\">xargs<\/span> <span class=\"token function\">apt<\/span> download<\/p>\n<p>\u6b64\u65f6\u6587\u4ef6\u5939\u5185\u5bb9&#xff1a;<\/p>\n<ul>\n<li>\u4f60\u81ea\u5df1\u7684\u7b2c\u4e09\u65b9deb&#xff1a;zstd\u2011custom_1.5.5\u2011kylin_arm64.deb<\/li>\n<li>apt\u81ea\u52a8\u4e0b\u8f7d\u51fa\u6765\u7684\u5168\u90e8\u4f9d\u8d56deb<\/li>\n<\/ul>\n<p>\u26a0\ufe0f \u9650\u5236&#xff1a;\u5982\u679c\u67d0\u4e2a\u4f9d\u8d56\u672c\u8eab\u4e5f\u5c5e\u4e8e\u79c1\u6709\u7b2c\u4e09\u65b9\u5305&#xff08;\u5b98\u65b9\u6e90\u4e0d\u5b58\u5728&#xff09;&#xff0c;apt download\u4f1a\u5931\u8d25&#xff0c;\u8fd9\u4e2a\u5305\u53ea\u80fd\u624b\u52a8\u5355\u72ec\u6536\u96c6\u3002<\/p>\n<h3>\u79bb\u7ebf\u670d\u52a1\u5668\u4e34\u65f6\u5b89\u88c5\u65b9\u5f0f<\/h3>\n<p><span class=\"token function\">sudo<\/span> dpkg <span class=\"token parameter variable\">-i<\/span> *.deb<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-f<\/span><\/p>\n<hr \/>\n<h2>\u8fdb\u9636\u65b9\u6848&#xff1a;\u628a\u4e00\u5806deb\u505a\u6210\u6c38\u4e45\u672c\u5730APT\u6e90&#xff08;\u4e00\u52b3\u6c38\u9038&#xff09;<\/h2>\n<p>\u4e0a\u97623\u79cd\u573a\u666f\u5bfc\u51fa\u7684deb\u6587\u4ef6\u5939&#xff0c;\u90fd\u53ef\u4ee5\u505a\u6210\u79bb\u7ebf\u672c\u5730\u6e90\u3002\u505a\u5b8c\u4e4b\u540e\u79bb\u7ebf\u670d\u52a1\u5668\u53ef\u4ee5\u76f4\u63a5\u6267\u884c&#xff1a; sudo apt install zstd&#xff0c;apt\u81ea\u52a8\u89e3\u6790\u76ee\u5f55\u91cc\u6240\u6709deb\u4f9d\u8d56&#xff0c;\u4e0d\u518d\u9700\u8981\u624b\u52a8dpkg\u3002<\/p>\n<h3>\u5728\u79bb\u7ebf\u670d\u52a1\u5668\u64cd\u4f5c<\/h3>\n<li>\u628a\u6574\u5957deb\u6587\u4ef6\u5939\u653e\u5230\u56fa\u5b9a\u8def\u5f84&#xff0c;\u793a\u4f8b \/opt\/offline_repo_zstd<\/li>\n<p><span class=\"token comment\"># \u5b89\u88c5\u4ed3\u5e93\u6784\u5efa\u5de5\u5177<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> dpkg-dev apt-utils<\/p>\n<p><span class=\"token builtin class-name\">cd<\/span> \/opt\/offline_repo_zstd<br \/>\n<span class=\"token comment\"># \u626b\u63cf\u5f53\u524d\u76ee\u5f55\u6240\u6709deb&#xff0c;\u751f\u6210\u8f6f\u4ef6\u5305\u7d22\u5f15<\/span><br \/>\ndpkg-scanpackages <span class=\"token builtin class-name\">.<\/span> \/dev\/null <span class=\"token operator\">|<\/span> <span class=\"token function\">gzip<\/span> <span class=\"token parameter variable\">-9c<\/span> <span class=\"token operator\">&gt;<\/span> Packages.gz<br \/>\napt-ftparchive release <span class=\"token builtin class-name\">.<\/span> <span class=\"token operator\">&gt;<\/span> Release<\/p>\n<li>\u4fee\u6539apt\u6e90\u914d\u7f6e\u6587\u4ef6 \/etc\/apt\/sources.list \u6ce8\u91ca\u6389\u6240\u6709\u5916\u7f51\u6e90&#xff0c;\u8ffd\u52a0\u4e00\u884c\u672c\u5730\u6e90&#xff1a;<\/li>\n<p>deb [trusted&#061;yes] file:\/\/\/opt\/offline_repo_zstd .\/<\/p>\n<p>trusted&#061;yes \u5173\u95edgpg\u7b7e\u540d\u6821\u9a8c&#xff08;\u79bb\u7ebf\u73af\u5883\u5fc5\u5907&#xff09;<\/p>\n<li>\u66f4\u65b0\u672c\u5730apt\u7f13\u5b58<\/li>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update<\/p>\n<h3>\u4f7f\u7528\u65b9\u5f0f&#xff08;\u4ee5\u540e\u5b89\u88c5\u53ea\u9700\u8981\u8fd9\u4e00\u884c&#xff09;<\/h3>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> zstd<\/p>\n<p>apt\u4f1a\u81ea\u52a8\u5728\u672c\u5730\u6587\u4ef6\u5939\u67e5\u627e\u5168\u90e8\u4f9d\u8d56\u5b8c\u6210\u5b89\u88c5\u3002<\/p>\n<p>\u5982\u679c\u540e\u7eed\u65b0\u589e\u66f4\u591adeb\u5305\u5230\u8fd9\u4e2a\u4ed3\u5e93\u76ee\u5f55&#xff1a; \u91cd\u65b0\u6267\u884c\u4e00\u904d dpkg\u2011scanpackages \u5237\u65b0\u7d22\u5f15&#xff0c;\u518dapt update\u5373\u53ef\u3002<\/p>\n<hr \/>\n<h2>\u5bf9\u6bd4\u4e09\u5f20\u573a\u666f\u533a\u522b\u603b\u7ed3&#xff08;\u65b9\u4fbf\u8bb0\u5fc6&#xff09;<\/h2>\n<table>\n<tr>\u573a\u666f\u9700\u6c42\u63cf\u8ff0\u63a8\u8350\u5de5\u5177<\/tr>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>\u672c\u673a\u5df2\u7ecf\u88c5\u597dzstd&#xff0c;\u5b8c\u6574\u5907\u4efd\u8fc1\u79fb<\/td>\n<td>apt\u2011clone<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>\u4ece\u5b98\u65b9\u6e90\u5168\u65b0\u5bfc\u51fazstd\u5b8c\u6574\u4f9d\u8d56\u94fe<\/td>\n<td>apt\u2011rdepends &#043; apt download<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>\u79c1\u6709\u7b2c\u4e09\u65b9deb&#xff0c;\u8865\u9f50\u5b98\u65b9\u4f9d\u8d56<\/td>\n<td>apt\u2011cache depends &#043; apt download<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u8865\u5145\u4f01\u4e1a\u7cbe\u51c6\u79bb\u7ebf\u5de5\u5177 apt\u2011offline&#xff08;\u6700\u4f18\u751f\u4ea7\u65b9\u6848&#xff09;<\/h2>\n<p>\u6d41\u7a0b&#xff1a;<\/p>\n<li>\u79bb\u7ebf\u670d\u52a1\u5668\u751f\u6210\u7f3a\u5c11\u4f9d\u8d56\u7684\u7b7e\u540d\u6587\u4ef6 xxx.sig<\/li>\n<li>sig\u62f7\u8d1d\u5230\u8054\u7f51arm64\u673a\u5668\u4e00\u952e\u4e0b\u8f7d\u7cbe\u51c6\u5339\u914d\u8fd9\u53f0\u670d\u52a1\u5668\u72b6\u6001\u7684deb\u5305<\/li>\n<li>\u4f20\u56de\u79bb\u7ebf\u670d\u52a1\u5668\u4e00\u952e\u90e8\u7f72&#xff0c;\u4e0d\u4f1a\u4e0b\u8f7d\u670d\u52a1\u5668\u5df2\u7ecf\u5b89\u88c5\u597d\u7684\u5305<\/li>\n<h2>\u5168\u90e8\u547d\u4ee4\u6574\u7406\u62104\u4e2a\u4e00\u952e\u6267\u884cshell\u811a\u672c&#xff1a;<\/h2>\n<li>\u5df2\u5b89\u88c5\u8f6f\u4ef6\u5907\u4efd\u811a\u672c<\/li>\n<li>\u5b98\u65b9\u8f6f\u4ef6\u5b8c\u6574\u4f9d\u8d56\u4e0b\u8f7d\u811a\u672c<\/li>\n<li>\u7b2c\u4e09\u65b9deb\u4f9d\u8d56\u8865\u9f50\u811a\u672c<\/li>\n<li>\u79bb\u7ebf\u4ed3\u5e93\u81ea\u52a8\u6784\u5efa\u811a\u672c<\/li>\n<h2>\u6574\u7406\u62104\u4e2a\u72ec\u7acb\u53ef\u76f4\u63a5\u8fd0\u884c\u7684sh\u811a\u672c<\/h2>\n<h2>\u94f6\u6cb3\u9e92\u9e9fV10 arm64 4\u5957\u4e00\u952e\u79bb\u7ebf\u6253\u5305\u811a\u672c<\/h2>\n<p>\u524d\u7f6e\u8981\u6c42&#xff1a;\u6267\u884c\u811a\u672c\u7684\u8054\u7f51\u4e3b\u673a &#061; \u94f6\u6cb3\u9e92\u9e9fV10 arm64&#xff0c;\u7248\u672cSP\u4e0e\u79bb\u7ebf\u670d\u52a1\u5668\u5b8c\u5168\u4e00\u81f4 \u4f7f\u7528\u65b9\u5f0f&#xff1a;\u590d\u5236\u4ee3\u7801\u4fdd\u5b58\u4e3a .sh&#xff0c;chmod &#043;x xxx.sh &amp;&amp; .\/xxx.sh<\/p>\n<hr \/>\n<h3>\u811a\u672c1&#xff1a;export_installed.sh&#xff5c;\u573a\u666f1 \u2014\u2014 \u672c\u673a\u5df2\u7ecf\u5b89\u88c5\u597dzstd&#xff0c;\u5b8c\u6574\u5907\u4efd\u8fc1\u79fb<\/h3>\n<p>\u529f\u80fd&#xff1a;\u5907\u4efd\u6307\u5b9a\u8f6f\u4ef6 &#043; \u5168\u90e8\u4f9d\u8d56&#xff0c;\u751f\u6210\u53ef\u6062\u590d\u7684apt\u2011clone\u5f52\u6863\u5305<\/p>\n<p><span class=\"token shebang important\">#!\/bin\/bash<\/span><br \/>\n<span class=\"token comment\"># export_installed.sh  \u7528\u6cd5&#xff1a;.\/export_installed.sh zstd<\/span><br \/>\n<span class=\"token builtin class-name\">set<\/span> <span class=\"token parameter variable\">-e<\/span><br \/>\n<span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">[<\/span> <span class=\"token variable\">$#<\/span> <span class=\"token parameter variable\">-ne<\/span> <span class=\"token number\">1<\/span> <span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span><span class=\"token keyword\">then<\/span><br \/>\n    <span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u4f7f\u7528\u65b9\u6cd5&#xff1a;<span class=\"token variable\">$0<\/span> \u8f6f\u4ef6\u540d&#034;<\/span><br \/>\n    <span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u793a\u4f8b&#xff1a;<span class=\"token variable\">$0<\/span> zstd&#034;<\/span><br \/>\n    <span class=\"token builtin class-name\">exit<\/span> <span class=\"token number\">1<\/span><br \/>\n<span class=\"token keyword\">fi<\/span><br \/>\n<span class=\"token assign-left variable\">PKG<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;<span class=\"token variable\">$1<\/span>&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">OUT_DIR<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;.\/backup_<span class=\"token variable\">${PKG}<\/span>&#034;<\/span><br \/>\n<span class=\"token function\">mkdir<\/span> <span class=\"token parameter variable\">-p<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">${OUT_DIR}<\/span>&#034;<\/span><\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> apt-clone <span class=\"token parameter variable\">-y<\/span><\/p>\n<p><span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u6b63\u5728\u5907\u4efd\u8f6f\u4ef6\u3010<span class=\"token variable\">${PKG}<\/span>\u3011\u53ca\u5176\u5168\u90e8\u4f9d\u8d56\u2026\u2026&#034;<\/span><br \/>\napt-clone clone <span class=\"token string\">&#034;<span class=\"token variable\">${OUT_DIR}<\/span>\/<span class=\"token variable\">${PKG}<\/span>_full.tar.gz&#034;<\/span> &#8211;with-deps <span class=\"token string\">&#034;<span class=\"token variable\">${PKG}<\/span>&#034;<\/span><\/p>\n<p><span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#034;<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u5907\u4efd\u5b8c\u6210&#xff01;\u6587\u4ef6\u8def\u5f84&#xff1a;<span class=\"token variable\">${OUT_DIR}<\/span>\/<span class=\"token variable\">${PKG}<\/span>_full.tar.gz&#034;<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u79bb\u7ebf\u670d\u52a1\u5668\u6062\u590d\u547d\u4ee4&#xff1a;&#034;<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;sudo apt install apt-clone -y&#034;<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;apt-clone restore <span class=\"token variable\">${PKG}<\/span>_full.tar.gz&#034;<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#034;<\/span><\/p>\n<h4>\u4f7f\u7528\u793a\u4f8b<\/h4>\n<p><span class=\"token function\">chmod<\/span> &#043;x export_installed.sh<br \/>\n.\/export_installed.sh zstd<\/p>\n<hr \/>\n<h3>\u811a\u672c2&#xff1a;export_official.sh&#xff5c;\u573a\u666f2 \u2014\u2014 \u5b98\u65b9\u6e90\u5168\u65b0\u4e0b\u8f7d\u5b8c\u6574\u4f9d\u8d56\u94fe&#xff08;\u672c\u673a\u88c5\u6ca1\u88c5\u90fd\u80fd\u7528&#xff09;<\/h3>\n<p>\u529f\u80fd&#xff1a;\u9012\u5f52\u89e3\u6790\u5168\u90e8\u4f9d\u8d56&#xff0c;\u6279\u91cf\u4e0b\u8f7d\u6240\u6709deb&#xff0c;\u8f93\u51fa\u72ec\u7acb\u79bb\u7ebf\u6587\u4ef6\u5939<\/p>\n<p><span class=\"token shebang important\">#!\/bin\/bash<\/span><br \/>\n<span class=\"token comment\"># export_official.sh \u7528\u6cd5&#xff1a;.\/export_official.sh zstd<\/span><br \/>\n<span class=\"token builtin class-name\">set<\/span> <span class=\"token parameter variable\">-e<\/span><br \/>\n<span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">[<\/span> <span class=\"token variable\">$#<\/span> <span class=\"token parameter variable\">-ne<\/span> <span class=\"token number\">1<\/span> <span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span><span class=\"token keyword\">then<\/span><br \/>\n    <span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u4f7f\u7528\u65b9\u6cd5&#xff1a;<span class=\"token variable\">$0<\/span> \u8f6f\u4ef6\u540d&#034;<\/span><br \/>\n    <span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u793a\u4f8b&#xff1a;<span class=\"token variable\">$0<\/span> zstd&#034;<\/span><br \/>\n    <span class=\"token builtin class-name\">exit<\/span> <span class=\"token number\">1<\/span><br \/>\n<span class=\"token keyword\">fi<\/span><br \/>\n<span class=\"token assign-left variable\">PKG<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;<span class=\"token variable\">$1<\/span>&#034;<\/span><br \/>\n<span class=\"token assign-left variable\">OUT_DIR<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;.\/offline_<span class=\"token variable\">${PKG}<\/span>_official&#034;<\/span><br \/>\n<span class=\"token function\">mkdir<\/span> <span class=\"token parameter variable\">-p<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">${OUT_DIR}<\/span>&#034;<\/span><\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> apt-rdepends <span class=\"token parameter variable\">-y<\/span><\/p>\n<p><span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u6b63\u5728\u9012\u5f52\u83b7\u53d6\u3010<span class=\"token variable\">${PKG}<\/span>\u3011\u5168\u90e8\u4f9d\u8d56\u5217\u8868\u2026\u2026&#034;<\/span><br \/>\napt-rdepends <span class=\"token string\">&#034;<span class=\"token variable\">${PKG}<\/span>&#034;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <span class=\"token parameter variable\">-v<\/span> <span class=\"token string\">&#034;^ &#034;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">sort<\/span> <span class=\"token parameter variable\">-u<\/span> <span class=\"token operator\">&gt;<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">${OUT_DIR}<\/span>\/pkg_list.txt&#034;<\/span><\/p>\n<p><span class=\"token builtin class-name\">cd<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">${OUT_DIR}<\/span>&#034;<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u5f00\u59cb\u6279\u91cf\u4e0b\u8f7d\u5168\u90e8deb\u5305\u2026\u2026&#034;<\/span><br \/>\n<span class=\"token function\">cat<\/span> pkg_list.txt <span class=\"token operator\">|<\/span> <span class=\"token function\">xargs<\/span> <span class=\"token function\">apt<\/span> download <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span>\/dev\/null <span class=\"token operator\">||<\/span> <span class=\"token boolean\">true<\/span><\/p>\n<p><span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#034;<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u4e0b\u8f7d\u5b8c\u6210&#xff01;\u76ee\u5f55&#xff1a;<span class=\"token variable\"><span class=\"token variable\">$(<\/span><span class=\"token builtin class-name\">pwd<\/span><span class=\"token variable\">)<\/span><\/span>&#034;<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u79bb\u7ebf\u670d\u52a1\u5668\u6279\u91cf\u5b89\u88c5\u547d\u4ee4&#xff1a;&#034;<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;sudo dpkg -i *.deb&#034;<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;sudo apt install -f -y&#034;<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#034;<\/span><\/p>\n<h4>\u4f7f\u7528\u793a\u4f8b<\/h4>\n<p><span class=\"token function\">chmod<\/span> &#043;x export_official.sh<br \/>\n.\/export_official.sh zstd<\/p>\n<hr \/>\n<h3>\u811a\u672c3&#xff1a;export_custom_deb.sh&#xff5c;\u573a\u666f3 \u2014\u2014 \u7b2c\u4e09\u65b9\u72ec\u7acbdeb\u8865\u9f50\u5b98\u65b9\u4f9d\u8d56<\/h3>\n<p>\u4f20\u5165\u672c\u5730deb\u6587\u4ef6\u8def\u5f84&#xff0c;\u81ea\u52a8\u6293\u53d6\u6240\u6709\u6765\u81ea\u5b98\u65b9\u6e90\u7684\u4f9d\u8d56\u5305<\/p>\n<p><span class=\"token shebang important\">#!\/bin\/bash<\/span><br \/>\n<span class=\"token builtin class-name\">set<\/span> <span class=\"token parameter variable\">-e<\/span><br \/>\n<span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">[<\/span> <span class=\"token variable\">$#<\/span> <span class=\"token parameter variable\">-ne<\/span> <span class=\"token number\">1<\/span> <span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span><span class=\"token keyword\">then<\/span><br \/>\n    <span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u7528\u6cd5&#xff1a;<span class=\"token variable\">$0<\/span> deb\u6587\u4ef6\u8def\u5f84&#034;<\/span><br \/>\n    <span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u793a\u4f8b&#xff1a;<span class=\"token variable\">$0<\/span> .\/zstd_1.4.8&#043;dfsg-2.1_arm64.deb&#034;<\/span><br \/>\n    <span class=\"token builtin class-name\">exit<\/span> <span class=\"token number\">1<\/span><br \/>\n<span class=\"token keyword\">fi<\/span><br \/>\n<span class=\"token assign-left variable\">DEB_FILE<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;<span class=\"token variable\">$1<\/span>&#034;<\/span><br \/>\n<span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">[<\/span> <span class=\"token operator\">!<\/span> <span class=\"token parameter variable\">-f<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">${DEB_FILE}<\/span>&#034;<\/span> <span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span><span class=\"token keyword\">then<\/span><br \/>\n    <span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u9519\u8bef&#xff1a;\u6587\u4ef6\u4e0d\u5b58\u5728 <span class=\"token variable\">${DEB_FILE}<\/span>&#034;<\/span><br \/>\n    <span class=\"token builtin class-name\">exit<\/span> <span class=\"token number\">1<\/span><br \/>\n<span class=\"token keyword\">fi<\/span><\/p>\n<p><span class=\"token assign-left variable\">DEB_NAME<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token variable\"><span class=\"token variable\">$(<\/span><span class=\"token function\">basename<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">${DEB_FILE}<\/span>&#034;<\/span><span class=\"token variable\">)<\/span><\/span><br \/>\n<span class=\"token assign-left variable\">PKG_NAME<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token variable\"><span class=\"token variable\">$(<\/span>dpkg-deb <span class=\"token parameter variable\">-f<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">${DEB_FILE}<\/span>&#034;<\/span> Package<span class=\"token variable\">)<\/span><\/span><br \/>\n<span class=\"token assign-left variable\">RAW_DEP<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token variable\"><span class=\"token variable\">$(<\/span>dpkg-deb <span class=\"token parameter variable\">-f<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">${DEB_FILE}<\/span>&#034;<\/span> Depends<span class=\"token variable\">)<\/span><\/span><\/p>\n<p><span class=\"token assign-left variable\">OUT_DIR<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;.\/deps_<span class=\"token variable\">${PKG_NAME}<\/span>&#034;<\/span><br \/>\n<span class=\"token function\">mkdir<\/span> <span class=\"token parameter variable\">-p<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">${OUT_DIR}<\/span>&#034;<\/span><\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> clean<\/p>\n<p><span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u539f\u59cb\u4f9d\u8d56\u5b57\u6bb5&#xff1a;<span class=\"token variable\">$RAW_DEP<\/span>&#034;<\/span><br \/>\n<span class=\"token operator\">&gt;<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">${OUT_DIR}<\/span>\/deps_list.txt&#034;<\/span><br \/>\n<span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">[<\/span> <span class=\"token parameter variable\">-n<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">$RAW_DEP<\/span>&#034;<\/span> <span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span><span class=\"token keyword\">then<\/span><br \/>\n    <span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">$RAW_DEP<\/span>&#034;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">tr<\/span> <span class=\"token string\">&#039;,&#039;<\/span> <span class=\"token string\">&#039;\\\\n&#039;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">sed<\/span> <span class=\"token string\">&#039;s\/(.*)\/\/g&#039;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">sed<\/span> <span class=\"token string\">&#039;s\/ \/\/g&#039;<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">sort<\/span> <span class=\"token parameter variable\">-u<\/span> <span class=\"token operator\">|<\/span> <span class=\"token function\">sed<\/span> <span class=\"token string\">&#039;\/^$\/d&#039;<\/span> <span class=\"token operator\">&gt;<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">${OUT_DIR}<\/span>\/deps_list.txt&#034;<\/span><br \/>\n<span class=\"token keyword\">fi<\/span><\/p>\n<p><span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;&#061;&#061;&#061;&#061;&#061;\u4f9d\u8d56\u5217\u8868&#061;&#061;&#061;&#061;&#034;<\/span><br \/>\n<span class=\"token function\">cat<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">${OUT_DIR}<\/span>\/deps_list.txt&#034;<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#034;<\/span><\/p>\n<p><span class=\"token keyword\">while<\/span> <span class=\"token builtin class-name\">read<\/span> pkg<span class=\"token punctuation\">;<\/span> <span class=\"token keyword\">do<\/span><br \/>\n    <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">[<\/span> <span class=\"token parameter variable\">-z<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">$pkg<\/span>&#034;<\/span> <span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span><span class=\"token keyword\">then<\/span><br \/>\n        <span class=\"token builtin class-name\">continue<\/span><br \/>\n    <span class=\"token keyword\">fi<\/span><br \/>\n    <span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u5f3a\u5236\u4e0b\u8f7d\u5305&#xff1a;<span class=\"token variable\">$pkg<\/span>&#034;<\/span><br \/>\n    <span class=\"token function\">sudo<\/span> <span class=\"token function\">apt-get<\/span> <span class=\"token parameter variable\">&#8211;reinstall<\/span> &#8211;download-only <span class=\"token function\">install<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">${pkg}<\/span>&#034;<\/span> <span class=\"token parameter variable\">-y<\/span> <span class=\"token operator\">||<\/span> <span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u3010\u8b66\u544a\u3011<span class=\"token variable\">${pkg}<\/span> \u65e0\u6cd5\u4ece\u6e90\u83b7\u53d6\u5bf9\u5e94\u7248\u672c&#034;<\/span><br \/>\n<span class=\"token keyword\">done<\/span> <span class=\"token operator\">&lt;<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">${OUT_DIR}<\/span>\/deps_list.txt&#034;<\/span><\/p>\n<p><span class=\"token comment\"># \u590d\u5236\u7f13\u5b58\u7684\u4f9d\u8d56deb&#xff0c;\u4e0d\u542b\u4e3b\u7a0b\u5e8fdeb<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">cp<\/span> \/var\/cache\/apt\/archives\/*.deb <span class=\"token string\">&#034;<span class=\"token variable\">${OUT_DIR}<\/span>\/&#034;<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">chown<\/span> <span class=\"token environment constant\">$USER<\/span><span class=\"token builtin class-name\">:<\/span><span class=\"token environment constant\">$USER<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">${OUT_DIR}<\/span>&#034;<\/span>\/*.deb <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span>\/dev\/null<\/p>\n<p><span class=\"token builtin class-name\">cd<\/span> <span class=\"token string\">&#034;<span class=\"token variable\">${OUT_DIR}<\/span>&#034;<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token parameter variable\">-e<\/span> <span class=\"token string\">&#034;<span class=\"token entity\" title=\"\\\\n\">\\\\n<\/span>&#061;&#061;&#061;&#061;&#061;\u4f9d\u8d56\u5305\u5217\u8868&#xff08;\u4e0d\u542b\u4e3bdeb&#xff09;&#061;&#061;&#061;&#061;&#034;<\/span><br \/>\n<span class=\"token function\">ls<\/span> <span class=\"token parameter variable\">-lh<\/span> *.deb <span class=\"token operator\"><span class=\"token file-descriptor important\">2<\/span>&gt;<\/span>\/dev\/null <span class=\"token operator\">||<\/span> <span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u672c\u6b21\u6ca1\u6709\u4e0b\u8f7d\u5230\u989d\u5916deb&#034;<\/span><\/p>\n<p><span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;&#034;<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u4f7f\u7528\u8bf4\u660e&#xff1a;&#034;<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;1. \u5c06\u672c\u76ee\u5f55\u5168\u90e8\u4f9d\u8d56deb &#043; \u4f60\u81ea\u5df1\u7684\u539f\u59cb <span class=\"token variable\">${DEB_NAME}<\/span> \u4e00\u8d77\u62f7\u8d1d\u5230\u79bb\u7ebf\u670d\u52a1\u5668&#034;<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;2. \u79bb\u7ebf\u670d\u52a1\u5668\u6267\u884c&#xff1a;sudo dpkg -i *.deb <span class=\"token variable\">${DEB_NAME}<\/span> &amp;&amp; sudo apt install -f -y&#034;<\/span><\/p>\n<h4>\u4f7f\u7528\u793a\u4f8b<\/h4>\n<p><span class=\"token function\">chmod<\/span> &#043;x export_custom_deb.sh<br \/>\n.\/export_custom_deb.sh .\/zstd\u2011custom_1.5.5\u2011kylin_arm64.deb<\/p>\n<p>\u6ce8\u610f&#xff1a;\u5982\u679c\u67d0\u4e2a\u4f9d\u8d56\u4e0d\u5728\u9e92\u9e9f\u5b98\u65b9\u6e90&#xff0c;apt download\u4f1a\u8df3\u8fc7&#xff0c;\u8fd9\u7c7b\u5305\u53ea\u80fd\u624b\u52a8\u8865\u5145\u3002<\/p>\n<hr \/>\n<h3>\u811a\u672c4&#xff1a;build_local_repo.sh&#xff5c;\u8fdb\u9636&#xff1a;\u628adeb\u76ee\u5f55\u6784\u5efa\u6210\u6c38\u4e45\u79bb\u7ebfAPT\u6e90&#xff08;\u79bb\u7ebf\u670d\u52a1\u5668\u6267\u884c&#xff09;<\/h3>\n<p>\u653e\u5230\u5b58\u653edeb\u7684\u76ee\u5f55\u8fd0\u884c&#xff0c;\u4e00\u952e\u751f\u6210\u8f6f\u4ef6\u4ed3\u5e93\u7d22\u5f15<\/p>\n<p><span class=\"token shebang important\">#!\/bin\/bash<\/span><br \/>\n<span class=\"token comment\"># build_local_repo.sh \u5728deb\u6240\u5728\u76ee\u5f55\u6267\u884c<\/span><br \/>\n<span class=\"token builtin class-name\">set<\/span> <span class=\"token parameter variable\">-e<\/span><br \/>\n<span class=\"token assign-left variable\">REPO_PATH<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token variable\"><span class=\"token variable\">$(<\/span><span class=\"token builtin class-name\">pwd<\/span><span class=\"token variable\">)<\/span><\/span><\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> dpkg-dev apt-utils <span class=\"token parameter variable\">-y<\/span><\/p>\n<p><span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u6b63\u5728\u626b\u63cf\u76ee\u5f55 <span class=\"token variable\">${REPO_PATH}<\/span> \u4e0b\u6240\u6709deb\u5305&#xff0c;\u751f\u6210\u4ed3\u5e93\u7d22\u5f15\u2026\u2026&#034;<\/span><br \/>\ndpkg-scanpackages <span class=\"token builtin class-name\">.<\/span> \/dev\/null <span class=\"token operator\">|<\/span> <span class=\"token function\">gzip<\/span> <span class=\"token parameter variable\">-9c<\/span> <span class=\"token operator\">&gt;<\/span> Packages.gz<br \/>\napt-ftparchive release <span class=\"token builtin class-name\">.<\/span> <span class=\"token operator\">&gt;<\/span> Release<\/p>\n<p><span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#034;<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u79bb\u7ebf\u4ed3\u5e93\u6784\u5efa\u5b8c\u6210&#xff01;&#034;<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u8bf7\u4fee\u6539 \/etc\/apt\/sources.list \u6dfb\u52a0&#xff1a;&#034;<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;deb [trusted&#061;yes] file:\/\/<span class=\"token variable\">${REPO_PATH}<\/span> .\/&#034;<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u7136\u540e\u6267\u884c&#xff1a;sudo apt update&#034;<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;\u4e4b\u540e\u53ef\u4ee5\u76f4\u63a5 apt install zstd&#034;<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#034;<\/span><\/p>\n<h4>\u4f7f\u7528\u793a\u4f8b&#xff08;\u79bb\u7ebf\u670d\u52a1\u5668\u64cd\u4f5c&#xff09;<\/h4>\n<p><span class=\"token comment\"># \u8fdb\u5165deb\u5b58\u653e\u76ee\u5f55<\/span><br \/>\n<span class=\"token builtin class-name\">cd<\/span> \/opt\/offline_zstd<br \/>\n<span class=\"token function\">chmod<\/span> &#043;x build_local_repo.sh<br \/>\n<span class=\"token function\">sudo<\/span> .\/build_local_repo.sh<\/p>\n<p>\u7f16\u8f91 \/etc\/apt\/sources.list&#xff0c;\u5199\u5165&#xff1a;<\/p>\n<p>deb [trusted&#061;yes] file:\/\/\/opt\/offline_zstd .\/<\/p>\n<p>\u5237\u65b0\u7f13\u5b58&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> zstd<\/p>\n<hr \/>\n<h2>\u914d\u5957\u64cd\u4f5c\u8bf4\u660e\u6587\u6863&#xff08;\u6781\u7b80\u7248&#xff09;<\/h2>\n<li>\u8054\u7f51\u673a\u6267\u884c\u811a\u672c1\/2\/3 \u2192 \u5f97\u5230deb\u6587\u4ef6\u5939\/\u5f52\u6863\u5305<\/li>\n<li>U\u76d8\u62f7\u8d1d\u6574\u4e2a\u76ee\u5f55\u5230\u79bb\u7ebf\u94f6\u6cb3\u9e92\u9e9fV10 arm64\u670d\u52a1\u5668<\/li>\n<li>\u4e34\u65f6\u5b89\u88c5&#xff1a;sudo dpkg -i *.deb &amp;&amp; sudo apt install -f -y<\/li>\n<li>\u957f\u671f\u590d\u7528&#xff1a;\u6267\u884c\u811a\u672c4\u6784\u5efa\u672c\u5730apt\u6e90<\/li>\n<h2>\u8865\u5145\u8bf4\u660e<\/h2>\n<li>apt download \u5931\u8d25 &#061; \u8be5\u4f9d\u8d56\u4e0d\u5728\u5f53\u524dapt\u6e90&#xff1b;<\/li>\n<li>\u67b6\u6784\u4e0d\u5339\u914d\u4e00\u5b9a\u4f1a\u5b89\u88c5\u5931\u8d25&#xff0c;\u8054\u7f51\u673a\u5fc5\u987b\u662f\u540c\u7248\u672carm64\u9e92\u9e9fV10&#xff1b;<\/li>\n<li>\u540e\u7eed\u65b0\u589edeb\u5230\u672c\u5730\u4ed3\u5e93&#xff0c;\u91cd\u65b0\u8fd0\u884c\u4e00\u6b21 build_local_repo.sh&#xff0c;\u518dapt update\u5373\u53ef\u3002<\/li>\n","protected":false},"excerpt":{"rendered":"<p>\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content<\/p>\n","protected":false},"author":2,"featured_media":118593,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[43,44],"topic":[],"class_list":["post-118594","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010\u4fe1\u521b\u3011\u94f6\u6cb3\u9e92\u9e9fV10 arm64\uff5c\u901a\u8fc7\u53ef\u8054\u7f51\u7ec8\u7aef\u5411\u9694\u79bb\u670d\u52a1\u5668\u5b89\u88c5\u8f6f\u4ef6\u53ca\u4f9d\u8d56\u5b8c\u6574\u5b9e\u64cd\u624b\u518c\uff08\u5168\u7a0b\u4ee5 zstd \u4e3e\u4f8b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/118594.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010\u4fe1\u521b\u3011\u94f6\u6cb3\u9e92\u9e9fV10 arm64\uff5c\u901a\u8fc7\u53ef\u8054\u7f51\u7ec8\u7aef\u5411\u9694\u79bb\u670d\u52a1\u5668\u5b89\u88c5\u8f6f\u4ef6\u53ca\u4f9d\u8d56\u5b8c\u6574\u5b9e\u64cd\u624b\u518c\uff08\u5168\u7a0b\u4ee5 zstd \u4e3e\u4f8b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/118594.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-27T11:08:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261027110833-6ae086314b4f9.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/118594.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/118594.html\",\"name\":\"\u3010\u4fe1\u521b\u3011\u94f6\u6cb3\u9e92\u9e9fV10 arm64\uff5c\u901a\u8fc7\u53ef\u8054\u7f51\u7ec8\u7aef\u5411\u9694\u79bb\u670d\u52a1\u5668\u5b89\u88c5\u8f6f\u4ef6\u53ca\u4f9d\u8d56\u5b8c\u6574\u5b9e\u64cd\u624b\u518c\uff08\u5168\u7a0b\u4ee5 zstd \u4e3e\u4f8b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-10-27T11:08:34+00:00\",\"dateModified\":\"2026-10-27T11:08:34+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/118594.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/118594.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/118594.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010\u4fe1\u521b\u3011\u94f6\u6cb3\u9e92\u9e9fV10 arm64\uff5c\u901a\u8fc7\u53ef\u8054\u7f51\u7ec8\u7aef\u5411\u9694\u79bb\u670d\u52a1\u5668\u5b89\u88c5\u8f6f\u4ef6\u53ca\u4f9d\u8d56\u5b8c\u6574\u5b9e\u64cd\u624b\u518c\uff08\u5168\u7a0b\u4ee5 zstd \u4e3e\u4f8b\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010\u4fe1\u521b\u3011\u94f6\u6cb3\u9e92\u9e9fV10 arm64\uff5c\u901a\u8fc7\u53ef\u8054\u7f51\u7ec8\u7aef\u5411\u9694\u79bb\u670d\u52a1\u5668\u5b89\u88c5\u8f6f\u4ef6\u53ca\u4f9d\u8d56\u5b8c\u6574\u5b9e\u64cd\u624b\u518c\uff08\u5168\u7a0b\u4ee5 zstd \u4e3e\u4f8b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/118594.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010\u4fe1\u521b\u3011\u94f6\u6cb3\u9e92\u9e9fV10 arm64\uff5c\u901a\u8fc7\u53ef\u8054\u7f51\u7ec8\u7aef\u5411\u9694\u79bb\u670d\u52a1\u5668\u5b89\u88c5\u8f6f\u4ef6\u53ca\u4f9d\u8d56\u5b8c\u6574\u5b9e\u64cd\u624b\u518c\uff08\u5168\u7a0b\u4ee5 zstd \u4e3e\u4f8b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content","og_url":"https:\/\/www.wsisp.com\/helps\/118594.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-10-27T11:08:34+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/10\/20261027110833-6ae086314b4f9.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"7 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/118594.html","url":"https:\/\/www.wsisp.com\/helps\/118594.html","name":"\u3010\u4fe1\u521b\u3011\u94f6\u6cb3\u9e92\u9e9fV10 arm64\uff5c\u901a\u8fc7\u53ef\u8054\u7f51\u7ec8\u7aef\u5411\u9694\u79bb\u670d\u52a1\u5668\u5b89\u88c5\u8f6f\u4ef6\u53ca\u4f9d\u8d56\u5b8c\u6574\u5b9e\u64cd\u624b\u518c\uff08\u5168\u7a0b\u4ee5 zstd \u4e3e\u4f8b\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-10-27T11:08:34+00:00","dateModified":"2026-10-27T11:08:34+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/118594.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/118594.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/118594.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010\u4fe1\u521b\u3011\u94f6\u6cb3\u9e92\u9e9fV10 arm64\uff5c\u901a\u8fc7\u53ef\u8054\u7f51\u7ec8\u7aef\u5411\u9694\u79bb\u670d\u52a1\u5668\u5b89\u88c5\u8f6f\u4ef6\u53ca\u4f9d\u8d56\u5b8c\u6574\u5b9e\u64cd\u624b\u518c\uff08\u5168\u7a0b\u4ee5 zstd \u4e3e\u4f8b\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/118594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=118594"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/118594\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/118593"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=118594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=118594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=118594"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=118594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}