this post was submitted on 23 Nov 2023
665 points (97.3% liked)

linuxmemes

21251 readers
1603 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
     

    Stolen from linuxmemes at deltachat

    all 47 comments
    sorted by: hot top controversial new old
    [–] [email protected] 83 points 11 months ago (6 children)

    I think this is funny, but it's hard for me to hate too much on flatpaks. Disk space is practically free now, and having spent a good chunk of my career fighting DLL hell, I have a lot of sympathy for the problem it's trying to solve.

    [–] [email protected] 87 points 11 months ago (1 children)

    Yeah I mean it's taking 500G of my terrabyte ssd. What else was I going to use that for? Installing games off steam? Two node modules folders?

    [–] [email protected] 18 points 11 months ago

    Its good and bad. Bad because the base system cant use it and its not the main packaging choice.

    Lots of good apps like OBS use outdated runtimes, which simply should not be used anymore. I am not sure if this is a security issue but probably it is, and it creates this unnecessary Runtime bloat.

    [–] [email protected] 13 points 11 months ago (1 children)

    Honestly this. It's so nice to not have to hunt for a specific library that depends on 20 other libraries. I'd rather pay in disk space than deal with that.

    [–] [email protected] 6 points 11 months ago

    You also pay in security holes.

    [–] [email protected] 13 points 11 months ago (3 children)

    I hate this philosophy so much! I hate developers for it! It's like they gave up on even trying to do anything about retrocompatibility and managing libraries and dependancies.

    Anyway it will collapse soon. I just wish it was sooner.

    [–] [email protected] 5 points 11 months ago

    Honestly I get both sides of it. Your view makes sense as an end-user and from a philosophical perspective. But some people have legacy software that needs conflicting dependency versions, for instance. It’s just a trade-off.

    [–] [email protected] 2 points 11 months ago* (last edited 11 months ago)

    Yeah, package maintainers should have their dependencies figured out. "Managing dependencies is too hard" is a distro packager's problem to figure out, and isn't a user problem. When they solve it and give you a package, you don't need to figure it out anymore.

    Plus, frequent breaking changes in library APIs is a big no-no, so this is avoided whenever possible by responsible authors. Additionally, authors relying on libs with shitty practices is also a no-no. But again, you don't need to worry about dependences because your packager figured this out, included the correct files with working links, and gave them to you as a solved problem.

    [–] [email protected] 2 points 11 months ago (1 children)

    it's trying to solve.

    It does not solve it. It just slaps more DLLs on top. Package managers do.

    [–] [email protected] 2 points 11 months ago (1 children)

    Some people have limited bandwidth for downloads, and a simple program can run to more space than a basic distro.

    [–] [email protected] 1 points 11 months ago (1 children)

    I can't use flatpak because each update for a few apps is hundreds of megs and my internet is only 2 Mbps.

    [–] [email protected] 1 points 11 months ago

    That too :-/

    [–] [email protected] 42 points 11 months ago (1 children)

    Cry-laughing in /nix/store

    [–] [email protected] 4 points 11 months ago* (last edited 11 months ago)

    Me opening /nix/store before bed so I can see it in the morning

    [–] [email protected] 28 points 11 months ago (1 children)

    I heard they tried to fit node_packages, but the scale caused the sun to become too small to see.

    [–] [email protected] 2 points 11 months ago

    node_modules is so heavy it is the supermassive black hole at the center of the galaxy.

    [–] [email protected] 21 points 11 months ago* (last edited 11 months ago)

    Pro tip: Use /var/lib/flatpak instead of /dev/null for a neater result, you avoid having to clean up spilled bits.

    [–] [email protected] 20 points 11 months ago* (last edited 11 months ago) (6 children)

    Recently switched to using Flatpaks instead of random .debs for a number of apps on my system. /var/lib/flatpak takes up 7GiB, which honestly isn't that much (even though it's like quarter of the OS size), given that's the software I use most of the time.

    Was skeptical at first about Flatpaks, but SteamOS showed me that is great at just giving OS developers access to a fully populated app store with minimal work.

    Honestly, nowadays I'd say "ability to install flatpaks" should be the criteria on which we decide whether an OS is really "linux" or not (that is, SteamOS is, but Android isn't).

    Edit: Okay. I said something stupid here, my bad. What I was trying to get at is the distinction between Android, etc. and "Desktop" Linuxes like traditional distros, Chromebooks and the Steam Deck. Even though it technically runs Linux, it's hard to argue that developers for Android are really writing apps that work on "Linux". Wheras if someone releases a Flatpak version of their app because they think the Steam deck is cool, it works on other distros "for free".

    [–] [email protected] 24 points 11 months ago

    Honestly, nowadays I'd say "ability to install flatpaks" should be the criteria on which we decide whether an OS is really "linux" or not

    I think you should check out what Linux means

    [–] [email protected] 10 points 11 months ago

    Yup, Flatpaks are indeed great. Isolation, modern versions, no weird dependencies.

    I have to manage a Debian PC fleet and I am too stupid for Ansible, so they all just got cleaned up extremely, all that bloat gone, apps replaced with flatpaks and now the system has like ⅓ the packages. Automatic updates then, VirtualBox is the only stupid thing with their kmod and all, but Virtmanager is also already on there.

    Not all apps can be flatpaks, for example virt-manager, gnome-boxes can but its really restricted then.

    But keeping the system slim just makes so much sense, its like removing this distro randomness which I am sure is needed for Linux to get their shit together and stop doing the same work at 10 different places.

    [–] [email protected] 3 points 11 months ago (1 children)

    Gentoo isn't linux? Anyway, back to compiling.

    [–] [email protected] 3 points 11 months ago (1 children)

    You can install flatpaks on Gentoo.

    [–] [email protected] 1 points 11 months ago (1 children)
    [–] [email protected] 1 points 11 months ago

    That isn’t the same thing, though

    [–] [email protected] 2 points 11 months ago

    With that definition, headless servers (I.e. no GUI) wouldn't be categorized as 'linux'

    [–] [email protected] 2 points 11 months ago

    There are some (few) apps where flatpak may be the right solution. Many apps should NOT be flatpak

    [–] [email protected] 1 points 11 months ago

    Imagine excluding almost all servers that don't have a gui and docker images from the Linux definition.

    [–] [email protected] 15 points 11 months ago (1 children)
    [–] [email protected] 1 points 11 months ago

    Having compared snaps in ubuntu 23.10 to flatpaks on opensuse tumbleweed, I can safely say that snaps tend to be faster for me with less weirdness happening during usage. Some programs were the same (obsidian for example) other comparisons were done from the same category (Firefox snap vs chromium flatpak). I genuinely prefer snap and don't see the issues people often quote. Also, that the backend isn't open isn't a big deal to me, as snaps themselves generally still are.

    [–] [email protected] 15 points 11 months ago

    Flatpak: "I would switch from Windows to Linux, but Linux is too bloated"

    [–] [email protected] 13 points 11 months ago
    ~$ du -sh /var/lib/flatpak/
    6.3G	/var/lib/flatpak/
    

    oh my god

    [–] [email protected] 13 points 11 months ago

    Install Gentoo

    [–] [email protected] 7 points 11 months ago (1 children)

    "Eight Megabytes And Constantly Swapping"

    [–] [email protected] 1 points 11 months ago