{"id":6423,"date":"2023-10-09T12:33:34","date_gmt":"2023-10-09T04:33:34","guid":{"rendered":"https:\/\/www.yimenyun.cn\/emen\/?p=6423"},"modified":"2023-10-09T12:33:34","modified_gmt":"2023-10-09T04:33:34","slug":"ios-deb%e6%89%93%e5%8c%85%e5%a6%82%e4%bd%95%e5%ae%9e%e7%8e%b0%e7%9a%84%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.yimenyun.cn\/emen\/6423\/","title":{"rendered":"ios deb\u6253\u5305\u5982\u4f55\u5b9e\u73b0\u7684\uff1f"},"content":{"rendered":"
iOS deb\u6253\u5305\u662f\u4e00\u79cd\u5c06iOS\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210.deb\u683c\u5f0f\u7684\u8fc7\u7a0b\uff0c\u4f7f\u5176\u80fd\u591f\u5728\u8d8a\u72f1\u8bbe\u5907\u4e0a\u5b89\u88c5\u548c\u8fd0\u884c\u3002\u5728\u672c\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u5c06\u8be6\u7ec6\u4ecb\u7ecdiOS deb\u6253\u5305\u7684\u539f\u7406\u548c\u6b65\u9aa4\u3002<\/p>\n
1. \u524d\u63d0\u6761\u4ef6\uff1a<\/p>\n
\u5728\u8fdb\u884ciOS deb\u6253\u5305\u4e4b\u524d\uff0c\u9700\u8981\u786e\u4fdd\u4f60\u5df2\u7ecf\u8d8a\u72f1\u4e86\u4f60\u7684iOS\u8bbe\u5907\uff0c\u5e76\u4e14\u5b89\u88c5\u4e86\u5fc5\u8981\u7684\u5de5\u5177\uff0c\u6bd4\u5982Theos\u548ciOS OpenDev\u3002<\/p>\n
2. \u539f\u7406\uff1a<\/p>\n
.deb\u6587\u4ef6\u662f\u4e00\u79cdDebian\u8f6f\u4ef6\u5305\u683c\u5f0f\uff0c\u5e7f\u6cdb\u7528\u4e8eLinux\u7cfb\u7edf\u4e2d\u3002\u5728\u8d8a\u72f1\u8bbe\u5907\u4e0a\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u7c7b\u4f3c\u7684\u65b9\u5f0f\u6253\u5305iOS\u5e94\u7528\u7a0b\u5e8f\uff0c\u5e76\u5c06\u5176\u5b89\u88c5\u5230\u8bbe\u5907\u4e0a\u3002<\/p>\n
.deb\u6587\u4ef6\u7531\u4e09\u4e2a\u4e3b\u8981\u90e8\u5206\u7ec4\u6210\uff1a<\/p>\n
– \u63a7\u5236uniapp\u5982\u4f55\u6253\u5305\u6210\u5b89\u5353\u548cios<\/a>\u6587\u4ef6\uff08control file\uff09\uff1a\u5305\u542b\u6709\u5173\u8f6f\u4ef6\u5305\u7684\u5143\u6570\u636e\uff0c\u6bd4\u5982\u540d\u79f0\u3001\u7248\u672c\u3001\u4f5c\u8005\u7b49\u4fe1\u606f\u3002<\/p>\n – \u6570\u636e\u6587\u4ef6\uff08data files\uff09\uff1a\u5305\u542b\u5e94\u7528\u7a0b\u5e8f\u7684\u5b9e\u9645\u5185\u5bb9\uff0c\u6bd4\u5982\u4e8c\u8fdb\u5236\u6587\u4ef6\u3001\u8d44\u6e90\u6587\u4ef6\u7b49\u3002<\/p>\n – \u5b89\u88c5\u811a\u672c\uff08installation script\uff09\uff1a\u5305\u542b\u9700\u8981\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u6267\u884c\u7684\u64cd\u4f5c\uff0c\u6bd4\u5982\u590d\u5236\u6587\u4ef6\u3001\u4fee\u6539\u6743\u9650\u7b49\u3002<\/p>\n 3. \u6253\u5305\u6b65\u9aa4\uff1a<\/p>\n \u4ee5\u4e0b\u662f\u5c06iOS\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210.deb\u6587\u4ef6\u7684\u6b65\u9aa4\uff1a<\/p>\n \u6b65\u9aa41\uff1a\u521b\u5efa\u9879\u76ee<\/p>\n \u9996\u5148\uff0c\u5728\u7ec8\u7aef\u4e2d\u4f7f\u7528theos\u547d\u4ee4\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u9879\u76ee\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n “`<\/p>\n $ nic.pl<\/p>\n “`<\/p>\n \u7136\u540e\uff0c\u6839\u636e\u63d0\u793a\u9009\u62e9\u9002\u5f53\u7684\u9879\u76ee\u6a21\u677f\u548c\u540d\u79f0\u3002<\/p>\n \u6b65\u9aa42\uff1a\u7f16\u8f91\u63a7\u5236\u6587\u4ef6<\/p>\n \u8fdb\u5165\u9879\u76ee\u76ee\u5f55\uff0c\u6253\u5f00\u63a7\u5236\u6587\u4ef6(.deb\u6587\u4ef6\u4e2d\u7684DEBIAN\/control)\u8fdb\u884c\u7f16\u8f91\u3002\u6b64\u6587\u4ef6\u5305\u542b\u6709\u5173\u8f6f\u4ef6\u5305\u7684\u5143\u6570\u636e\uff0c\u6bd4\u5982\u540d\u79f0\u3001\u7248\u672c\u3001\u4f5c\u8005\u7b49\u3002\u6839\u636e\u9700\u8981\u4fee\u6539\u8fd9\u4e9b\u4fe1\u606f\uff0c\u5e76\u786e\u4fdd\u683c\u5f0f\u6b63\u786e\u3002<\/p>\n \u6b65\u9aa43\uff1a\u5c06\u5e94\u7528\u7a0b\u5e8f\u6587\u4ef6\u6dfb\u52a0\u5230\u9879\u76ee\u4e2d<\/p>\n \u5c06\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u6587\u4ef6\uff08\u4e8c\u8fdb\u5236\u6587\u4ef6\u548c\u8d44\u6e90\u6587\u4ef6\uff09\u590d\u5236\u5230\u9879\u76ee\u76ee\u5f55\u4e2d\u7684\u5bf9\u5e94\u4f4d\u7f6e\u3002\u786e\u4fdd\u6587\u4ef6\u8def\u5f84\u548c\u6e05\u5355\u6587\u4ef6\u4e2d\u7684\u8def\u5f84\u5339\u914d\u3002<\/p>\n \u6b65\u9aa44\uff1a\u7f16\u8f91\u5b89\u88c5\u811a\u672c<\/p>\n \u6253\u5f00\u9879\u76ee\u76ee\u5f55\u4e2d\u7684\u5b89\u88c5\u811a\u672c\u6587\u4ef6\uff08.deb\u6587\u4ef6\u4e2d\u7684DEBIAN\/postinst\u3001DEBIAN\/prerm\u7b49\uff09\uff0c\u6839\u636e\u9700\u8981\u4fee\u6539\u5176\u4e2d\u7684\u5185\u5bb9\u3002\u8fd9\u91cc\u53ef\u4ee5\u5305\u542b\u4e00\u4e9b\u5728\u5b89\u88c5\u6216\u5378\u8f7d\u8fc7\u7a0b\u4e2d\u9700\u8981\u6267\u884c\u7684\u64cd\u4f5c\uff0c\u6bd4\u5982\u6587\u4ef6\u590d\u5236\u3001\u6743\u9650\u4fee\u6539\u7b49\u3002<\/p>\n \u6b65\u9aa45\uff1a\u6267\u884c\u6253\u5305\u547d\u4ee4<\/p>\n \u5728\u7ec8\u7aef\u4e2d\u8fdb\u5165\u9879\u76ee\u76ee\u5f55\uff0c\u5e76\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\u6253\u5305\uff1a<\/p>\n “`<\/p>\n $ dpkg-deb -b <\/p>\n “`<\/p>\n \u8fd9\u5c06\u751f\u6210\u4e00\u4e2a.deb\u6587\u4ef6\uff0c\u4f4d\u7f6e\u5728\u9879\u76ee\u76ee\u5f55\u7684\u4e0a\u4e00\u7ea7\u76ee\u5f55\u4e2d\u3002<\/p>\n \u81f3\u6b64\uff0c\u4f60\u5df2\u7ecf\u6210\u529f\u5730\u5c06iOS\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210.deb\u6587\u4ef6\u3002<\/p>\n 4. \u5b89\u88c5.deb\u6587\u4ef6\uff1a<\/p>\n \u8981\u5c06.deb\u6587\u4ef6\u5b89\u88c5\u5230\u8d8a\u72f1\u8bbe\u5907\u4e0a\uff0c\u53ef\u4ee5\u4f7f\u7528SSH\u547d\u4ee4\u6216\u7c7b\u4f3c\u7684\u5de5\u5177\u5c06\u6587\u4ef6\u590d\u5236\u5230\u8bbe\u5907\u4e0a\uff0c\u5e76\u5728\u8bbe\u5907\u4e0a\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\u5b89\u88c5\uff1a<\/p>\n `<\/p>\n “<\/p>\n $ dpkg -i <\/p>\n “`<\/p>\n \u603b\u7ed3\uff1a<\/p>\n iOS deb\u6253\u5305\u662f\u4e00\u79cd\u5c06iOS\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210.deb\u683c\u5f0f\u7684\u8fc7\u7a0b\uff0c\u4f7f\u5176\u80fd\u591f\u5728\u8d8a\u72f1\u8bbe\u5907\u4e0a\u5b89\u88c5\u548c\u8fd0\u884c\u3002\u901a\u8fc7\u7f16\u8f91\u63a7\u5236\u6587\u4ef6\u3001\u6dfb\u52a0\u5e94\u7528\u7a0b\u5e8f\u6587\u4ef6\u548c\u7f16\u8f91\u5b89\u88c5\u811a\u672c\u7b49\u6b65\u9aa4\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210.debios\u6253\u5305\u4e0a\u4f20\u6b64\u6784\u5efa\u7248\u672c\u65e0\u6548<\/a>\u6587\u4ef6\uff0c\u5e76\u5728\u8d8a\u72f1\u8bbe\u5907\u4e0a\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n \u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\uff0c\u66f4\u591a\u5173\u4e8eiOS\u5f00\u53d1\u548c\u8d8a\u72f1\u76f8\u5173\u7684\u5185\u5bb9\uff0c\u53ef\u4ee5\u7ee7\u7eed\u5173\u6ce8\u6211\u7684\u535a\u5ba2\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" iOS deb\u6253\u5305\u662f\u4e00\u79cd\u5c06iOS\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210.deb\u683c\u5f0f\u7684\u8fc7\u7a0b\uff0c\u4f7f\u5176\u80fd\u591f\u5728\u8d8a\u72f1\u8bbe\u5907\u4e0a\u5b89\u88c5\u548c\u8fd0\u884c\u3002\u5728\u672c\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u5c06\u8be6\u7ec6\u4ecb\u7ecdiOS deb\u6253\u5305\u7684\u539f\u7406\u548c\u6b65\u9aa4\u30021. \u524d\u63d0\u6761\u4ef6\uff1a\u5728\u8fdb\u884ciOS deb\u6253\u5305\u4e4b<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[11697,11696,12,16,23],"topic":[],"class_list":["post-6423","post","type-post","status-publish","format-standard","hentry","category-appkf","tag-iostf","tag-ue4-ios","tag-12","tag-16","tag-23"],"_links":{"self":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/6423","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/comments?post=6423"}],"version-history":[{"count":0,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/6423\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/media?parent=6423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/categories?post=6423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/tags?post=6423"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/topic?post=6423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}<\/figure>\n<\/p>\n