I have a single binary file that I want to distribute to our users and most of its dependencies are linked statically during build time, but there are few dependencies like
leveldb that need to be installed. These dependencies are installed using the
apt get install command.
What's the best way to distribute this? My idea is just a simple zip file archive that contains the binary and not to use deb or docker as I feel it is an overkill, but how do I 'automate' the installation of the dependencies? Maybe a bash file like
run.sh that contains the
apt get install line before running the binary, but how do I check that the dependencies are not yet available before installing them?