this post was submitted on 03 Nov 2023
119 points (95.4% liked)
Linux
48652 readers
1078 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.
It appears to be only desktop, what would explain why it is new to me despite being creating in 2007 (https://itsfoss.com/what-is-flatpak/, quick search).
Thanks for taking the time to explain. So from what I understand, it is a universal package manager (which
apt-get
is not) and it is FOSS (which I understand Snap is not)?I don't remember anyone mentioning Snap being closed source, but it receives many complaints for interfering with the functioning of common programs, on top of slowing down the execution of programs installed through it and is now being forced on users. I haven't touched any *buntu distro in years, but it always seemed half-baked from the comments I keep on reading about it.
Also yes, Flatpak is what I believe you could call a universal package manager. Package it once and it should run on any Linux distro since it takes most things out of the equation, save for the kernel and drivers. And yes, it mostly is used to distribute desktop applications. It's ideal for safely running random applications or older programs that wouldn't run through a modern runtime.
I read that Snap was propriety and a quick search did not give me any hits on their source code, but I could of course be wrong.
In brief yes, its newer then app image, and more open then snap.