News for hackers. Stuff that matters.
Re:Why Flatpak Apps Use So Much Disk Space on Linux by loloquwowndueo on Sunday May 04, 2025 @12:52PM (#43887831)
“Storage is cheap” goes the saying. Other people’s storage has a cost of zero, so why not just fill it up with 100 copies of the same dependency.

These package formats (I’m looking at you snap as well) are disrespectful of users’ computers to the point of creating a problem where due to size, things take so long and bog the computer down so much, that the resource being used is no longer storage, but time (system and human time). And THAT is not cheap at all.

Don’t believe me, install a few dozen snaps, turn the computer off for a week, and watch in amazement as you turn it back on and see it brought to its knees as your computer and network are taxed to the max downloading and applying updates.

Re:Why Flatpak Apps Use So Much Disk Space on Linux by neuroelectron on Sunday May 04, 2025 @03:39PM (#43888959)
For a long time, storage was getting cheaper all the time but we've hit scaling walls in both CPUs and drives. I remember when I was a kid and bought Mechwarrior 2 a game that could use up to 500mb! The guy working the video game locker warned me "are you sure you have enough hard drive space?" after having just bought a 2gb drive for like $60, or something, I don't remember exactly. A concern that would have been valid maybe a year earlier.
Re:Why Flatpak Apps Use So Much Disk Space on Linux by m4rtink on Sunday May 04, 2025 @01:45PM (#43888166)
Snaps do zero deduplication and bundle everything AFAIK - flatpak at least does some deduplication on file level and has shared runtimes.
Re:Why Flatpak Apps Use So Much Disk Space on Linux by brlin2021 on Sunday May 04, 2025 @03:30PM (#43888897)
This statement is false as snaps also have shared runtimes known as "content snaps".

A common example is the ones with the gnome- prefix and the ones that end with -themes suffix.

Re:Why Flatpak Apps Use So Much Disk Space on Linux by loloquwowndueo on Sunday May 04, 2025 @03:57PM (#43889103)
Wherein snaps found themselves reinventing shared libraries - at which point, what’s really the point.
Re:Why Flatpak Apps Use So Much Disk Space on Linux by Seattle3503 on Sunday May 04, 2025 @04:08PM (#43889186)
I think the point is that maintainers and developers now have a choice of whether they want to share libraries or not. Before the only choice was to share dependencies.
Re:Why Flatpak Apps Use So Much Disk Space on Linux by hedora on Sunday May 04, 2025 @05:59PM (#43889960)
There has been a choice between shared and static linking since before the Linux kernel existed.

What system are you talking about?

Re:Why Flatpak Apps Use So Much Disk Space on Linux by patrakov on Sunday May 04, 2025 @10:42PM (#43891520)
Any modern distro. Static libraries are simply not built anymore, so you have nothing to link with, unless you rebuild the whole subsystem yourself.
Re:Why Flatpak Apps Use So Much Disk Space on Linux by hedora on Tuesday May 06, 2025 @12:20PM (#43906853)
If that's true, it'll be the second thing I check after making sure a distro I'm considering isn't using systemd.

Anyway, you had me worried for a minute, but:

https://packages.debian.org/source/bookworm/libs/

Click on a C library. Click on the *-dev package. There's a 1:1 mapping of .so to .a in the packages I spot checked.

Now I'll go back to enjoying Devuan.

Re:Why Flatpak Apps Use So Much Disk Space on Linux by wtarreau on Sunday May 04, 2025 @01:28PM (#43888061)
Not to mention the catastrophic security that comes with these systems. On a local ubuntu, I've had exactly 4 different versions of the sudo binary. One in the host OS and 3 in different snaps (some were the same but there were a total of 4 different). If they had a reason to be different, it's likely for bug fixes, but not all of them were updated, meaning that even after my main OS was updated, there were still 3 bogus binaries exposed to users and waiting for an exploit to happen. I find that this is the most shocking aspect of these systems (and I'm really not happy with the disrespect of my storage, like you mention).
Re:Why Flatpak Apps Use So Much Disk Space on Linux by brlin2021 on Sunday May 04, 2025 @03:32PM (#43888909)
The sudo binaries in the snaps are likely to have their SUID bit stripped, so they won't cause any trouble even if they have known vulnerabilities.
Re:Why Flatpak Apps Use So Much Disk Space on Linux by yjftsjthsd-h on Sunday May 04, 2025 @03:01PM (#43888683)
Why do snaps have sudo at all?
Re:Why Flatpak Apps Use So Much Disk Space on Linux by 2OEH8eoCRo0 on Sunday May 04, 2025 @03:43PM (#43888996)
Devil's advocate- We have hundreds of stupid distros making choices and the less I need to deal with their builds the better.
Re:Why Flatpak Apps Use So Much Disk Space on Linux by delusional on Sunday May 04, 2025 @04:05PM (#43889166)
Yeah, I only trust the random developers that are probably running windows to package my Linux software.

The people making those "stupid distros" are (most likely by number) volunteers working hard to give us an integrated experience, and they deserve better than to be called "stupid".

Re:Why Flatpak Apps Use So Much Disk Space on Linux by codedokode on Monday May 05, 2025 @06:09AM (#43893411)
Yes but they are working in the wrong direction. Instead of trying to make ports for existing software they should just provide a standard environment for third-party apps.
Re:Why Flatpak Apps Use So Much Disk Space on Linux by delusional on Monday May 05, 2025 @02:57PM (#43898261)
How would you provide a "standard" environment when the third party apps all depend on other third party apps. What would the "standard" environment be for streamlink when it itself is part of the "standard" environment of streamlink-twitch-gui? How about curl, mpv, ffmpeg, libc? How do you evolve such a "standard" environment without the assistance of the third parties (because many of them will never help you).

Debian puts in a massive effort to be a long term stable "standard" system. I've found that effort to be wasteful. I'd much rather just take the occasional (although surprisingly rare) breakage than live with the limitations of old packages. That's a matter of taste though, and greatly depends on the effort of the upstream developers.

Re:Why Flatpak Apps Use So Much Disk Space on Linux by api on Sunday May 04, 2025 @03:47PM (#43889032)
Containerization is and always was the ultimate “fuck it” answer to these problems.

“Fuck it, just distribute software in the form of tarballs of the entire OS.”

Re:Why Flatpak Apps Use So Much Disk Space on Linux by throwaway314155 on Sunday May 04, 2025 @04:10PM (#43889198)
> watch in amazement as you turn it back on and see it brought to its knees as your computer and network are taxed to the max downloading and applying updates.

A touch overly dramatic...

Re:Why Flatpak Apps Use So Much Disk Space on Linux by loloquwowndueo on Monday May 05, 2025 @06:11PM (#43899941)
If you think it’s dramatic it’s because you have never seen it happen - I have. My description is accurate :)
Re:Why Flatpak Apps Use So Much Disk Space on Linux by api on Sunday May 04, 2025 @03:46PM (#43889019)
There are things like content defined chunking and content based lookup. Evidently that’s too hard.
Re:Why Flatpak Apps Use So Much Disk Space on Linux by XorNot on Sunday May 04, 2025 @05:01PM (#43889550)
The problem on Linux is that hard links are exactly what you don't want.

If hard links from the get go were copy on write, then I suspect content defined storage would've become the standard because it would be easy.

Instead we have this construct which makes it hard and dangerous (hard links hide data dependencies) on most Linux filesystems and no good answers (even ZFS can't easily handle a cp --reflink operation, and the problem is it's not the default anyway).

Re:Why Flatpak Apps Use So Much Disk Space on Linux by api on Tuesday May 06, 2025 @12:49PM (#43907148)
Use either symbolic links (which is fine in most cases) or overlay filesystems. I agree that hard links are usually not what you want.
Re:Why Flatpak Apps Use So Much Disk Space on Linux by zdragnar on Sunday May 04, 2025 @01:34PM (#43888090)
It would be fantastic if there was a way for these to declare what libraries they needed bundled, and a manager that would install the necessary dependencies into a shared location, so that only what wasn't already installed got downloaded.

Oh wait...

Re:Why Flatpak Apps Use So Much Disk Space on Linux by gjsman-1000 on Sunday May 04, 2025 @01:38PM (#43888122)
Sure, but we’ve tried that technique for about 20 years.

We learned that most app developers hate it; to the point they don’t even bother supporting the platform unless they are FOSS diehards.

Those that do screech about not using the packaged version on almost all of their developer forums, most often because they are out of date and users blame them for bugs that were already fixed.

This actually is infuriating - imagine fixing a bug, but 2 years later, the distribution isn’t shipping your update, and users are blaming you and still opening bug reports. The distribution also will not be persuaded, because it’s the “stable” branch for the next 3 years.

Basically, Linux sucks terribly, either way, with app distribution. Linux distributions have nobody to blame but themselves for being ineffectual here.

Re:Why Flatpak Apps Use So Much Disk Space on Linux by dredmorbius on Sunday May 04, 2025 @03:50PM (#43889057)
...imagine fixing a bug, but 2 years later, the distribution isn’t shipping your update...

This grossly misstates the concept of a stable distribution (e.g., Debian stable, with which I'm most familiar).

Debian stable isn't "stable" in that packages don't change, to the point that updates aren't applied at all, it's stable in that functionality and interfaces are stable. The user experience (modulo bugs and security fixes) does not change.

Stable does receive updates that address bugs and security issues. What Stable does not do is radically revise programs, applications, and libraries.

Though it's more nuanced than that even: stable provides several options for tracking rapidly-evolving software, the most notorious and significant of which are Web browsers with the major contenders updating quite frequently (quarterly or monthly, for example, for Google Chrome "stable" and "dev" respectively). That's expanded further with Flatpack, k8s, and other options, in recent years.

The catch is that updates require package maintainers to work on integrating and backporting fixes to code. More prominent and widely-used packages do this. The issue of old bugs being reported to upstream ... is a breakage of the system in several ways: distro's bug-tracking systems (BTSes) should catch (and be used by) their users, upstream BTSes arguably should reject tickets opened on older (and backported) versions. The solutions are neither purely technical nor social, which makes solutions challenging. But in reality we should admit that:

- Upstream developers don't like dealing with the noise of stale bugs.

- Users are going to rant to upstream regardless of distro-level alternatives.

- Upstreams' BTSes should anticipate this and automate redirection of bugs to the appropriate channel with as little dev intervention as possible. Preferably none.

- Distros should increase awareness and availability of their own BTS systems to address bugs specific to the context of that distro.

- Distro maintainers should be dilligent about being aware of and backporting fixes and only fixes.

- Distros should increase awareness and availability of alternatives for running newer versions of software which aren't in the distro's own stable repos.

Widespread distance technological education is a tough nut regardless, there will be failings. The key is that to the extent possible those shouldn't fall on upstream devs. Though part of that responsibilty, and awareness of the overall problem, does* fall on those upstream devs.

Re:Why Flatpak Apps Use So Much Disk Space on Linux by dredmorbius on Monday May 05, 2025 @01:20AM (#43892125)
And just to provide some references so you don't have to take my word for it, from the Debian FAQ:

"2.2. Are there package upgrades in "stable"?"

Generally speaking, no new functionality is added to the stable release. Once a Debian version is released and tagged "stable" most packages will only get security updates.... there are some cases in which packages will be updated in stable ... When an urgent update is required to ensure the software continues working. The package is a data package and the data must be updated in a timely manner. The package needs to be current to useful to end user (e.g. some security software, such as anti-malware products)....

And:

Users that wish to run updated versions of the software in stable have the option to use "backports". Backports are recompiled packages from testing (mostly) and unstable (in a few cases only, e.g. security updates), so they will run without new libraries (wherever it is possible) on a stable Debian distribution.

Debian is strict in interpreting security updates:

Security updates serve one purpose: to supply a fix for a security vulnerability. They are not a method for sneaking additional changes into the stable release without going through normal point release procedure.

<https://www.debian.org/doc/manuals/debian-faq/getting-debian...>

Re:Why Flatpak Apps Use So Much Disk Space on Linux by Dylan16807 on Monday May 05, 2025 @02:46AM (#43892504)
Your first comment says "Stable does receive updates that address bugs and security issues."

But your quote about stable says "most packages will only get security updates".

So assuming their bug fix isn't security-relevant, it sounds like their original complaint is valid? I don't see how it's "grossly misstating" how stable works.

Backports are useful but the default is that the user is on the buggy stable version.

Re:Why Flatpak Apps Use So Much Disk Space on Linux by dredmorbius on Monday May 05, 2025 @06:59AM (#43893665)
In practice, Debian stable gets bugfixes. I included (and quoted) the Debian FAQ on this matter largely so that I wasn't simply arguing by assertion.

See for example the Debian 12.10 release notes. This is an update to the Debian Stable v.12 release:

The Debian project is pleased to announce the tenth update of its stable distribution Debian 12 (codename "bookworm"). This point release mainly adds corrections for security issues, along with a few adjustments for serious problems. Security advisories have already been published separately and are referenced where available.

<https://www.debian.org/News/2025/20250315.en.html>

Strong emphasis on "mainly adds corrections", but "along with a few adjustments for serious problems."

That is, in practice, Debian stable receives both security and bugfix updates.

You and other readers are strongly encouraged to look through Debian sources (release notes, Policy, Constitution, and individual package updates within stable repos) to verify other questions before posting further concerns here.

Re:Why Flatpak Apps Use So Much Disk Space on Linux by codedokode on Monday May 05, 2025 @06:02AM (#43893376)
> Users are going to rant to upstream regardless of distro-level alternatives.

This might be because upstream uses Github and the distribution bug tracker requires some high-level programming skills simply to post anything there. For example, try to post a bug to Debian.

Also simply obtaining a backtrace with symbols is a pain in most distributions.

Re:Why Flatpak Apps Use So Much Disk Space on Linux by dredmorbius on Monday May 05, 2025 @08:30AM (#43894375)
For example, try to post a bug to Debian.

reportbug:

<https://packages.debian.org/bookworm/reportbug>

Re:Why Flatpak Apps Use So Much Disk Space on Linux by rlpb on Sunday May 04, 2025 @01:46PM (#43888175)
> The distribution also will not be persuaded, because it’s the “stable” branch for the next 3 years.

This is exactly what users want, though. Eg. if they want to receive updates more frequently on Ubuntu then they can use the six monthly releases, but most Ubuntu users deliberately choose the LTS over that option because they don't want everything updated.

Re:Why Flatpak Apps Use So Much Disk Space on Linux by gjsman-1000 on Sunday May 04, 2025 @01:48PM (#43888186)
But if you’re a developer, that doesn’t change that many users do not understand, will not understand, and will open bug reports regularly.

When that happens, guess what you do? You trademark your software’s name and use the law to force distributions to not package unless concessions are granted. We’re beginning to see this with OBS, but Firefox also did this for a while.

As Fedora quickly found, when trademark law gets involved, any hope of forcing developers to allow packaging through a policy or opinion vote becomes hilariously, comically ineffectual.

The other alternative is to just not support Linux. Almost all major software has been happily taking that path, and the whole packaging mess gives no incentive to change.

Re:Why Flatpak Apps Use So Much Disk Space on Linux by dredmorbius on Sunday May 04, 2025 @03:51PM (#43889065)
What's the Fedora trademark issue?
Re:Why Flatpak Apps Use So Much Disk Space on Linux by mook on Sunday May 04, 2025 @05:03PM (#43889565)
Fedora had their own OBS Flatpak that had known-buggy (but newer and "supported") dependencies.

https://lwn.net/Articles/1011511/

Re:Why Flatpak Apps Use So Much Disk Space on Linux by dredmorbius on Sunday May 04, 2025 @10:30PM (#43891467)
Thanks!
Re:Why Flatpak Apps Use So Much Disk Space on Linux by mananaysiempre on Sunday May 04, 2025 @01:56PM (#43888248)
> When that happens, guess what you do?

Ban the user that did not read go to the distro’s maintainers first.

Re:Why Flatpak Apps Use So Much Disk Space on Linux by rlpb on Sunday May 04, 2025 @05:25PM (#43889712)
> You trademark your software’s name and use the law to force distributions to not package unless concessions are granted.

It isn't clear if this behaviour is legally enforceable. Distributions typically try to avoid the conflict. But they could argue that "we modified Firefox to meet our standards and here is the result" is a legally permitted use of that trademark. To my knowledge, this has never been tested.

Re:Why Flatpak Apps Use So Much Disk Space on Linux by martinald on Sunday May 04, 2025 @04:33PM (#43889354)
At the end of the day the 'traditional' Linux packaging system in where distributions do it all for you is totally outdated. Tbh I can remember in the early/mid 2000s being extremely annoyed with this so I don't know if it was ever a good model.

On SaaS/mobile apps you have often daily new versions of software coming out. That's what users/developers want. They do not want 3 year+ stale versions of their software being 'supported' by a third party distro. I put supported in comments as it only really applies to security and what not; not terrible bugs in the software that are fixed in later versions.

Even on servers where it arguably makes more sense it has been entirely supplanted by Docker which ships the _entire OS_ more or less as the 'app'. And even more damingly, most/nearly all people will use a 3rd party Docker repo to manage the docker 'core' software updates itself.

And the reason noone uses the six monthly releases is because the upgrade process is too painful and regresses too much. But - even if it was 100% bulletproof, noone wants to be running 6-12 month out of date software on that either. Chrom(ium) is updated monthly and has a lot of important new features in it. You don't really want to be running 6-9 months out of date on that.

Re:Why Flatpak Apps Use So Much Disk Space on Linux by HdS84 on Sunday May 04, 2025 @05:39PM (#43889805)
Exactly. In theory, the original windows 10 model is the one most users want: a perpetually up to date os which runs also up to date software. Yes, of there might be reasons the pin something to an older version, but it this pc is on a network, security alone tells you to update ASAP. Don't get me wrong, a working package manager is a very good addition to this model. But currently, most of the time setting up a ltm Linux system I spent on updating ancient git/docker whatever versions.
Re:Why Flatpak Apps Use So Much Disk Space on Linux by hedora on Sunday May 04, 2025 @06:08PM (#43890005)
Which users want UIs to change (and often break) multiple times a month?

Do you have any evidence to back that statement up?

Re:Why Flatpak Apps Use So Much Disk Space on Linux by eikenberry on Sunday May 04, 2025 @04:45PM (#43889438)
It would be even more fantastic if there was a way to compile everything into a single binary and distribute that so that there are no dependencies (other than the kernel).

Oh wait...

Re:Why Flatpak Apps Use So Much Disk Space on Linux by hedora on Sunday May 04, 2025 @06:03PM (#43889980)
Yeah, but what if you wanted multiple copies of a library and also wanted to let more than one program share each version?

You’d need some sort of system that stores files and lets you name those files and also makes it possible for software to look them up by name.

Oh wait…

Re:Why Flatpak Apps Use So Much Disk Space on Linux by eikenberry on Sunday May 04, 2025 @07:11PM (#43890415)
Shared libraries suck. It is much better to have a single binary w/ zero library dependencies. The only reason we can't have this is because of sub-standard tooling that makes compiling so expensive that we must suffer shared libraries.
Re:Why Flatpak Apps Use So Much Disk Space on Linux by 01HNNWZ0MV43FF on Sunday May 04, 2025 @09:22PM (#43891149)
Not really. More like, there are some languages that don't support static builds (Python, glibc) and other languages that don't support dynamic libraries (rust) and I'm so tired and this unit was built to frolic in meadows
Re:Why Flatpak Apps Use So Much Disk Space on Linux by tgpc on Monday May 05, 2025 @01:29AM (#43892149)
shared libs happened because memory was scarce

pretty cool that we are undoing it as a design decision

but it will take a long time

Re:Why Flatpak Apps Use So Much Disk Space on Linux by hedora on Tuesday May 06, 2025 @12:05PM (#43906700)
You missed the joke.

Flatpak is not getting rid of shared libraries. They're just reimplementing them in a way that's strictly worse in multiple ways.

Re-read the section "How Flatpak Tries to Save Space: Runtimes and Deduplication" in the article.

Re:Why Flatpak Apps Use So Much Disk Space on Linux by ImJamal on Sunday May 04, 2025 @05:03PM (#43889566)
That is how Flatpak works right now? If you read the article you can read about two different ways of handling it, runtimes and deduplication.

The problem is the applications have to use the exact same version of a library to get the benefits. With traditional package managers they usually only have 1 version available. With Flatpak you can choose your own version which results in many versions and as such they do not share dependencies. If distros had multiple versions of libraries you would end up with the exact same problem.

Re:Why Flatpak Apps Use So Much Disk Space on Linux by Gigachad on Sunday May 04, 2025 @06:10PM (#43890026)
Flatpaks do that. The difference is that they let you pick any version of libraries rather than locking everything to fixed versions. So you end up with software that’s less broken, updates sooner, but has multiple copies of libraries on your computer.
Re:Why Flatpak Apps Use So Much Disk Space on Linux by codedokode on Monday May 05, 2025 @05:48AM (#43893317)
Nice idea, but there is a small problem.

There are probably tens of thousand (if not more) of third-party applications for Linux-like systems, and hundreds of distributions, making new releases twice a year. This multiplies to 10 000 × 100 × 2 = 2 000 000 ports per year.

Who is going to write 2 million ports per year, thoroughly test it and fix the compatibility bugs?

Re:Why Flatpak Apps Use So Much Disk Space on Linux by dheera on Sunday May 04, 2025 @01:55PM (#43888241)
To be fair, shared libraries have been problematic since the beginning of time.

In the Python world, something wants numpy>=2.5.13, another wants numpy<=2.5.12, yet Python has still not come up with a way to just do "import numpy==2.5.13" and have it pluck exactly that version and import it.

In the C++ world, I've seen code that spits out syntax errors if you use a newer version of gcc, others that spit out syntax errors if you use an older version of gcc, apt-get overwrites the shared library you depended on with a newer version, lots of other issues. Install CUDA 11.2, it tries to uninstall CUDA 11.1, never mind that you had something linked to it, and that everything else in that ecosystem disobeys semantics and doesn't work with later minor revisions.

It's such a shitshow that it fully makes sense to bundle all your dependencies if you want to ship something that "just works".

For your customer, storage is cheaper than employee time wasted getting something to work.

Re:Why Flatpak Apps Use So Much Disk Space on Linux by loloquwowndueo on Sunday May 04, 2025 @03:58PM (#43889110)
Right but snaps don’t solve dependency hell (see content snaps which are shared library bundles).
Re:Why Flatpak Apps Use So Much Disk Space on Linux by o11c on Sunday May 04, 2025 @04:10PM (#43889199)
That's what everybody uses `venv` for. Or `virtualenv` if you're stuck on old Python.

But as a rule, `<=` dependencies mean there's either a disastrous fault with the library, or else the caller is blatantly passing all the "do not enter" signs. `!=` dependencies by contrast are meaningful just to avoid a particular bug.

Re:Why Flatpak Apps Use So Much Disk Space on Linux by int_19h on Sunday May 04, 2025 @06:32PM (#43890159)
Virtual environments don't solve the problem of two dependencies that you need having conflicting requirements.
Re:Why Flatpak Apps Use So Much Disk Space on Linux by o11c on Sunday May 04, 2025 @08:28PM (#43890832)
That subproblem is fundamentally unfixable unless you're willing to allow incompatible objects to be passed around, which is a really bad idea.

If your code does:

  o = foo_v1.get_obj()
  foo_v2.use_obj(o)
then this is almost always undefined behavior, since the authors of `foo` will almost certainly not write their APIs to accept instances with different internals.
Re:Why Flatpak Apps Use So Much Disk Space on Linux by Dylan16807 on Monday May 05, 2025 @03:05AM (#43892580)
With a more advanced system you can look at whether a package's use of foo is exposed in its API or completely internal, and then allow different isolated islands of packages to use different versions of foo.
Re:Why Flatpak Apps Use So Much Disk Space on Linux by dheera on Sunday May 04, 2025 @08:35PM (#43890867)
Venvs also suck because the user has to create and activate them.

It would be nice if a foo.py file could just deal with all of that.

A while ago I created this thing as a thought experiment. It likely doesn't work with more recent version of python though: https://news.ycombinator.com/item?id=24735303

It was partly in jest but I was not entirely un-serious; I think "dealing with dependencies" is quite possibly the biggest reason why Python isn't used to distribute end-user applications. It's a wonderful language but a really shitty import system. There are various attempts to make the experience better (pipx, poetry) but you still can't ship a .py file to someone, have them double click and run it. They still have to conda something, venv something, pipx something.

Re:Why Flatpak Apps Use So Much Disk Space on Linux by yjftsjthsd-h on Monday May 05, 2025 @02:30AM (#43892443)
Re:Why Flatpak Apps Use So Much Disk Space on Linux by musicnarcoman on Sunday May 04, 2025 @04:38PM (#43889387)
"Storage is cheap" if you do not have to pay for it. It is not so cheap when you are the one paying for the organizations storage.
Re:Why Flatpak Apps Use So Much Disk Space on Linux by CoolCold on Sunday May 04, 2025 @09:52PM (#43891286)
You have savings from not using Windows in such a org - likely your Linux will be free or cheaper one
Re:Why Flatpak Apps Use So Much Disk Space on Linux by peter-m80 on Monday May 05, 2025 @02:40AM (#43892484)
Flatpack deduplicates dependencies and shares runtimes between apps
Re:Why Flatpak Apps Use So Much Disk Space on Linux by codedokode on Monday May 05, 2025 @05:33AM (#43893263)
Snap/flatpak style application packaging is absolutely necessary. Please let me explain this.

Every platform needs a way to distribute and install third-party applications. It is unlikely that the authors of the platform wrote all existing software so you need some way to install applications not included into an OS.

On Windows, there is such a mechanism - pack your application into a large installer exe. It is awful and not secure but at least it has been working for ages. For comparison, on Linux there is no such mechanism at all. Typical Linux distribution traditionally has only two supported ways to install software:

a) install more components from OS repository

b) write and compile the software yourself

While there is lot of third-party software for Linux, there is no universal distribution mechanism. Typically software developer only supports the release they are using. There may be ports - by other developers or by the distribution maintainers - but they are often broken and don't even start (for example, port of waydroid in Fedora).

Some port installation methods are outright dangerous, for example: running a curled script through sudo or adding a third-party repository to your package manager. That is a sure method to get a broken system, and it will be totally your fault because your distribution doesn't support such installation method so you got the result that was expected.

In my experience, Fedora, Ubuntu and Debian are especially bad for supporting applications other than Gimp or Libreoffice: the ports for these distributions are often broken, buggy, crash or even do not exist. For example: waydroid, carla, ardour.

The reason is that there are hundreds of releases of different distributions and nobody is going to port, test and maintain all applications for all of them. So the obvious solution is to choose a standard platform and write applications against this platform. I see no other solution. If I am writing some GUI application I am not interested in learning how Linux distributions are different from each other. I would rather ship an Alpine virtual machine image and not waste my time.

Flatpak/snap might become such platform but why they are so buggy? As I remember, Steam in flatpak is broken and cannot properly use GPU, VS Code is broken etc.

Re:Why Flatpak Apps Use So Much Disk Space on Linux by loloquwowndueo on Monday May 05, 2025 @09:02AM (#43894674)
No, this is an orthogonal concern. Bundling all the dependencies and killing users hard disks is not a solution to the “Every platform needs a way to distribute and install third-party applications” problem. If anything the proliferation of packaging formats and useless quibbles between snap and flatpak move us farther from the solution as there are now several competing dependency-bundling installers which require installing a package handler anyway.

In that respect flatpak is better because it’s more universally available than the Ubuntu-specific snaps (attempts at making snap cross-distro are laughable and failed) but it still introduces a bunch of tangential issues which are too much of a bother for the average user versus just doing “apt install” and moving on with their lives. PPAs cover this acceptably if suboptimally for Deb packages.