this post was submitted on 02 Apr 2024
315 points (100.0% liked)
linuxmemes
21607 readers
128 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack members of the community for any reason.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows.
- No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.
founded 2 years ago
MODERATORS
I'm uninformed, why were things like snap and flatpak created?
I barely understand docker, but I'm starting to understand why it can be beneficial, although bloated.
People are annoyed by canonical shoving snaps into their mouth at every opportunity (people want to choose when to use them by themselves), but there are many legitimate reasons for existence of snap and flatpak. Here are some of them:
Yup, what makes flatpak more akin to the open source spirit is that new submissions to flathub are open source and rely on a PR model
https://docs.flathub.org/docs/for-app-authors/submission/
https://github.com/flathub/flathub/pulls
And software that exists on flathub is open and accessible in their repositories
https://github.com/orgs/flathub/repositories
Whereas snaps are a web based walled garden controlled by canonical
https://snapcraft.io/docs/using-the-snap-store
They both provide benefit as you explained, but flathub (flatpak’s default repo) is definitely more open in how it is handled
You still have to worry about that with Flatpak. Like, don’t give a calculator app permission to read all your files and access the internet.
but what if my calculator app needs to check its calculations with wolfram alpha
As an end user I actually love them (yes I know, sacrilege). Flatpak is my preference, but I also prefer pretty much anything to Ubuntu in its defailg state so that might have something to do with it.
None of the the benefits you state apply to something a distribution provides and so I don't understand why Ubuntu is pushing them.
Packaging applications is a hard work so they obviously want the devs to do it themselves. For example, canonical push hard so their users use snap for firefox because it's maintained by firefox devs themselves. Firefox updates very often and has complex build system, so I think canonical is tired of allocating significant resource to support it and want to stop maintaining firefox package if they can.
Flatpak:
To limit shady proprietary software from accessing your full storage / hardware.
You can manage the sandbox access through tools like FlatSeal.
Snap:
To ruin your day / user experience.
Both where introduced as a universal way to distribute packages on various distros.
The only attempt at answering the question 👍
CC BY-NC-SA 4.0
If you're using a stable distro, the repo will end up with programs that are years out of date. So instead of compiling manually, you use flatpak/snap/appimage/nix/guix as an extra package manager. They also allow devs to release cross-distro packages.