Basically title.

I’m wondering if a package manager like flatpak comes with any drawback or negatives. Since it just works on basically any distro. Why isn’t this just the default? It seems very convenient.

  • Pantherina@feddit.de
    link
    fedilink
    arrow-up
    14
    arrow-down
    2
    ·
    edit-2
    5 months ago
    • no OS level components
    • duplicate libraries as some core apps (editor, filemanager, Desktop) cannot be flatpaks (yet?)
    • old runtimes etc. dont force developers to keep them updated. Often thats because or 3rd party packagers though
    • complicated packaging, I heard that the Flatpak builder is better for certain languages.
    • theming issues I heard (on Fedora Kinoite Wayland it just works, and I can also force themes per app)
    • bad permissions by default (best we have though)
    • bad run commands (this could easily be fixed, and I have a script for it)

    For OS components / packaging every part, Snaps may work, but for GUI apps they seem subpar and nobody really cares.

    Nix may be way better for installing just anything compartimentalized, but there is no permission system (thats why packaging is easier).

    But Flatpaks are really great overall, Bubblewrap, KDE Settings / Flatseal, Portals, official app support. Its really really important.

    • Justin@lemmy.kde.social
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 months ago

      complicate packaging, XML sucks (are there good editors or something?), I heard that the Flatpak builder is better for certain languages.

      What has XML got to do with it? Flatpak manifests are either JSON (not great but OK) or YAML, which is great.

      • kamiheku@sopuli.xyz
        link
        fedilink
        arrow-up
        19
        arrow-down
        2
        ·
        5 months ago

        YAML, which is great

        countries:
          - fi
          - se
          - no
          - dk
        
        => { "countries": ["fi", "se", false, "dk"] }
        
        • Justin@lemmy.kde.social
          link
          fedilink
          English
          arrow-up
          4
          arrow-down
          1
          ·
          5 months ago

          Probably JSON. I haven’t been involved in Flatpak for a long time but I’ve never seen XML. JSON is quite close to XML in it’s layout sometimes I find so easily mistaken.