I use Linux Mint, it's Ubuntu-based but doesn't push Snap (and you can disable it). What do people prefer? Flatpak? AppImage? I've installed a few Flatpak apps and not had any issues with them ...
Yes to flatpak for GUI programs. It's really nice.
- Someone thought about security there. It uses containers, then filters some dbus (you do NOT want raw dbus accessible to random programs) and wayland (you do NOT want raw wayland accessible to random programs. At that point you could just use X--would have same (non-)security then)
- flatseal to change the permissions--you are in control
- on the host, flatpak guest data files are regular files in ~/.var/app . While I don't recommend changing them (though why not... if you want to), it's still nice that someone thought about security--and on the HOST, obviously you can do it all. flatpak just protects you from unsafe programs, not from yourself.
- flatpak kill exists
- flathub with a lot of really nice programs already done. Though you can also put some flatpaks on your own website no problem.
- flatpak-builder and (shared) SDK images for you to build GUI programs without reinventing the universe
- flatpak has portals--for example if the user opens a file open dialog in the guest, then the host shows it with all host files, then if a file is selected and the dialog accepted, provides just that one file to the guest. YES!
- url handlers that makes the user be able to install a flatpak program by clicking on a link on a website and confirming
- you can install flatpak programs as regular user
For better or for worse, the stable ABI on GNU Linux is the Linux syscall interface. flatpak is what happens when you accept that and accept that random programs probably should not be able to read your ssh private keys.
In general, a Linux distribution will not have all programs the end user needs. I am using Linux for 25 years now and it never changed: what is available in distributions is the lowest common denominator, the kind of stuff you would get on a $200 chromebook. The long tail is nowhere to be found. Advanced programs are in distributions only when some end users put them there and maintain them forever, always one step away from having them removed again by someone (they need a LOT of dependencies and some combination will break them). And then they are available in exactly ONE distribution. That is just stupid. I really don't want to maintain 37 kicad packages, one per distribution.
> In general, a Linux distribution will not have all programs the end user needs. I am using Linux for 25 years now and it never changed: what is available in distributions is the lowest common denominator, the kind of stuff you would get on a $200 chromebook. The long tail is nowhere to be found. Advanced programs are in distributions only when some end users put them there and maintain them forever, always one step away from having them removed again by someone (they need a LOT of dependencies and some combination will break them). And then they are available in exactly ONE distribution. That is just stupid. I really don't want to maintain 37 kicad packages, one per distribution.
To me, that's kind of one of the primary arguments against flatpak. If I'm still going to need to system package manager for a lot of stuff that's built-in (which I will), I need something that actually layers on top of it, not something entirely separate with its own rules and packages that may or may not fit nicely into what I already have. Your list of features of flatpak is interesting, but your last paragraph doesn't follow from it for me. At most, it describes something that might be advantageous for a developer but is a huge pain as a user, and makes everything else you listed above a much tougher sell, because most of them are not issues I really have as a user (I don't have any need as a user for separate fake home directories per app, an alternate kill command, or an SDK for GUIs, installing from the browser, or non-root installation, and packages for my distro don't seem to have trouble with portals).
> For better or for worse, the stable ABI on GNU Linux is the Linux syscall interface. flatpak is what happens when you accept that and accept that random programs probably should not be able to read your ssh private keys
I also can't figure out how the second sentence here is supposed to follow from the first. Syscalls and ABI seem orthogonal to filesystem permissions.
> I need something that actually layers on top of it, not something entirely separate with its own rules and packages that may or may not fit nicely into what I already have.
flatpak is developed, among others, by GNOME, KDE and XDG (freedesktop) contributors, with standards for all the (dbus socket file, desktop regular file, wayland socket file) interfaces. flatseal has about 50 permissions for each flatpak (most, but not all, are switches), all those are integrated.
That includes launcher entries, mime type (file type) associations etc. It's not like you have to manually write "flatpak run" as a user.
As for a common shared library ABI, it doesn't exist and so these usually aren't shared with the host while in memory.
The only workable solution this decade is just to have a shared SDK package. I'm not just saying this, I also use nix-based (Guix) distros to fix this the right way too, but seriously, there's a reason SDKs exist--otherwise you just spend all your time boiling the ocean. It never ends.
> (I don't have any need as a user for separate fake home directories per app, an alternate kill command, or an SDK for GUIs, installing from the browser, or non-root installation, and packages for my distro don't seem to have trouble with portals).
I don't understand why not. I mean of course users are different and you have your own requirements, but this is absolutely what I want as a user.
In fact, I used flatpak as a user for years (after cobbling together a crappy variant of it using podman before that) before doing any development with it, specifically because of a lot of those.
Primary of those is a "fake home directory" which I absolutely 100% want. I don't know the app developers from adam, I really don't want to overshare with their programs, often there's really no upside either. A video player gets one video file, it plays it. That's all. Why should it be able to rummage in ~/.ssh or do rm -rf / (even accidentially) or record audio ?
>non-root installation
This is something I want on shared (cluster frontend etc) computers for the weird one-off GUI thing I need once in a blue moon. I don't have root there. Don't want to have root there either.
>packages for my distro don't seem to have trouble with portals
shrugs I am sure there are distros that basically do what flatpak does on their own. I just want to be clear that if you use portals but no containerization, a lot of them are useless (you can do the actions without the portals to begin with, then). Why have them in the first place in that case? Only for (dummy) interface compatibility--which is important.
Which distro are you referring to?
>I also can't figure out how the second sentence here is supposed to follow from the first. Syscalls and ABI seem orthogonal to filesystem permissions.
It doesnt follow. They are two properties. I am only describing flatpak there.
Right now I have GUI system packages (not flatpak) for: niri, dux shell, emacs, opensnitch (personal firewall), Terminal. That's it.
I have about 70 flatpak programs, like Fractal (absolutely do not want to run that without a container--Matrix is too complicated), Blender, Android Studio (0% chance I run that without a container...shudder), Rhythmbox, Celluloid, ...
Note: I am trying to add the wayland-permission-dropping to the guix distribution's guix shell -C (container) command--and the PR is stuck in review for half a year now because I suspect that they just don't understand what it is for. And this is the bare minimum security (at least the containerized programs wouldn't be able to take screenshots etc), like 1% of what flatpak does. This is again boiling the ocean and just not practical.
Flatpak indeed moves in the good direction (and given that the default state of desktop linux is terrible without, that's an important step), but it falls short of a more secure "new world", I believe.
E.g. I think it conflates packaging and sandboxing, and not really solving any of them properly. For packaging there are way more efficient/elegant solutions (nix, hands down. Once you use it, everything else is just a dirty hack). And sandboxing doesn't go far enough.
Flathub prohibits applications that have been done in part with AI, which is just about the majority of the software out there in 2026. That is a real hindrance to flatpak's adoption.
Yeah that’s the “canonical really wants you to use snaps because of course the majority of Ubuntu users are clowns who can’t be trusted to keep their systems up to date, and canonical knows better” part.
But there were a couple apps I wanted to use the beta channel on, like proton mail client (before I switched to fastmail) and so I had codex make a local apt server for me.
Also I use a windows app via wine, so codex wired up a polling service to check that site weekly for updates. It drops the latest version onto my apt server and sets a flag so that mint's updater service picks it up and deploys it. Then when I run the app next time, Wine runs the installer.
Yep, Snap convinced me to move to Pop!_OS. I've been super happy with it across multiple machines for 5+ years. It replaces snap with flatpak, essentially, but also uses the very-slick (IMHO) Rust-based (fast) DE called Cosmic.
You can use it on other distros, too. It's quite good! They focus on professionals, and provide good built-in tiling capability that has good hybrid behavior with the applications that are exceptions. I use Kupfer for launching, but it has an integrated launcher that's quite slick as well.
It's good to hear that Mint (one of my old favorites because I really like Cinnamon) has also shunned Snap.
With Flatpak you can tell they're at least trying and within 10-20 years it might be usable. With Snap there's not even a chance, because they clearly don't care. Just one of the most user-hostile things I've ever had to use on Linux (the reasons are well-represented in the OP link, so I won't repeat them).
- Someone thought about security there. It uses containers, then filters some dbus (you do NOT want raw dbus accessible to random programs) and wayland (you do NOT want raw wayland accessible to random programs. At that point you could just use X--would have same (non-)security then)
- flatseal to change the permissions--you are in control
- on the host, flatpak guest data files are regular files in ~/.var/app . While I don't recommend changing them (though why not... if you want to), it's still nice that someone thought about security--and on the HOST, obviously you can do it all. flatpak just protects you from unsafe programs, not from yourself.
- flatpak kill exists
- flathub with a lot of really nice programs already done. Though you can also put some flatpaks on your own website no problem.
- flatpak-builder and (shared) SDK images for you to build GUI programs without reinventing the universe
- flatpak has portals--for example if the user opens a file open dialog in the guest, then the host shows it with all host files, then if a file is selected and the dialog accepted, provides just that one file to the guest. YES!
- url handlers that makes the user be able to install a flatpak program by clicking on a link on a website and confirming
- you can install flatpak programs as regular user
For better or for worse, the stable ABI on GNU Linux is the Linux syscall interface. flatpak is what happens when you accept that and accept that random programs probably should not be able to read your ssh private keys.
In general, a Linux distribution will not have all programs the end user needs. I am using Linux for 25 years now and it never changed: what is available in distributions is the lowest common denominator, the kind of stuff you would get on a $200 chromebook. The long tail is nowhere to be found. Advanced programs are in distributions only when some end users put them there and maintain them forever, always one step away from having them removed again by someone (they need a LOT of dependencies and some combination will break them). And then they are available in exactly ONE distribution. That is just stupid. I really don't want to maintain 37 kicad packages, one per distribution.