r/linuxquestions • • 2d ago

Advice I wish major app developer start packaging apps in Appimages along with rpm and deb.

Lately, I have been using flatpaks and appimages. Not having to mess with root folder makes OS kind of indestructible.

24 Upvotes

33 comments sorted by

15

u/MocDcStufffins 2d ago

There are tools you can use to build your own Appimage from a .deb file. RPM can be done too with a few more steps.

2

u/Additional_Staff259 2d ago

yes there are, but would be easier to get official appimage files instead of doing manual conversion.

4

u/Albano_Ct 2d ago

converting from a deb only works well if you build it against an older base system, otherwise the bundled glibc version breaks it on half the distros anyway

2

u/Kilruna 2d ago

Didn’t know that!

-4

u/werpu 2d ago

Claude build me an app image.. did that with a tool recently

2

u/Additional_Staff259 2d ago

yeah, but apps are frequently updated, and it's a waste of token to do this for every version.

3

u/werpu 2d ago

in my case it was a semi abandoned app which I wanted as app image for an easily portable version!

But I agree, but the app image build file is written once!

10

u/carmicheals 2d ago

This! I am a big appimage fan - I use Gear Lever to manage them which makes it easy.

4

u/PingMyHeart 2d ago

Gear lever is great, but it doesn't seem to reliably trigger update checks for many of the appimages I use. I'm unsure why this happens, but I hope they can make it a consistent function, unless I'm missing something on my end.

2

u/Additional_Staff259 2d ago

many developers don't seem to know that you can bundle update metadata in the appimage itself. Some apps do. For those who don't I setup manually or ask claude/codex to do it.

1

u/carmicheals 2d ago

Yeah - if the app's on Github sometimes you have to play with the Gear Lever settings to get it to update.

1

u/Additional_Staff259 2d ago

same, I try to avoid rpm. Flatpak if it comes from official source, followed by appimage, followed by rpm. This is my priority.

1

u/olorin12 5h ago

I wish gear lever actually put out an appimage instead of a flatpak

5

u/vmcrash 1d ago

I'd rather prefer Flatpak.

1

u/nhermosilla14 2d ago

My take on this is that packaging stuff shouldn't be an issue now you can have AI do that tedious part for you. I used to keep some automatic GH Actions workflow to do that, but some people are already using agents to do that as well in a more dynamic way, and it's quite cheap.

1

u/Additional_Staff259 2d ago

yeah, ai can do that but it's a pain and waste of token to convert to appimage as apps are frequently updated. It does not take that much time for these developers to publish appimages.

1

u/nhermosilla14 1d ago

I meant what I said from the perspective of the developers packaging software. It used to be quite tedious setting up the different workflows to generate all the different package formats.

Converting packages from one format into another as an end user is another thing (and for sure a pain, with or without AI).

4

u/Mithrandir2k16 2d ago

TBH, if it has a nix flake I'm happy. Works on every distro.

1

u/hadrabap 2d ago

If so, they would need to move their build from ubuntu:latest so the AppImages can run on LTS distros. Otherwise it's pointless.

1

u/ExaHamza 2d ago

Poupem os dev do processo de empacotamento, para isso existem mantenedores. No mínimo, um appimage é suficiente. Agora ele ter gerar um .deb .rpm, Arch snap...é pedir muito

1

u/HoLeeXiet_69 btw 2d ago

universal bin like .penguin or whatever they would call it for an extension would be great. Like the ones e.g. msi, exe etc

1

u/DustyAsh69 Arch 1d ago

I just want the files in it... I'll do everything else myself. That's how I got the Arduino IDE. Everything else is super inconvenient for me.

-3

u/aieidotch 2d ago

please stop making appimages, rpm, and anything hinary. app developer just make the source. done

-5

u/C0rn3j 2d ago

AppImage is not a portable format, Flatpak is.

7

u/PingMyHeart 2d ago

No. An AppImage is one self-contained file you can run from anywhere without installing anything, so that's the truly portable one. A Flatpak bundle is also a single file, but it still needs the Flatpak runtime installed on the system to execute, so it behaves more like a package format than a portable app.

If you want maximum portability across machines with zero setup, AppImage is the pick.

1

u/Additional_Staff259 2d ago

Downsides is storage, as appimages donot share dependencies. Flatpaks share runtimes so the first flatpak download size will be larger, and other will be smaller, still larger than rpm.

0

u/C0rn3j 2d ago

appimages donot share dependencies

They do, they share the system.

Not the ones they have archived, however.

1

u/Interesting_Bet_6324 2d ago

AppImage still needs fuse though AFAIK

2

u/PingMyHeart 2d ago

This problem has already been solved.

0

u/nhermosilla14 2d ago

There's a fallback, if you try to run an AppImage on CLI without fuse you will see it actually tells you how.

0

u/C0rn3j 2d ago

So self-contained it's relying on like 50 dependencies to exist on the system.

Se self-contained it has full access to your system as your user.

it still needs the Flatpak runtime installed on the system to execute

And how do you imagine an AppImage works off a 10MB binary?

By being dependent on the system.

Try launching it on something like NixOS and see how badly it breaks.

Or just strace it and see for yourself.

0

u/gmes78 1d ago edited 1d ago

AppImage cannot guarantee portability (as in, working the same everywhere), because it doesn't prevent the app from loading stuff provided by the OS.

And AppImages don't include stuff like glibc or graphics drivers, so they have to rely on the system for that. Then there's also the matter of apps not being packaged properly, or unknowingly loading incompatible plugins, or loading libraries that aren't ABI-compatible, etc. Thus, the same AppImage can work differently on different systems, or break entirely.

Flatpak does not have these issues.

1

u/Additional_Staff259 2d ago

Appimage is macos .dmg equivalent for linux. They are amazing.