5 ms·
It seems better to use flatpak, snap or appimage. These can be created once and run on any distro. Flatpak and snaps also include permissions on a per applicati
by _-david-_ 5y ago
It seems better to use flatpak, snap or appimage. These can be created once and run on any distro. Flatpak and snaps also include permissions on a per application basis so you can have some level of sandboxing. It is also easy to have proprietary applications which could help with more widespread Linux usage.
- ElijahLynn 5y agoThat does seem better in the long run, especially if one has a very large disk drive. Until all packages are packaged up correctly, which could be many years from now. Something like AUR will be a necessity.
- _-david-_ 5y agoFlatpak allows for sharing dependencies so disk space is less important. Often times software don't use the same versions though.
- pantalaimon 5y agoflatpak and snap feel so heavy - the startup times are reason enough to dislike them
- AnIdiotOnTheNet 5y agoFlatpak also has unescapable limitations. For instance, Flatpak-installed Wireshark cannot actually capture packets. There is no way to give it the permissions at all.
- esarbe 5y agoAs mentioned in the issue[0], these limitations are not inescapable. It's just tedious to specify the permissions portal and currently there are no other applications that would require such a portal. So, not really a low-hanging fruit but certainly not insurmountable. [0] https://github.com/flathub/org.wireshark.Wireshark/issues/4 https://github.com/flathub/org.wireshark.Wireshark/issues/4
- AnIdiotOnTheNet 5y agoAs far as I can tell the escape is run dumpcap on the host and pipe the results through a fifo into the sandbox. Frankly that's pretty ridiculous and makes the flatpak nigh-useless. I'm not sure why flatpak is unable to support the ability to just not sandbox the application at all to allow for this sort of thing.
- esarbe 5y agoI guess that's because "this sort of thing" is really a very special use-case that is the primary focus of flatpak. That said: nothing prevents people from specifying an appropriate portal. I guess the intersection of people that a) want to run a network package capture program that for even for "normal" use requires root privileges or privilege escalation and b) want to run said app as a distro-independent software is rather small. Since the aim of flatpak is to provide easy sandboxing out of the box, I guess that running applications without sandboxing is not rally high priority for the developers. > Frankly that's pretty ridiculous and makes the flatpak nigh-useless. Not really. There are plenty of use-cases where flatpak shines.
- AnIdiotOnTheNet 5y ago> I guess the intersection of people that a) want to run a network package capture program that for even for "normal" use requires root privileges or privilege escalation and b) want to run said app as a distro-independent software is rather small. I don't see how these two things are at all related. There's no fundamental reason I can't have distro-independent software that is also able to run with root privileges if the user desires it. So it seems to me that Flatpak has baked-in this limitation (along with a bunch of others, but I digress). > Since the aim of flatpak is to provide easy sandboxing out of the box, I guess that running applications without sandboxing is not rally high priority for the developers. It would seem to me that not sandboxing something would actually be much easier than sandboxing it, but perhaps I'm unaware of a fundamental implementation detail of Flatpak. > Not really. There are plenty of use-cases where flatpak shines. That specific flatpak, not flatpak in general.
- esarbe 5y agoThere's no reason for a flatpak application to load slower than a 'native' application. It just namespacing[0] to separate the application Do you have measurements? Snap seems to be deeply flawed however. They use compressed files to store things that need to be mounted when one wants to run an application[1]. [0] https://github.com/containers/bubblewrap https://github.com/containers/bubblewrap [1] https://www.freecodecamp.org/news/managing-ubuntu-snaps/ https://www.freecodecamp.org/news/managing-ubuntu-snaps/