this post was submitted on 01 Nov 2024
251 points (97.0% liked)
Linux
48182 readers
1187 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I can’t believe they used this as a pro for their distro…
I am currently only on Linux on my Steam Deck and I do have two RPi's (though I don't actively use them) so I don't have personal current knowledge of differences between Snap, Flatpak, and App Image beyond that A: Snap always brings up lots and lots of hate in comments and B: is from Canonical.
But is it possible that they might choose to use Snap for having more program options due to Ubuntu being such a "mainstream" distro? I know lots and lots of programs do release Flatpaks, but are there more of them or does Snap have more? Real question since I am aware of how heated some threads get with folks being really "fuck Snap" or "it is fine." Mostly just curious since I am more and more likely to move my main PC to Linux as my main OS after Windows 10 is dead.
Snap doesn't just bring lots of hate in comments it also brings a lot of bloat in your system which is a big no in Linux community. Another thing is canonical is going out of their way to force snap. In Ubuntu even if you do apt install it is installing snap packages.
I'm not sure if there are more snap packages than flatpaks or .deb/.rpm but most Linux users are competent enough to either add custom repos or follow simple build instructions to build from source.
But flatpak also brings a lot of bloat. That's the point of these 2 formats. You are trading bloat for portability.
The question here is not which one but why not both[*]? Also the target audience for this distro doesn't know how to add repos, that's the point of it.
[*] the answer is that Snap Store has had malware in it multiple times but that could imo be solved by a disclaimer
I wasn't aware of Snaps being used in-place of regular installs with apt. Are they shown to be Snaps in the name of the program when using apt search? And if there is a Snap and a regular deb, do they both show up (again if using apt search)?
Think of it as the Mac appstore VS the Windows App store. Mac apps (flatpak) are the same as desktop apps, but sandboxed, the store isn't intrusive, and people found it convenient, so it was fine. Then the windows app store (snaps) launched and it did basically the same thing but slightly worse, except Microsoft (canonical) forced it down its users throats, so people hated it.
Both camps are right, from a technical perspective, snaps are fine, but philosophically, it sucks, and the Linux community cares way more about the latter than the former, otherwise they'd all be running windows.
I think that your example of the App Store and the Microsoft Store is helpful! I work on both systems at my job fixing computers for consumers. The only thing I dislike about the App Store is that it doesn't let you install things without first signing in with an Apple ID (the spam levels of pop-up messages trying so freaking hard to make you sign in is infuriating). But the MS Store feels like all the worst parts of the Play Store and really fucks things up if it breaks. I will likely remember your reply the next time I think about Flatpaks and Snaps though. lol
I don't like Snap too, but it has some advantages over Flatpak. And unfortunately the most popular distribution still uses Snap. In example it is easier to create Snap packages ~~and Flatpak does not support CLI only applicatoins~~ ( Edit: my bad ) , but Snap does (something like grep in example). Also some may like it more that Snap relies on AppArmor instead using the custom solution of Flatpak.
All in all, its not like black and white which is better. I still wish only one of the formats would exist, because this is not the kind of fragmentation I wish to have. But both exist and the end user should decide which of them to kill.
Ubuntu is the most popular? On server maybe, on desktop I doubt it.
It is not true. You can install Neovim as flatpak, for example.
It only means, that on distros without AppArmor you get almost no sandboxing of snap applications.
The only advantage snap has is the ability to package drivers as snaps. Other than that there's simply no reason to choose proprietary-backed snap over flatpak.
EDIT: Typos.
I am pretty sure Ubuntu is still far and away the most popular desktop distro. For servers I would have guessed it was something like RedHat/CentOS or possibly Debian.
Where does that misinformation come from? That's not the first time I've heard it. Was that actually true at one point?
In think it comes from flathub not having many cli applications in it. I’d love to drop snaps for Flatpak only. But I can get so many snaps that aren’t on flathub it’s crazy.
Maybe you are right. Its something I repeat it myself, after doing a research back when it was new. Given Neovim is available on Flathub, maybe its possible. Maybe it was true at some point. Good catch, I'll make sure not to repeat that anymore, as I don't want spread misinformation.