从 MobileSafari 安装 .deb
有谁知道如何在 iPhone/iPod touch/iPad 上直接从 MobileSafari 安装 .deb 文件?我知道这是可能的,正如“lima”项目所见,但我不知道它应该用什么写,或者如何写。如果有人能告诉我,我将不胜感激。提前致谢。
Does anyone know how to make .deb files install directly from MobileSafari on the iPhone/iPod touch/iPad? I know it's possible, as seen with the 'lima' project, but I have no idea what it's supposed to be written in, or how. If someone could tell me I'd be grateful. Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
虽然这不是您问题的详细答案,但它显示了执行此操作的方法:
第一:MobileSafari 的下载插件,用于实际下载 .deb
第二:下载完成后,执行 dpkg -i /path/to/ package.deb (例如通过 system()
但这不会考虑依赖关系和其他在处理 DEBIAN 包时很重要的事情。为此,您必须像 Cydia 一样使用 apt 库。
While this is not a detailed answer to your question, it shows the way on doing it:
1st: A download plugin for MobileSafari to actually download the .deb
2nd: Once the download has been completed you execute dpkg -i /path/to/package.deb (for example via system()
But this won't take care about dependencies and other things which is important when dealing with DEBIAN packages. For that you'll have to utilize the apt library like Cydia does.