Flatpak can look daunting...

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

gitlab.com/TheEvilSkeleton/flatpak-dedup-checker


<span style="color:#323232;">50GB without
</span><span style="color:#323232;">31GB with deduplication
</span><span style="color:#323232;">21,4GB with BTRFS compression
</span>
Still,
@Still@programming.dev avatar

I think at one point I had like 2.5 tb of stuff stored on my 2 tb drive in my laptop, deduplication and btrfs compression is fun

chitak166, (edited )

Immutability and sandboxing are, and always have been, a meme.

DangerousInternet, (edited )
@DangerousInternet@lemmy.world avatar

deleted_by_author

  • Loading...
  • bizdelnick,

    What distros are you talking about? Even if install all available DEs, any distro will take ~10 GiB or a bit more. Default installation is much smaller.

    DangerousInternet,
    @DangerousInternet@lemmy.world avatar

    deleted_by_author

  • Loading...
  • bizdelnick,

    There’s no any magic that could reduce Silverblue size, it is based on the same packages as Workstation. Only the installed subset of packages can differ.

    DangerousInternet,
    @DangerousInternet@lemmy.world avatar

    deleted_by_author

  • Loading...
  • bizdelnick,

    Yes, it’s kinda magic if you are unable to remove them in non-atomic distro.

    ExLisper,

    I remember when I used to keep my fully configured distros below 700MB so I could just dump it all to a CD as a backup. Good days.

    Diabolo96, (edited )

    That’s why I think AppImage is the best. Despite needing to pack everything it needs it’s always far more lightweight than flatpak. I’d rather download a 50mb appimage than several gigabytes of an entire OS libraries and then the updates requiring roughly the same size. That and I have a shitty internet

    Chewy7324,

    In my experience updates aren’t that big. The flatpak cli ux is just confusing to read how much data actually has to be downloaded because of deduplication.

    Diabolo96, (edited )

    I have like 4 gigs of flatpak updates I keep unchecking because at my horrible internet speed it would take the entire day if not more to download. Honestly, if you’re right then this is a horrendous design flaw.

    CrabAndBroom,

    TBH I dislike Appimage purely because I can’t be bothered to go and check them all individually for new versions all the time, it feels like being on Windows again. I don’t mind a little bloat for the sake of convenience. But that’s just personal preference of course.

    Diabolo96,

    There was an app that dealt with this but it’s since been abandoned.

    Frederic,

    Why use flatpak?

    juli,

    Because has many advantages

    Pantherina,

    Because its a modern package system that is free, focused on making every app run, has isolation, sandboxing and a permission system

    miss_brainfart,
    @miss_brainfart@lemmy.ml avatar

    And brings the most recent version of something to any system. I’m astounded sometimes by how much a native package can lag behind

    MonkderZweite,

    Convenient libraries/frameworks are fat. Because they are fat, they need frequent updates/security fixes, breaking codebase more often. With flatpack, developers can freeze lib versions at a convenient point, without caring for system dependencies.

    drwankingstein, (edited )

    Flatlack is weird. Sometimes it’s really good, but then other times depending on what you install it really bloons up.

    magikmw,

    One gotcha is installing both as user and root, getting two sets of dependencies. I only found out after a year or so of consciously using flatpak.

    I’m now taking care to make sure I only use flatpak as root. Maybe not the most secure.

    Pantherina,

    Those are unmaintained apps and you probably shouldnt use them. Poorly this is not as obvious and cant be enforced.

    tanja,

    Removing /repo is not considered safe, but I just removed its contents anyways and then just ran a repair.

    That actually resulted in more available disk space than after running the garbage collection.

    And my flatpak apps still work 🤷‍♀️

    joyjoy,

    I can’t tell if this is the new “Delete System32” or not.

    callyral,
    @callyral@pawb.social avatar

    no, that’d be deleting /boot, /usr or /var

    tgxn,
    @tgxn@lemmy.tgxn.net avatar

    Why not /? 😁

    callyral,
    @callyral@pawb.social avatar

    because then it also deletes your personal files which is not equivalent to deleting System32

    Pantherina,

    Weird?

    ace,
    @ace@lemmy.ananace.dev avatar

    A lot of that data doesn’t actually exist, ostree hardlinks data blobs internally, so the actual size on disk is much smaller than most disk usage tools will show.

    Pantherina,

    Thanks! The same goes for ostree system versions and BTRFS snapshots probably.

    I have a similar problem with virt-manager and I think that doesnt create dynamically allocated qcow2 containers?

    Quackdoc,
    @Quackdoc@lemmy.world avatar

    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,

    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, (edited )

    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,

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

    drwankingstein,

    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.

    juli,

    Why do you care about 20gigs? A 128gb SSD is 10 bucks.

    ShittyKopper,

    so, are you paying for it?

    grinceur,
    @grinceur@programming.dev avatar

    i cannot fit a ssd in my phone, and i only have 16gigs of soldered emmc so yeah flatpak isn’t an option for me, i keep my aur packages…

    Quackdoc,
    @Quackdoc@lemmy.world avatar

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

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #