this post was submitted on 14 Dec 2023
94 points (92.7% liked)

Linux

48310 readers
645 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS
94
submitted 11 months ago* (last edited 11 months ago) by Pantherina@feddit.de to c/linux@lemmy.ml
 

Disclaimer

Flatpak uses OSTree, like Fedora Atomic Desktops (Silverblue, Kinoite etc) and similar to BTRFS snapshots.

So many files are deduplicated and linked, not actually there

https://gitlab.com/TheEvilSkeleton/flatpak-dedup-checker

50GB without
31GB with deduplication
21,4GB with BTRFS compression
you are viewing a single comment's thread
view the rest of the comments
[–] Quackdoc@lemmy.world 1 points 11 months ago (1 children)

I fell for the lie of flatpak not being bloated, I just nuked flatpak from my PC since I just run arch anyways. Im not sure if repo is safe to remove. You might be able to run rmlint -g and see how much data can be deduplicated on an FS level, I never checked myself since I run f2fs, but if you run an FS with dedupe capabilities it may work for you.

[–] Pantherina@feddit.de 4 points 11 months ago (3 children)

Flatpak uses ostree just as my system. So probably lots of the files are already deduplicated and it is not as dramatic as it seems.

[–] drwankingstein@lemmy.dbzer0.com 4 points 11 months ago* (last edited 11 months ago) (1 children)

It's not as dramatic for me but it's still bad. I myself freed at least 20 Gb from my computer when I remove flat pack and all of its crap. and migrated my apps to aur myself.

[–] Pantherina@feddit.de 2 points 11 months ago (1 children)

So you dont have isolation from the system and a working permission system anymore...

[–] drwankingstein@lemmy.dbzer0.com 2 points 11 months ago (1 children)

If I need isolation, I can use fire jail. And I don't know why I think they don't have a working permission system. It works perfectly fine.

[–] Pantherina@feddit.de 1 points 11 months ago (1 children)

Firejail has some major vulnerabilities if you want to be secure. Bubblejail would be preferred but it has even less documentation not to mention presets like with Flatpak. So you need to sandbox every app yourself afaik

[–] Quackdoc@lemmy.world 2 points 11 months ago

I am aware of that, but even with it there's still a decent amount of waste.