What are your thoughts on Flatpak/Flathub?

tet@lemm.ee to Linux@lemmy.ml – 194 points –
About | Flathub
flathub.org

How does it stack up against traditional package management and others like AUR and Nix?

212

You are viewing a single comment

No snaps are insecure on other distros that Ubuntu, as they are only isolated using apparmor. Also they are nonfree by design, just no.

They're not insecure. No more so than when I install a package via apt. No more so than when I download some code and compile it. This is propaganda.

They are less secure than flatpaks and there was malware on that store

You think the unverified flatpaks which choose their own permissions are "safe"?

You have the option to add the verified subset only, and you can always check permissions before starting an installed app, and it will not start before.

I'm sure everyone does that.

Yeah with Snaps you also have unofficial packages, no apparmor at all and a mix of foss and nonfoss apps.

But with flatpak these things are accessible and Flatseal is very commonly used.

"Already perfect" vs. "Has the foundation to fix it easily" distros could easily allow to add the subset or improve the permission system.

Do... Do you think I'm claiming snaps are better or something? I'm saying they're much easier to use and I don't give a shit about walled-garden BS. I don't want my laptop to be like my phone. I want to install an application and I want it to work. Flatpaks are fine - they just made a really stupid decision about how to run them from the CLI which is 90% of the time where I launch programs from.

Do you have a better approach for running from CLI? Apps need exact names I guess, and the system is exact.

The way we've done it for like 30 years seems to work.

How would you prevent package duplicates when using flatpak and native?

alias "flatpak run org.app.name"=*f-name"

The way it's always been done. Put them in different paths and set priority with the PATH variable.

Sandbox not working = insecure. Very simple

Indeed - if your understanding of "secure" is that simple then that definition works fine.

In the real world there is no such thing as "secure" and "insecure" - there are tradeoffs and levels of security.

Oh yeah for sure I’m just mentioning what it means in this context. Definitely means snap is more insecure off Ubuntu though.