Flatpaks aren’t huge at all. This is a debunked myth. I can’t recommend reading this article enough.

46 points

So you only need to use two technologies that add complexity and cost performance (filesystem compression and deduplication) to get to the point where you are still 10+% higher in disk space use? I am not sure your post supports the argument it is trying to make.

permalink
report
reply
24 points

Author here. The distro comes with the filesystem compression and deduplication already set up and I don’t need to manage it, so of course I’m going to use it.

Given the cost of storage I have no problems spending a barely noticeable amount of space to use flatpaks given all the problems they solve.

permalink
report
parent
reply
-2 points

given all the problems they solve.

?

End of text?

permalink
report
parent
reply
1 point

I feel like they assumed people were familiar with flatpak.

But one big problem is software availability and distribution. Developers don’t care to make a version for every distro and keep it up to date. That’s work that distro repo packagers need to do. And that’s a shitload of work, divided between loads of distros and their repos. For user the effect from this would be that an app might not get updates very quickly or that the app simply isn’t in the repo. Flatpak solves this in that developer (or someone) can make a flatpak of the app and it’s easily available to everyone. Cuts down a ton of work and improves app availability for users.

permalink
report
parent
reply
16 points
*

What’s the use case where storage is at enough of a premium to matter? None of this is targeting a server where you’re getting silly with optimizing storage, and even the smallest storage on most consumer facing hardware is filled by media one way or another. It straight up doesn’t matter to a reasonable end user. Storage is less than dirt cheap.

permalink
report
parent
reply
13 points

Ah yes. The mindset of: I have lots of money to spend on storage, so we shouldn’t care about optimisation for less fortunate users.

permalink
report
parent
reply
7 points

No, the mindset that the storage is less than pennies worth and this usage would have to explode massively to even approach negligible.

A device that is affected in any way by a GB of storage space is going to choke on 50 other things way before you get to that.

permalink
report
parent
reply
1 point

I have over a decade old used and and beat up laptop. Even that had enough space that the extra space use from flatpak was never an issue.

I feel like you’re being a bit too dramatic here. Even old as shit laptops and desktops aren’t so space starved that flatpak use would he a huge issue.

permalink
report
parent
reply
5 points

Deduplications comes with flatpak for free. Both systems had filesystem compression, so this one doesn’t count. 10% higher disk space is neglectible on most systems and the containerisation makes it worth it.

permalink
report
parent
reply
2 points

Compression often improves performance as it means reading less data from storage. Deduplication, as flatpak uses it, is free.

permalink
report
parent
reply
1 point

It was a one or two gigs difference. Do you really consider that a huge space use?

permalink
report
parent
reply
-6 points

If I had to suffer only having 600GB of free disk space instead of 640GB of free disk space I’d shoot myself

permalink
report
parent
reply
28 points

But it occupies a freaking crazy amount of space. People do really be on drugs when going with these religious strong stances.

permalink
report
reply
27 points

Yeah last time I tried Flatpak it took like 3 apps to completely fill up my laptop’s root partition and use nearly as much space as my Arch install on its own. For some reason they all used a different platform/runtime/whatever they call it. Oh this one uses the latest Gnome 3, this other one the version before, and that other one Gnome 4. Same with KDE apps, they’d also pull different versions of KDE frameworks and Qt versions. How many versions of Gnome and KDE do I need, just run it on whatever’s the latest.

Granted, my fault for not having quite a big enough root partition. But I’m skeptical about the methodology of the article because it doesn’t match real world experience at all, at least for me.

permalink
report
parent
reply
10 points
*
Deleted by creator
permalink
report
parent
reply
2 points

The article tries to explain how it works but I don’t think people really get it. With flatpak, since it uses runtimes, the initial few apps use an inordinate amount of space. But when you get two five and then ten apps, the space use gets lower and lower thanks to dedupping and sharing the runtimes.

So for one or two apps, it might be a lot of space per app. For five, then ten, then twenty, it won’t really matter anymore, the difference to traditional distro packaging becomes so small that normal desktop systems won’t notice it.

permalink
report
parent
reply
2 points

No, it doesn’t occupy a crazy amount of space. I feel like this is what people think when they see that the initial first flatpak they’re about to install is big lol

permalink
report
parent
reply

This is the exact same mentality that’s resulted in the overconsumption and waste that’s currently killing the planet. “Bandwidth is cheap! Diskspace is cheap! May as well be sloppy and wasteful, because resources are cheap.” Sound familiar? It has an impact on real world resource usage; the computer industry alone is driving strip-mining as we try to satisfy demands for more rare elements needed to make computers-

Bandwidth and storage are cheap… if you live in a first-world country. Increasing storage demands drive up real-world crass consumerism to upgrade, upgrade; it allows developers to be lazy and write unoptimized, crap software and distribute web applications packaged up and thinly disguised as desktop apps that consume significants percentages of CPU, memory, and disk at (apparent) idle, as they waste bandwidth polling the network - I’m looking at you, almost every Electron app.

If you think sloppy and wasteful software (flatpack as an example isn’t sloppy, but it is wasteful) isn’t responsible for real world wasteful consumerism, ask yourself why you upgraded your last computer. Was it too slow? Not enough memory? Did you buy a bigger disk because it was pretty?

People bitch about proof-of-work cryptocurrency wasting electricity, and rightly so. But they do it while installing shit 1GB Electron chat programs on their computers, and 70MB calculators on their phones. Which they then upgrade because it’s “too slow,” or because they need “the bigger GBs.” Flatpack and Snap aren’t as bad as Node, but they’re part of the “waste” trend, make no mistake.

permalink
report
reply
11 points

I don’t think the article was defending bloated applications. Instead, it was defending Flatpak’s use of storage.

permalink
report
parent
reply

You are right, and I understood that, but the methodology he uses - and therefore the conclusions - is wrong. He tests two virgin installs, adds some applications, and reaches a conclusion. It’s like saying that I watched a baby be born and live until she was five, and so I’ve proven humans live forever. I also want him to confirn that no Flatpack was used for any packages on the Workstation 36 machine; I can’t speak for Fedora, but on Arch AUR there are some packages that depend on Flatpack and will install it because that’s the only way upstream releases it. So you can easily unintentionally end up with Flatpack on your Arch box if you’re not careful.

Let’s see a real-world, used desktop comparison with multiple package upgrade cycles after a year.

permalink
report
parent
reply
2 points

I didn’t use any flatpaks on the workstation install. I’m about three years with this setup on 4 computers through multiple OS updates, works great.

permalink
report
parent
reply
4 points

You had me in the first half, not gonna lie

permalink
report
parent
reply
3 points

@sxan @beta_tester EXACTLY, I am glad SOMEBODY gets it.

permalink
report
parent
reply
22 points

I still don’t like that flatpak never knows how much it has to download

permalink
report
reply
4 points

100MB/80MB

permalink
report
parent
reply
17 points

even on a 64GB (space, not RAM) machine, I would use a flatpak centric installation. The 1GB difference isn’t really that important, imo.

permalink
report
reply
3 points

To me it is. 1gb itself isn’t so bad, but I have a handful of things I could save 1gb on, so I do it for all when it works suitably for me.

permalink
report
parent
reply
2 points
*
Deleted by creator
permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 7.7K

    Monthly active users

  • 6.5K

    Posts

  • 179K

    Comments