Ubuntu to Make Firefox Snap Default in 21.10
omgubuntu.co.uk
omgubuntu.co.uk
I mean, if you (generally speaking) have experience with package managers on Linux, then you can easily see the difference between them and Snap. Snap to me is similar to Google's Play Store, but for desktop.
Have been uninstalling Snap on each Ubuntu release and will not start using it when they try to make it mandatory.
I avoid Snap and any piece of software that publishes their stuff on Snap only. You cannot even download stuff from Snap, you need "snapd" running and then you gotta run "snap install X". Bah. To me it is pretty much equivalent to Google Play Store, except for desktop, and for Canonical.
Oh, and you cannot download older versions of the software.
Flatpak has sandboxing, but is only designed for desktop apps. Not server and not IoT.
Nix / Guix / AppImage does not have built-in application-level sandboxing out of the box.
It is not really cross-distro though, since different from Flatpak, Snap assumes many features to be enabled for sandboxing to work (like AppArmor [1]): https://wiki.archlinux.org/title/Snap#Installation. Flatpak only assumes, AFAIK, user namespaces support on Kernel.
[1]: This can be really problematic if your distro is using other MAC like SELinux, since while they're really not designed to run together.
1) snapd action logging doesn't go to the system logs and gets purged after 72 hours - makes troubleshooting why something broke REALLY fun
2) "snap" directory polluting your home directorysnap info go shows:
name: go
summary: Go programming language compiler, linker, stdlib
publisher: Michael Hudson-Doyle (mwhudson)
store-url: https://snapcraft.io/go
contact: michael.hudson@ubuntu.com
license: BSD-3-Clause
description: |
This snap provides an assembler, compiler, linker, and compiled libraries
for the Go programming language.
snap-id: Md1HBASHzP4i0bniScAjXGnOII9cEK6e
channels:
latest/stable: 1.16.7 2021-09-08 (8298) 94MB classic
latest/candidate: ↑
latest/beta: ↑
latest/edge: devel-8d2a9c32a2 2021-09-17 (8356) 99MB classic
1.17/stable: 1.17 2021-08-17 (8172) 99MB classic
1.17/candidate: ↑
1.17/beta: ↑
1.17/edge: ↑
1.16/stable: 1.16.7 2021-09-08 (8298) 94MB classic
1.16/candidate: ↑
1.16/beta: ↑
1.16/edge: ↑
1.15/stable: 1.15.15 2021-09-08 (8304) 95MB classic
...To install an older version you can run
snap install go --channel=1.15/stable --classic127.0.0.1 api.snapcraft.io
Snap installs automatically, so it's modern.
Windows 11 Store, Chrome OS, and Linux Mint also can autoupdate at background.
Hopefully some day on all OSes have possibility to enable autoupdates to run at background.
Maybe auto-insert kernelmodules directly from the net too, that would be a dream!! ;)
I have not found anything else that would install updates automatically fast like Snap.
And Canonical paying all that huge server infrastructure for snap updates, build servers, bandwidth, etc.
And Microsoft paying for all the repo hosting, bandwidth, etc at GitHub.
And others like Linux Foundation/CNCF, IBM, MacStadium etc providing development and build servers.
It's all standing shoulders of huge amount of giants. I could not afford all that server infra myself.
Wekan has Snap, Docker, Source and Sandstorm versions. I'm trying to figure out how to add more packaging formats, and have current packaging formats for more CPU architectures.
Better would be to run Snap inside LXC containers, it works well: https://github.com/wekan/wekan-snap/wiki/Many-Snaps-on-LXC
You cannot easily install software in Docker using snaps.
This makes snaps less useful on servers than traditional apt-get.
For TSC platform game https://secretchronicles.org/en/ , how can I get all .deb packages I made to official repos?
https://secretchronicles.org/en/download/
For those .deb packages, I had to compile for CPU architecture and distro separately, because of all the different versions of dependencies.
Case: at work recently I needed to use Microsoft Teams for a business meeting. With snap, I only needed to do `snap install teams`, and voila, I could start a web meeting with my customer.
Without snap, I would have to install Teams from Microsoft's apt repo. I think this is pretty inferior to snap, because 1) It's harder to manage, 2) implicitly grants a root access on my machine to Microsoft, and 3) can break my system with package conflicts.