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.

  • lemmyng
    link
    English
    64 months ago

    The biggest downside is that it’s only for distributing applications with a graphical user interface. Command line utilities still need another method of distribution.

    • @[email protected]
      link
      fedilink
      English
      -2
      edit-2
      4 months ago

      I keep seeing this criticism, but flatpak provides a run command on its cli that works just fine. It is a little clunky though.

      • jan teli
        link
        fedilink
        44 months ago

        Clunky as in flatpak run io.neovim.nvim instead of just nvim

          • @[email protected]
            link
            fedilink
            24 months ago

            I don’t need to do it with native-installed programs. And they are properly integrated with the OS, if you install them:

            1. You get a menu entry in gui
            2. You get a binary or a wrapper in /usr/bin
        • @[email protected]
          link
          fedilink
          English
          04 months ago

          Yep. But,

          sudo tee /usr/local/bin/nvim <<EOF
          #!/bin/sh
          flatpak run io.neovim.nvim "$@"
          EOF
          chmod +x /usr/local/bin/nvim
          

          (I haven’t tested this, that I use similar code for a different program)

          It sure would be nice if flatpak bundled some functionality to do this for you, though.

          @[email protected]

      • @[email protected]
        link
        fedilink
        14 months ago

        There is no .desktop menu entry and i need to remember a lengthy fqdn which does not autocomplete, great ui