简体   繁体   English

Ubuntu:如何让apt-get / synaptic为自己的应用程序工作

[英]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-scanpackagesreprepro工具完成。 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页面

  1. Host a repository on a web-server locally. 在本地托管 Web服务器上的存储库
  2. Package your software as theomega stated. 按照规定的方式打包您的软件。
  3. Add your software to repository. 将您的软件添加到存储库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在ubuntu Precision 64上使用apt-get安装JDK - Install JDK with apt-get on ubuntu precise 64 在Ubuntu 16.04中执行命令“ sudo apt-get install oracle-java6-installer”时出错 - Error during the execution of command “sudo apt-get install oracle-java6-installer” in Ubuntu 16.04 JDK可以使用`apt-get install`吗? - Can `apt-get install` be used for JDK? Docker Java:7映像apt-get更新循环依赖项 - Docker java:7 image apt-get update cyclic dependencies apt-get安装oracle java 7停止工作 - apt-get installing oracle java 7 stopped working 使用 Beam Java SDK 在 Google Dataflow 上安装 apt-get 依赖项 - Install apt-get dependencies on Google Dataflow with Beam Java SDK 使用 apt-get 在 Google Compute Engine 实例上安装 Java 8 - Installing Java 8 on a Google Compute Engine instance with apt-get apt-get install -y openjdk-8-jdk 失败 - Apt-get install -y openjdk-8-jdk fails 每当我运行“apt-get install php5-gd php-mysql”时,它在Ubuntu 14.04上声明“无法找到包php-mysql” - Whenever I run “apt-get install php5-gd php-mysql” it states “Unable to locate package php-mysql” on Ubuntu 14.04 如果Linux Distro没有从正在运行的Java程序中安装它,我如何告诉Linux Distro apt-get安装LibVLC? - How can I tell a Linux Distro to apt-get install LibVLC if it doesn't have it from a running Java Program?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM