I’ve gathered that a lot of people in the nix space seem to dislike snaps but otherwise like Flatpaks, what seems to be the difference here?
Are Snaps just a lot slower than flatpaks or something? They’re both a bit bloaty as far as I know but makes Canonicals attempt worse?
Personally I think for home users or niche there should be a snap less variant of this distribution with all the bells and whistles.
Sure it might be pointless, but you could argue that for dozens of other distros that take Debian, Fedora or Arch stuff and make it as their own variant, I.e MX Linux or Manjaro.
What are your thoughts?
- proprietary server (snap store), unlike flatpak
- snapd only allows one server (but it is foss so you could just patch it), unlike flatpak
- nonexistent security on snap store, multiple times malware, unlike flatpak
- no sandboxing without apparmor and specific profiles, so not cross platform, unlike flatpak
- the system apps are also requiring apparmor, so not cross platform
- they lack granular permission systems afaik
- they concur with flatpak, which is horrible as we need a universal packaging format, not 3
- seemingly no reproducible builds?
- no separation between all, opensource, verified repo, unlike flatpak
- they pollute the mount list with all the loop devices
And people complain abour resource usage etc, but that is just separating apps from the system. Flatpak does the same.
You forgot also snaps pollute both the mount list and the path. Whether you like or dislike the second is up to opinion, but nobody likes the first.
I think the second point is the biggest for me: it’s almost like Canonical wanted to have a single dominant store for apps, as the ecosystem they are building supports only one. And, apparently, that one server is also closed?
So if you try to make an alternative source and give instructions to people how to configure their snap installation to use it (I found this information very hard to find for some reason…), your “store” probably won’t have the same packages Canonical’s has, so users won’t be able to find the packages and I imagine updates are also now broken?
Contrasting this with flatpak: you just install apps from wherever. Or from flathub. Or your own site. Doesn’t matter. No business incentive behind—built into the tools—to make everyone use flathub.org.
Yes, Flathub is important but there are many other repos. Nothing for non development though.
I maintain a hopefully complete list here
deleted by creator
Yeah but this is just because they are sandboxed and use their own libs.
So they have GPL Violation’s?
Research what happened to Upstart, Mir or Unity. It won’t take long until snap becomes one of them. Somebody at canonical seems to desperately obsess over having something unique, either as a way to justify canonicals existance or even in the hopes of making the next big thing. Over all these years they never learned that whatever they do exclusively will always fall short of any other joint efforts in the linux world, because they always lack the technical advances, ability/will to push it for a prolonged time and/or the non-proprietary-ness. So instead of collaborating like every serious linux vendor, they’re polluting their distro with half-assed, ever changing and unwanted experiments. They’re even hijacking apt commands to push their stupid snap stuff against the users intent. With the shengians they’re pulling Ubuntu cannot be relied on, and with that they’re sabotaging their own success and drive away any commercial customers that generate revenue.
Lets hope so
Personally I think for home users or niche there should be a snap less variant of this distribution with all the bells and whistles.
There is : Linux Mint
Pop OS too.
For me it is partially the way canonical pushes snaps and forces it on to users. More so they are slow and the proprietary back end is a huge downside. Some snaps are know broken and cause more harm then good like the steam snap for example. Steam actively discourages users from even using it.
In addition to what’s already been said, Canonical have a history of starting grandiose projects and then abandoning them a few years later. See Mir, Unity, and Ubuntu Touch for examples.
I would hate snaps a lot less if Ubuntu just stopped trying to force me to use them.
Calling it hate is an exaggeration , people are entitled to their opinion and informing other people by criticizing snap.
Another advantage not mentioned is that snap is a product of canonical (a for profit company talking about an IPO for years), flathub is managed by the gnome foundation (a US registered non profit, which should provide some legal protection).
I think hate is the right word. Snap sucks for a long list of reasons, a few years ago it was pushed down everyone’s throats whilst still being broken (it would even break OS upgrades due to being broken, even if you didn’t even use it, fun times) and then canonical started redirecting apt to snap… Yeah, hate is the right word, same with systemd
Snaps are proprietary, flatpacks are not, is the long and short of it
They are not. But the store is proprietary and snapd doesnt allow other stores. You could patch snapd to allow other stores though and the format is open
Snaps are just as “open source” as “Office Open XML” (.docx, .pptx etc.) are open file formats.
If there isn’t a fully open source software stack, it isn’t really open source.
they both suck.
I especially hate how it ruins the
df -h
command. Install a dozen snaps and it becomes unreadableI’m personally not a fan of any universal packaging solution. I’ve tried flatpaks, appimages, and snaps, and ran into weird, annoying issued that I just never have when I install via package manager, build from source or even just run a portable build of an app.
I see the appeal of a universal package, but imo a bigger emphasis on portable native builds would solve a lot of the issues these packaging solutions are aiming for, while not introducing many of the downsides
snapd
eez nutsIts been a while but the last time I was running ubuntu I ran into an infuriating issue related to snaps. To be fair I can’t remember the exact details and it was related to some web dev stuff. All I remember is that I quit Ubuntu for a while fighting with snaps for a day or two.
deleted by creator
I like snap. On Ubuntu, it does everything Flatpak does and it can also do system components. It’s a system that allows to build a complete OS with the benefits of Flatpak. It’s a fairly well designed system and it came earlier than Flatpak. It works well for Ubuntu and its developers. There’s a lot of misinformation around it and the wider community seems to have jumped on the Flatpak wagon. That means we’re unfortunately gonna get mixed classic-base (deb, rpm) with Flatpak apps OSes in the longer term, instead of full Snap OSes. That’s a lame compromise but it is what it is. Not the first time the Linux community chooses technically interior tech for ideological reasons. Ultimately we use other people’s labor so we get what they decide and that’s alright. Classic core plus Flatpak is still way better than the all-classic status quo so I ain’t mad.