Recent

Author Topic: Discussion: How do you distribute your applications?  (Read 462 times)

Wesbat

  • New Member
  • *
  • Posts: 32
    • engrams.dev
Discussion: How do you distribute your applications?
« on: January 08, 2025, 12:32:41 pm »
Hello there. I am thinking about all the ways how to distribute my FPC-developed application. Windows is easy: an InnoSetup installer suffices nicely. Linux is a little trickier. FYI: I used this wiki page as my starting point.

My first attempt was an AppImage package. I wanted a solution independent of a third-party framework, while containerizing any dependencies (in my case, libsqlite) for a truly stand-alone experience (needless to say I did not succeed).

Moving on, I saw recommendations on these forums for 0Install. The process seems a bit daunting, and before I fall down that rabbit hole ...

I'd like to open a discussion to hear how you approach distributing your apps to end users. What is your preferred method to distribute for GNU / Linux? Do you opt for binary releases, or do you prefer to go the Makefile route and let the end users battle it out with the compiler?

Looking forward to your thoughts  :)

Thaddy

  • Hero Member
  • *****
  • Posts: 16299
  • Censorship about opinions does not belong here.
Re: Discussion: How do you distribute your applications?
« Reply #1 on: January 08, 2025, 12:46:22 pm »
(in my case, libsqlite) for a truly stand-alone experience (needless to say I did not succeed).
Why? You can link SQLite statically. So then your executable does not have any dependencies.
« Last Edit: January 08, 2025, 12:47:57 pm by Thaddy »
If I smell bad code it usually is bad code and that includes my own code.

TRon

  • Hero Member
  • *****
  • Posts: 3742
Re: Discussion: How do you distribute your applications?
« Reply #2 on: January 08, 2025, 01:00:05 pm »
What is your preferred method to distribute for GNU / Linux? Do you opt for binary releases, or do you prefer to go the Makefile route and let the end users battle it out with the compiler?
The way that the distribution prefer users to to distribute applications.

Thus explicitly not introducing other operating system methods to install applications.
I do not have to remember anything anymore thanks to total-recall.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11980
  • FPC developer.
Re: Discussion: How do you distribute your applications?
« Reply #3 on: January 08, 2025, 01:16:02 pm »
Do you opt for binary releases, or do you prefer to go the Makefile route and let the end users battle it out with the compiler?

Usually we also deliver hardware with an OS. Then we provide binary updates for that distro.  If we don't deliver the distro, we don't deliver binaries.

Though admitted, our Linux releasing is rather limited. Mostly simple TCP/IP based applications that bridge between main embedded binaries on Windows and a company network.

For windows we deliver binary (standlone binaries for preinstalled machines, though the software requirements are rather limited)

 

TinyPortal © 2005-2018