this post was submitted on 04 Mar 2024
218 points (80.6% liked)

Linux

47368 readers
905 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
 

Appimages totally suck, because many developers think they were a real packaging format and support them exclusively.

Their use case is tiny, and in 99% of cases Flatpak is just better.

I could not find a single post or article about all the problems they have, so I wrote this.

This is not about shaming open source contributors. But Appimages are obviously broken, pretty badly maintained, while organizations/companies like Balena, Nextcloud etc. don't seem to get that.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 4 months ago* (last edited 4 months ago) (1 children)

Eh, I've always felt these solutions are complementary, or supplementary, rather than a "versus". Each one, in particular cases, covers gaps the others can't cover. The only one that's unneeded is Snap.

For example, I like Flatpak. I like that I can get software from an authorized hub, much like with a package manager. I like that the releases of the apps in the hub are mostly well documented.

But no matter how nice Flatpak seems to be, its overreliance on "portals" and "buses" and "seals" comes associated with trying to over-engineerize my system too much for its own good. Every app I have ever tried on Flatpak, for example, doesn't support audio, apparently because I have the godly, eternal, battle-tested ALSA and not the manchild's crap that is PulseAudio. But since apparently PulseAudio is the GNome / Microsoft approved way to do audio on Linux, I'm ~~supposed~~ expected to have it. What's next? systemd-flatpakd?

OTOH, I picked up the AppImage for Freetube and not only do I get audio but it loads and runs noticeably faster than the Flatpak version. And since it's an official release I know where can I trustably get an update from. Literally no downsides!

But I sure as hell am not going to go for an AppImage for an app from which I expect more integration with my desktop activity, such as say a code editor or an advanced image / model viewer. Not if I can help it. Because I am going to be expecting to be able to stuff like drag and drop, have a correct tray icon, etc.

So that means I have to keep an eye on both solutions.

Hey, at least I'm avoiding Snap!

~~Now if there's an AppImage for Steam somewhere.... maybe...~~

[–] [email protected] 2 points 4 months ago* (last edited 4 months ago)

You got me in the first part XD

No joking, apart from that

But since apparently PulseAudio is the GNome / Microsoft approved way

I think I understand your point.

Pulseaudio is outdated, Pipewire AND Pulseaudio are now needed. Maybe also just Pipewire, and you can somehow fake Pulseaudio?

I never used a system without Pulseaudio, and Fedora has both (?) Or just Pipewire.

Pulseaudio is the old stuff that apps want to use, pipewire is the new cool stuff (I recommend qpwgraph) which allows like everything.

Aaand it is not overcomplicated, it isolated apps and introduces a permission system. Privileged programs that channel the requests and permissions, and sometimes need user interaction. Its actually less chaotic, the problem simply is that Flatpak ALSO tries to run all apps everywhere. And apps are mostly not up to date, so Flatpaks have randomly poked holes everywhere.

Today I worked on hardening configs for my apps. I maintain a list of recommended ones here. I will just put my overrides in my (currently still private) dotfiles, will upload them some day.

I am for example now Wayland only. Not all apps want to, but with the correct env vars (which I just globally set for all flatpaks, hoping it will not mess with anything), all apps use it.

This makes the system way faster, and applying different vars on the apps is very easy with Flatpak.

Literally no downsides!

Not true. It still has no updating mechanism, the binary may be official, but the rest are random libraries that may not be well versioned or controlled, etc etc.

The post is specifically about upstream supported Appimages, while Flathub is mainly maintained by the same 4 peolple (it is crazy). The request is for upstream devs to maintain Flatpaks.

But for sure not everything is nice. Runtimes are too huge, outdated apps cause huge library garbage, downloads are inefficient, ...

[–] [email protected] 2 points 6 months ago (1 children)

I hate them both, give me a .Deb (or equivalent) if you're gonna package it. And get off my lawn! 🤣

[–] [email protected] 4 points 6 months ago (1 children)

Installing .deb files from random sources is also very insecure and not reliable for updates.

[–] [email protected] -3 points 6 months ago (1 children)

Less secure than blindly installing flatpaks or appimages?

[–] [email protected] 5 points 6 months ago (2 children)

Appimages work "everywhere" so they are better for distributing malware.

Flatpaks are normally not installed from random sources and I hope it stays like that.

So yes and no.

[–] [email protected] 2 points 6 months ago (1 children)

(Also Flatpaks are, at least in theory, sandboxed and can't mess with your system stuff unless you allow them to)

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

Not yet.

The permissions are too comlicated (unlike "allow documents access" on Mac for example)

And there is no Desktop GUI integration for opt-in to permissions. So install, open Flatseal / KDEs settings, harden, then run.

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

Ah, got it.

[–] [email protected] 9 points 6 months ago (1 children)

As a humble linux user of the last year or two my experience has been that anything that is not in the Debian repo is a confusing nuisance. Nobody told me how to get appimages to integrate with my desktop. I had to rummage the internet and learn how. Compare this to a single click in Gnome software or simple command in the terminal for apps in the repo. I also installed flatpak, so I could get programs that weren't available in the repo but nobody told me I would have to install and rummage Flatseal to enable them to work properly, that it would make my backups and restores take 900% longer and would rinse my data when they need updating. It's been annoying enough that I've ended up learning how to install from source as well. Maybe it's cool that I've learned how to do all this new stuff but to be honest I just feel like I've had to do loads of extra head-scratching and unnecessary work. I did it willingly because I've been committed to not being held back from using open source software but I couldn't expect my friends and family to do any of this, so if I do get them onto Linux I can't recommend these programs to them.

Current tier list:

  • Debian repo
  • .deb downloaded from a website!
  • Enjoy using application, go for a bike ride.
  • Make sure I'm free for a couple of hours, install from source.
  • Appimage
  • Do without given application
  • Flatpak
[–] [email protected] 5 points 6 months ago (1 children)

You shouldnt need Flatseal as Flatpaks should have as little restrictions as need to make them work properly.

This is an app problem, on Android all apps start with 0 permissions and many work completely without.

I maintain a list of flatpak apps following modern standards. Those dont just work because their sandbox is full of holes, but because they are adapted to use portals etc.

So Flatseal is used to harden flatpaks, not weaken them, normally.

that it would make my backups and restores take 900% longer and would rinse my data when they need updating.

You mean their storage space? Yes, biggest problem. Not very well solved tbh compared to android where all apps are also sandboxed but they have sizes of 30MB or something.

Flatpaks should be preferred over many other formats though, as they just work, dont touch the system and are more secure, unlike Appimages.

I highly recommend to watch this talk that some commenter mentioned

https://www.youtube.com/watch?v=b4_TXZJw3rU

[–] [email protected] 3 points 6 months ago (1 children)

Thanks for the links. I really want flatpak to work for me because I like the sandboxing but the storage thing is a bit of a killer for me at the moment and I could not for the life of me get Digikam, Shotwell or Rawtherapee to hand image files over to GIMP with the flatpak versions, whereas the repo versions were fine out of the box. Also, I feel like flatpak programs are much slower to open but that might just be me.

[–] [email protected] 2 points 6 months ago (1 children)

Flatpaks will always be a little slower, notably if you are on slow storage media.

Yes this is all native messaging I suppose. Flatpak apps can query an app list, just look at flatseal. So I think querying the installed flatpaks and handing it over to the system portal where you then choose the desired app is the modern workflow for this.

You might want to request that Digikam etc. implement portals for this file opening. Firefox can do for example but of course these are limited as long as apps dont modernize their workflow

[–] [email protected] 2 points 6 months ago (1 children)

I do hope flatpak can solve these things. I have the deb installs all working harmoniously at the moment, so I don't want to touch them but will have another look at flatpak versions at some point in the future.

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

Downstream Distribution is simply very very work intensive. By having the system and apps come from a downstream origin, packagers need to follow upstream and keep up with versions. And as upstream doesnt officially support these packages, many will have bugs. Or like on Debian, packages will be unusable as they are too old with unfixed bugs for years.

Neither Android, nor Windows nor any other big OS do things that way, for a reason.

[–] [email protected] 7 points 6 months ago (4 children)

Oh look, another Linux user whining about a binary distribution method they don't like. If you don't like Appimages, don't use them.

[–] [email protected] 1 points 6 months ago (1 children)

Well then, what text editor do you use then?

/s

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

Geany. Why?

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

As a user, I can't choose, if a dev only releases an appimage. Then it's a real pain or I skip the app.

[–] [email protected] 5 points 6 months ago (2 children)

On the one hand I am entirely sick of how people will keep wasting keystrokes on this kind of discourse when the whole point of Linux is that you can choose which one you like best.

On the other, someone on a different community said it best: "Hey, if Linux users didn't fight about what thing they want to make standard, what ELSE would we meme about?"

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

Can the user choose? Not if there is only an appimage. Some devs don't realise the problems they are causing doing that. So it is very important to enlighten them.

[–] [email protected] 4 points 6 months ago (1 children)

How Windows is shit? How Manjaro didn't renew their web certificate that time years ago? Whether or not it's Gnu/Linux or just Linux? There are so many "issues" to obsess over!

[–] [email protected] 1 points 6 months ago* (last edited 6 months ago) (1 children)

~~Why not the death of IRC and xmpp? Or are only other folks' complaints a problem? (Not stalking, just wanted to see what you were even doing here aside from complaining about Linux users' complaining. Turns out it's complaining.)~~

Update - Eh, sorry for being so damn grumpy.

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

Np, I'm pretty damn grumpy lately as well. I also apologize.

[–] [email protected] 14 points 6 months ago

Developers of often proprietary software think its a good format and only support that. This is a problem

[–] [email protected] 21 points 6 months ago (2 children)

Now I WILL get judged for this but hear me out... AppImages are useful for apps that will not get on Flathub. If you have an app that cannot get on Flathub (like a pirated Minecraft Launcher), you will be thankful developers are using AppImages for them. In this case, they're unlikely to use snaps (alt repos for snap are possible but difficult from what I've heard) and maintaining a flatpak repo just seems like overkill for a single program. So for cases like these, I'm glad to see these packaged as appimages

[–] [email protected] 3 points 6 months ago (1 children)

As far as I know flatpak applications can be distributed as a file without the need for a repository, just like .deb or .rpm files

[–] [email protected] 3 points 6 months ago

Can they? I'll be honest, I'm not that familiar with how flatpak works on a more technical level.

[–] [email protected] 13 points 6 months ago (1 children)

Okay fair point. Piracy, illegal content etc. will all get removed from Flathub.

Similar to another comment about archiving software that may get removed

[–] [email protected] 4 points 6 months ago (2 children)

Well you can just put a flatpac on a website and let download it from their right?

[–] [email protected] 3 points 6 months ago

You can, but it seems to be not documented how to get a .flatpak from an installed app.

[–] [email protected] 3 points 6 months ago

Yea im pretty sure flatpak suports bundles that you can install directly, just like an appimage

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

I think appimages are this popular because of tauri

[–] [email protected] 4 points 6 months ago

flatpak?

Frying pan, meet fire.

[–] [email protected] 7 points 6 months ago (1 children)

I’m not a fan of alternative packaging solutions. Never been. If it’s not in Debian’s repositories then I don’t bother with it. Some would say that’s close minded as not all packaging solutions are bad but when you use a stable distribution like Debian the native packaging solution is a lot easier to maneuver and troubleshoot than flatpaks and the like.

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

Flatpaks dont touch the system, which makes them a perfect addition to a Debian Base. Tbh I think Windows is the best example that this works, stable, boring base, and no software is stable for no reason. They outsource the work and the software even installs and updates in random ways, but it is always up to date which never breaks the system.

But to be fair I am not a Debian user. I would consider it when being an admin for many clients that want a stable system. But I would install all apps from Flathub then, to have them up to date and not years old.

load more comments
view more: next ›