I love Flatpaks, the programs are nicely separated so they don’t interfere with each other. They also don’t have flaws like Snap’s low performance or Nix’s complexity.

But being limited to only graphical apps seems like a real drawback. If one wants to use Flatpaks as their primary package manager there have to be some awkward workarounds for cli programs.

E.g., the prime Flatpak experiene is supposed to be on immutable distros like Silverblue. But to install regular cli programs you are expected to spin up a distrobox (or toolbox) and install those programs there.

Having one arch distrobox where I get my cli programs from will not work, as the package entropy over time will get me the very dependency issues that Flatpak wants to solve.

So what is the solution here? Have multiple distroboxes and install packages in those in alternation and hope the boxes don’t break? Use Nix alongside Flatpak? Use Snaps?

    • @[email protected]OP
      link
      fedilink
      5
      edit-2
      10 months ago

      The point is that you can not find most cli programs on Flathub, de facto making Flatpaks unsuitable for cli programs. Snapcraft on the other hand hosts neofetch, dust, youtube-dl etc.

      • Cake
        link
        fedilink
        210 months ago

        There is a neovim flatpak, which is not a CLI app but a TUI one, but I guess this counts.

        And there is also jellyfin-server

    • @Falcon
      link
      110 months ago

      Worth mentioning that one can use bubblewrap directly over chroot to get similar behaviour as well.

      It’s often simpler to use distrobox but being able to rsync chroot a between devices can be very convenient.