Creating a self-contained binary

I have a program (fldigi, pointed to by the github link) that uses dozens of shared libraries. I would like to be able to distribute a pre-compiled version of the program for testers. I could require each tester to install the shared libraries and compile the program for themselves, however, this would be extremely difficult for most users. What are some options for distributing a pre-compiled version of a linux program? Do I need to make a package for common distributions or common versions of each distribution? How about snap, nix, or flatpak? I don’t have much experience with using docker or preparing docker containers, and the particular program (fldigi) requires access to system hardware to function, which a containerized version would have to accommodate.

This is going to be a temporary solution and I hope once the program is done being tested, my changes can be pulled upstream and then distributions will include it that way.

hallettj,
@hallettj@leminal.space avatar

I’d go with Nix, but I may be biased by my enthusiasm for Nix

Max_P,
@Max_P@lemmy.max-p.me avatar

Seems like one of the few good use cases for AppImages.

SpaceNoodle,

Just statically link the libraries

profdc9,

The problem is that I don’t have static versions of most of the libraries available.

SpaceNoodle,

Not with that attitude.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.world
  • PowerRangers
  • thenastyranch
  • Youngstown
  • hgfsjryuu7
  • slotface
  • rosin
  • InstantRegret
  • tacticalgear
  • kavyap
  • osvaldo12
  • everett
  • DreamBathrooms
  • khanakhh
  • magazineikmin
  • anitta
  • Durango
  • mdbf
  • ngwrru68w68
  • modclub
  • cubers
  • vwfavf
  • ethstaker
  • cisconetworking
  • GTA5RPClips
  • normalnudes
  • Leos
  • tester
  • provamag3
  • All magazines