[英]Ubuntu: how to make apt-get/synaptic work for own application
We are developing a (closed-source) Java application and think about possibilities to update the software automatically on the user's machines. 我们正在开发一个(闭源)Java应用程序,并考虑在用户的计算机上自动更新软件的可能性。 Fortunately, for nearly all Linux systems there exist package managers. 幸运的是,对于几乎所有Linux系统都存在包管理器。 We don't think it would be useful to add our application to the common repositories for several reasons, but how to create an own one, manage it and tell the user's machines to poll and update from that? 我们认为将我们的应用程序添加到公共存储库有几个原因,但是如何创建一个自己的应用程序,管理它并告诉用户的机器进行轮询和更新?
For packaging a application see the Debian Maintainers Guide . 有关打包应用程序的信息,请参阅Debian维护者指南 。 To distribute the packages you need to set up your own package-repository this can be done using the dpkg-scanpackages
or the reprepro
tool. 要分发您需要设置自己的包存储库的包,可以使用dpkg-scanpackages
或reprepro
工具完成。 A short introduction to this can be found in this blog post . 可以在此博客文章中找到对此的简短介绍。 To simplify adding a new build package to the repo, have a look at the dupload
tool. 要简化向repo添加新构建包的过程,请查看dupload
工具。
Debian wiki上有一个Java / Packaging页面 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.