this post was submitted on 11 Sep 2024
436 points (87.2% liked)

linuxmemes

20741 readers
833 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] tsugu@slrpnk.net -5 points 5 days ago (6 children)

I politely disagree. Try to look at Snaps this way: Canonical maintains 16.04, 18.04, 20.04, 22.04 and 24.04. Each with their own repos. Each has to be properly maintained. With snap they can release the package a single time, and it can be used across all of their releases. I think this is the main point of snap. Being able to use it across other systemd distros is just a bonus.

[–] caseyweederman@lemmy.ca 18 points 5 days ago (1 children)

There is no way to install snaps from any source other than Canonical and the snap server software is closed-source.

[–] lengau@midwest.social 2 points 3 days ago

You can download a .snap package and install it. If you add the author's signing key as trusted in your own snapd, you can even do it alongside their own assertion file.

[–] x00za@lemmy.dbzer0.com 17 points 5 days ago (2 children)

You're just describing flatpack.

[–] lengau@midwest.social 2 points 3 days ago (1 children)

Snaps predate flatpaks though.

[–] x00za@lemmy.dbzer0.com 1 points 3 days ago (1 children)

Yeah but only in 2016 were they made available for other Linux distros. Flatpaks were available since 2015.

[–] lengau@midwest.social 1 points 3 days ago (1 children)

So why would Canonical switch to another technology that came after what they made and doesn't cover their biggest use cases for snaps?

[–] x00za@lemmy.dbzer0.com 1 points 3 days ago (1 children)
[–] lengau@midwest.social 1 points 3 days ago (1 children)

But if flatpak doesn't meet the widest use case of snap, are they really describing flatpak?

[–] x00za@lemmy.dbzer0.com 1 points 3 days ago (1 children)

I replied to:

With snap they can release the package a single time, and it can be used across all of their releases. I think this is the main point of snap. Being able to use it across other systemd distros is just a bonus.

[–] lengau@midwest.social 1 points 3 days ago

Flatpak is not a solution for packaging a large portion of the types of software Canonical packages with snap, such as database servers, kernels and containerisation software like lxd.

[–] tsugu@slrpnk.net 7 points 5 days ago* (last edited 5 days ago) (2 children)

Flatpak can't run CLI apps. Also, they started around the same time. Flatpak in 2015 and Snap in 2016. This is like saying dnf shouldn't exist because apt is a thing.

Why would Canonical abandon their own solution because some people online complain?

[–] jrgd@lemm.ee 5 points 5 days ago* (last edited 5 days ago) (1 children)

The question that I have to ask: what category of CLI apps (or even some examples) exist that are too complex to maintain a few versions simultaneously as native packages but are not complex enough to just use an OCI container for them instead?

[–] lengau@midwest.social 2 points 3 days ago

Personally I use (and maintain) snaps for several developer tools I use, because the automatic updates through snap means I can have automatically up-to-date tools with the same package across my Ubuntu, Fedora, Arch and OpenSuSE machines.

[–] iopq@lemmy.world 0 points 4 days ago (1 children)

Install CLI packages with Nix. You don't need a proprietary system

[–] cmhe@lemmy.world 1 points 4 days ago* (last edited 4 days ago) (1 children)

Nix on non-NixOS distributions would be great, if it would support installing apps into the users home directory instead of a global directory (without recompiling everything).

(When I looked into it, it wasn't possible, but if you made it work, please share.)

[–] AnimalsDream@slrpnk.net 17 points 5 days ago (1 children)

Or just use flatpak or Appimage.

[–] draughtcyclist@lemmy.world 3 points 4 days ago

Yeah, exactly. I was about to say flatpak exists and isn't proprietary.

Also, the snap for docker/compose is hot garbage.

[–] eleitl@lemm.ee 15 points 5 days ago (1 children)

Yes, they maintain a lot of LTS releases and want to minimize work. Which is their own problem entirely. So I'm going to go back to Debian next time I reinstall or build.

[–] tsugu@slrpnk.net 0 points 5 days ago (1 children)

So offering 10 years of support for a release is a bad thing now. Got it.

[–] eleitl@lemm.ee 11 points 5 days ago

No. But I'm not willing to trade convenience for vendor lock-in. Not that this matters in containerland anyway.

[–] michael_palmer@lemmy.sdf.org 6 points 5 days ago

Some time ago, I tried Ubuntu for the first time. I was shocked that the preinstalled Firefox (snap package) took 10 seconds to launch, compared to 1-2 seconds on Windows.

[–] fruitycoder@sh.itjust.works 7 points 5 days ago (1 children)

Why do they need to disrespect their users rights to that though?

[–] tsugu@slrpnk.net -1 points 5 days ago (2 children)

How does Canonical disrespect your rights?

[–] Kethal@lemmy.world 4 points 4 days ago (1 children)

Ubuntu benefited from an open community for years, and when it came time to create a solution for a problem, they chose to develop something and not share it with community that helped them get where they are now. That's a straight up asshole move.

[–] tsugu@slrpnk.net 2 points 4 days ago (1 children)

I dare say that allowing any distro to use their repos is pretty generous, and gives back to the community. They have no obligation to open source Snapcraft's server, and snapd being able to install snaps locally is more than enough.

https://forum.snapcraft.io/t/download-snaps-and-install-offline/15713

[–] Kethal@lemmy.world 2 points 4 days ago

What an embarassingly obsequious viewpoint.

[–] fruitycoder@sh.itjust.works 5 points 5 days ago (1 children)

They snap store is proprietary

[–] tsugu@slrpnk.net -2 points 5 days ago (1 children)

So are the drivers your computer likely relies on. Are you willing to buy a thinkpad from 2005 and use a random FSF approved distro?

[–] airglow@lemmy.world 3 points 4 days ago (1 children)

Silly whataboutism. When there are multiple Linux package management solutions to choose from that are functional, decentralized, and fully FOSS, including ones that work across distros, switching to the proprietary Canonical-controlled Snap Store is moving backward for no good reason.

[–] tsugu@slrpnk.net 0 points 4 days ago (1 children)

I don't see how this matters.

Let's look at the very worst case possible scenario: Everyone abandons Flatpak and AppImage and moves to Snapcraft, and Canonical decides to make a decision that destroys the store.

You can still install FOSS apps from somewhere, at worst compile them.

All that would be lost if Snapcradt stopped existing are the proprietary apps, which you wouldn't use anyways.

[–] airglow@lemmy.world 2 points 3 days ago* (last edited 3 days ago)

That's not the worst possible scenario, I'd love to see the Snap Store completely replaced with decentralized FOSS alternatives. Any scenario in which the Snap Store takes market share from decentralized FOSS alternatives is considerably worse.

Also, who said I wouldn't use proprietary apps? I refuse to use Snap because Flatpak and other FOSS application packaging solutions that aren't locked to a store controlled by a single for-profit company already serve my needs. I don't have any objection to using proprietary apps that don't have alternatives that meet my needs.