this post was submitted on 19 Oct 2023
48 points (98.0% liked)

Free and Open Source Software

17926 readers
60 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

I don't understand what problem they are meant to solve. If you have a FOSS piece of software, you can install it via the package manager. Or the store, which is just a frontend for the package manager. I see that they are distribution-independent, but the distro maintainers likely already know what's compatible and what your system needs to install the software. You enjoy that benefit only through the package manager.

If your distro ships broken software because of dependency problems, you don't need a tool like Flatpak, you need a new distro.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 42 points 1 year ago (1 children)

Just a shot in the dark, but it sounds like you have never maintained software. If you have, then my apologies, but your experience must not have included much by way of dependency and version management. Dependencies and versions are a major source of headache for any software engineer and it’s a problem of our own making.

Having completely self-contained applications, while more bloated, makes maintenance and distribution exceedingly simpler and puts the burden of managing that solely on the developer of said application instead of burdening everyone down the line.

I remember when package managers didn’t exist. It was painful. This is the next step in the evolution of the Linux desktop that was mostly solved in Windows and effectively completely solved on macOS since some early 10.x version.

[–] [email protected] 21 points 1 year ago* (last edited 1 year ago) (3 children)

I would not call it a next step. Just another option. The big downsides include much larger on block storage size and worse yet much bigger memory foot print since your app cannot benefit from shared images. Worse system integration too.

In a world where block storage is huge and cheap and memory too maybe less important. I would not say it is without issues though. Maybe convenient but not optimal in a lot of ways.

[–] [email protected] 10 points 1 year ago

Flatpak does try to account for storage size by using shared base images. The main problem is that some Flatpak apps don't update to the latest base, and some use different base images altogether, meaning most of the time it needs to have several bases anyway.

[–] [email protected] 9 points 1 year ago (2 children)

From my understanding, Flatpak is built on top of OSTree, which will automatically deduplicate files across different packages. That said, I’m not sure if this extends to downloading packages. The site claims that it does do “delta updates,” which would hopefully mean that it doesn’t download files that are already on the system, even if they’re part of another package.

I’m just going off what I read in the docs. Someone with more understanding of the system can clarify.

[–] Still 1 points 1 year ago

it will deduplicate stuff but if you have dependency A v1.2 and A v1.3 for a different app they will both be there

delta updates refer to only downloading the parts of files that have changed, it reduces download time but may increase unpacking/patching time

[–] [email protected] 1 points 1 year ago

Don't know much about Linux, but looking to convert my EOL Asus C302 Chromebook to Linux, so trying to learn anywhere I can 😊

After reading all the comments for this post, if you're right about Flatpak de-duping, that would make a good portion of the arguments against moot.

Hopefully someone knowledgeable can step in and add some more info.

Incidentally, if anyone has a suggestion for a lightweight Linux distro that I can use on my Chromebook, any and all ideas are welcome 😁

[–] [email protected] 8 points 1 year ago (1 children)

If people want the Linux desktop to become more ubiquitous in homes, it better damn well be the next evolution. Someone’s grandmother isn’t going to get on the command line when apt inevitably decides to break.

The concept is not new, and Apple has had .app containers for a very long time that almost always just works. So clearly the concept has long been proven.

Perhaps flatpak, snap, appimage aren’t the final forms of this concept on Linux, but it’s a step toward making application packaging and distribution much more friendly for the common masses.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

That Apple can get their own relatively narrow platforms to work really says very little. Shocking if they could not.

As far as home use, Linux works fine. Both my wife and father in law use it too and they are not technical. Cannot remember the last time I had an apt issue or any other issue.

As far as snaps being better. Not my experience. I will take a native package any day over this other stuff. Just more integrated and reliable.