this post was submitted on 03 Nov 2023
99 points (97.1% liked)
Linux
48033 readers
1194 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
Nope, no thank you... I'm not touching anything other than native, AUR or Flatpak packages. AppImage has only been an inelegant and overall inferior alternative in my experience. The Windows experience, with Linux portability issues. "Find an installer online from some website, have it do whatever the hell it wants, polluting my home folder with random crap and hope it's not a virus" with essentially zero advantages over Flatpak or even Snap.
What makes Flatpak so good? Honest question. It is a new package manager for me, I have mostly been on Linux server, not desktop. For all my use cases Flatpak has never been mentioned, I've always used
apt-get
until I installed Ubuntu as a desktop OS and it comes with Snap. The next thing I see is Flatpak > Snap and no mention ofapt-get
.It's not some miracle packaging system and while Flatpak-installed programs tend to start just as fast as native ones, I consider it inferior for most cases. Its two big advantages are that Flatpaks have a runtime they specify and depend on. It gets downloaded and installed automatically if missing when you install a Flatpak. So you're much less likely to run into issues where a program won't run on your system because of an incompatibility with a missing, or newer version of some library. Each Flatpak also gets installed in its own fake environment and is essentially a sandbox when you run the program. You can use a program named Flatseal to give each Flatpak access to specific directories or functionalities, or restrict it further. But the one big negative is that this runtime uses a lot of disk space. ~800MB per runtime.
It tends to work really well and I've been told that years ago a guy would use this packaging system to bundle pirated windows games with a preconfigured version of wine, which made them run out of the box, with zero tinkering. On top of essentially being sandboxed and unable to access your real home folder, internet, camera or microphone. Just to illustrate its versatility. It also kind of already won the war when Steam Decks started using Flatpak as their main packaging system.