this post was submitted on 23 Apr 2024
69 points (91.6% liked)

Linux

48069 readers
766 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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?

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 6 months ago* (last edited 6 months ago)

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.

[–] [email protected] 3 points 6 months ago

As you can probably tell by all the lovely comments about Snaps, that's the reason. Snaps is crap, by design.

[–] [email protected] 7 points 6 months ago* (last edited 6 months ago)

Lost a couple hours of work on the snap version of krita since it couldn't save the file for some reason. Switched away from Ubuntu as a whole after that experience.

[–] [email protected] 7 points 6 months ago

The problem with snap isn't that it's useless, it's that it's garbage. Snaps are just plain worse in every way, compared to other packaging formats. They impact boot time A LOT... like A LOT A LOT on a hard drive, use a ton of space, are slow to launch unless you use like tricks or what not to speed up consequent launches after the 1st one, the store backend is proprietary and poorly moderated, the store is slow and unresponsive, and cannonnical is pulling some real micro$oft-esk shit to try and force them on users... Stuff like aliasing apt commands to snap, disallowing ubuntu spins to ship flatpak by default, etc...

The only redeeming quality that snaps have is that you can run CLI/server programs as a snap, and even then, just use docker lmao.

[–] [email protected] 20 points 6 months ago

I think most people hate Snaps because Ubuntu is replacing .deb packages with snaps with no user prompt and that is a cardinal sin in Linux against the freedom and power of the user. Being "bloated" can't help either when package maintainers do all what they can to ship programs light and simple. So it goes against at least two Linux principles.

[–] [email protected] 32 points 6 months ago* (last edited 6 months ago) (1 children)

Imma be honest. I never used Snap. I had left ubuntu long before they started rolling it out.

That said, hearing they redirect apt calls to snap instead feels -- A bit too microsofty for my tastes

Like, when you use a flatpak (or even a snap!) in a non-ubuntu distro, you're not forced to use it. And if the same package exists on both the repo and on flatpak/snap, you CAN choose to get it from any of the three sources. Forcing people into snap is weird and scummy.

I have heard that snap is slower than flatpak, but also that it can do some stuff flatpak cannot, but again, didn't test enough to know it.

[–] [email protected] 11 points 6 months ago* (last edited 6 months ago)

That said, hearing they redirect apt calls to snap instead feels – A bit too microsofty for my tastes

I also haven't been with an Ubuntu based distro for awhile, but I've got a lot of affection for Canonical generally. I even accepted the idea of the amazon-in the-dash-thing (which had a lot of folks sharpening pitchforks some years back) as being kind of an honest mistake - so excited that they could that they didn't consider if they should, sort of.

But yeah, that's exactly what it feels like with snaps, and for that specific reason.

[–] [email protected] 4 points 6 months ago

I remember back in 2018 when they forced snaps on everyone despite them being broken.

I had recently updated to the new 18 or 19 release and I was installing a command line tool. I did apt install and then it called snap which then didn't work. Snaps are broken by design as they way the handle software is problematic. They put everything into mounted volumes and the sandboxing isn't terribly robust. It really doesn't help that they force you to use it.

[–] [email protected] 11 points 6 months ago (1 children)

Its 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.

[–] [email protected] 12 points 6 months ago (1 children)

I got so mad at Ubuntu when it kept installing snaps instead of native packages. It pushed me over the edge when I learned that a bunch of CLI software was snap only.

[–] [email protected] 11 points 6 months ago

My breaking point was when the dotnet CLI installed as a snap, which of course isolated its environment, which made it unable to interoperate correctly with the projects I was trying to build.

Asinine.

[–] [email protected] 17 points 6 months ago (2 children)

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).

[–] [email protected] 8 points 6 months ago (1 children)

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

[–] [email protected] 1 points 6 months ago (1 children)

I could care less about legal status. In fact, I think it would be cool to have a profitable software center that was able to allow for projects to get more funding.

[–] [email protected] 4 points 6 months ago (1 children)

paradoxically just because an organisation is a non profit does not mean it does not sell anything, it means that the people who "own" it are not doing it for a profit (e.g. voting members, board members , that is what is suppose to be legally guaranteed ), for example the wikimedia foundation (the creator of wikipedias ) sells access to data, MIT university for example is also a non profit.

and i feel like the profit incentive might cause problems for the snap store, flathub warns when an app is closed source so it might be risky to use it, snap does not do that and maybe that is because that could hurt profits.

[–] [email protected] 1 points 6 months ago

True but I think the tax status shouldn't affect Foss. Non profits can also screw over users.

load more comments
view more: next ›