this post was submitted on 22 Dec 2023
83 points (91.1% liked)

Linux

48640 readers
2230 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Appimage for me ticks all the boxes for cross distro package as its very portable, simple to run, what are devs trying to do when creating snaps and flatpack?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 29 points 1 year ago (1 children)

Distro packages and to some extent Flatpaks, use shared libraries which can be updated independently of your app.

So for example, if a vulnerability is discovered in say, curl, or imagemagick, ffmpeg or whatever library an app is using: for AppImages, this won't be fixed until you update all of your AppImages. In Flatpak, it usually can be updated as part of a dependency, or distributed as a rebuild and update of the Flatpak. With distro packages, you can usually update the library itself and be done with it already.

AppImages are convenient for the user in that you can easily store them, move them, keep old versions around forever easily. It still doesn't guarantee it'll still run in distros a couple years for now, it guarantees that a given version will forever be vulnerable if any of its dependencies are because they're bundled in, it makes packages that are much much bigger than they need to be, and you have to unpack/repack them if you need library shims.

Different kinds of tradeoffs and goals, essentially. Flatpak happens to be a compromise a lot of people agree on as it provides a set of distro-agnostic libraries while also not shifting the burden entirely onto the app developers. The AppImage developer is intentionally keeping Wayland broken on AppImage because he hates it and wants to fulfil his narrative that Wayland is a broken mess that won't ever work, while Flatpak developers work hard on sandboxing and security and granular permission systems.

[–] vikingtons 18 points 1 year ago* (last edited 1 year ago) (3 children)

I had no idea about Appimage's stance on Wayland. That's very unfortunate.

E: Here's what I've come across so far: https://linuxgamingcentral.com/posts/appimage-dev-rejects-wayland-support/

[–] [email protected] 14 points 1 year ago

It is very unfortunate. It's fine to point out problems, but then when you become part of the problem, that's not amazing.

He's had the same meltdown with fuse2 being deprecated in favor of fuse3 which, guess what, also broke AppImage and we had a huge rant for that too.

Flatpak has a better chance of being forward compatible for the foreseeable future. Linux generally isn't a very ABI/API compatible platform because for the most part you're expected to be able to patch and recompile whatever you might want.

[–] [email protected] 6 points 1 year ago

Lol that reads like a squabble between 12yr olds. "He said there's tearing in Intel but my friend told me that's not true."

[–] [email protected] 2 points 11 months ago

AppImages are a good idea, but its dev is a top tier moron.