3 ms·
A way to do that in a cross-distro way with (almost) no dependencies is via AppImage[1]. This creates a single executable that contains your application and all
by badsectoracula 9y ago
A way to do that in a cross-distro way with (almost) no dependencies is via AppImage[1]. This creates a single executable that contains your application and all the necessary libraries and data files.
There is also work towards a more modular approach with Flatpak and Snaps, but those require support from the distro side. AppImage doesn't need any specific distro support.
[1] https://appimage.org/ https://appimage.org/
- AnIdiotOnTheNet 9y agoAnd even AppImage, a solution I frequently praise mind you, doesn't always work right. It's 2018 and the Linux Desktop still doesn't have a consistent way to... well do anything now that I think about it, but that you can't even reliably distribute an application is pretty insane. Flatpak and Snaps are a typical Linux Desktop solution: Over-engineer the shit out of it.
- badsectoracula 9y agoAFAIK the only issue that could make AppImage to not work is lack of FUSE support, but any modern distribution should have that enabled. Beyond that, AppImage is really just a container. It is still up to the developer to bundle the necessary dependencies (libraries, runtimes, VMs, data files, etc), but this is something they'd need to do with Windows too. What problems do you have with it?
- AnIdiotOnTheNet 9y agoI have only ever used one, personally, but users of NixOS don't seem to be able to use them out of the box. > It is still up to the developer to bundle the necessary dependencies (libraries, runtimes, VMs, data files, etc), but this is something they'd need to do with Windows too. Only for libraries not present in the base system. Problem with Linux Desktop world is that they seem to actively loathe the concept of a consistent base system.