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@lemmy.ca
    link
    fedilink
    English
    arrow-up
    6
    ·
    10 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.

          • oldfart@lemm.ee
            link
            fedilink
            arrow-up
            2
            ·
            10 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
        • aberrate_junior_beatnik@midwest.social
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          10 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.

          @oldfart@lemm.ee

      • oldfart@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        10 months ago

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