Distributing a program on Linux without a source

I want to be able to distribute the program on Linux without distributing the source with it. The current solution distributes tar.gz with pre-compiled binary. What is the easiest way to place this binary in the application menu? Is there a way to do this, which is common to most Linux distributions, but Ubuntu, Fedora, and OpenSUSE will be a priority.

+3
source share
8 answers

You need to create .deb and .rpm. The first covers Ubuntu (Debian variants) and the latest Red Hat variants. You can also provide a standalone executable file for other users who can do things like menus.

You will have to deal with the management of the Gnome and KDE menus, as well as different distributions to lay out their menus in different ways. There is also the issue of netbook options, such as Moblin, which have a netbook interface that probably has their own add-on mechanism. I don’t know if it is possible that one .deb processes both Gnome and KDE systems (for Ubuntu and Kubuntu respectively), but I believe that it is possible to reduce duplication of effort for Ubuntu.

+8
source

xdg-utils, ,

  • XDG-
  • XDG-

, .

+4

... ( ), Linux, RPM ( , - RPM).

RPM:

Linux Online - RPM

+2
+2
+1

tar.gz, . RPM, DEB ... , , , .

, , . , "", ""... . , , ...

RPM DEB , . , , .

+1

JeeBee , .deb .rpm.

Ubuntu/Debian (.deb) , , "", url /etc/apt/sources.list, .

.

, :

:

Atmels i386, , amd64.

/Johan

0

Source: https://habr.com/ru/post/1711656/


All Articles