Probably the most portable method is to distribute the source code with necessary configuration so that each receiver can compile it themselves with GNU build system.
However, distributions prefer to use package management and that relies on packages that use the management system's format, e.g. RedHat's, Debian's, etc. In other words, one size does not fit all.