Soar package manager

9 points by zelda


Fingel

I went down a Linux packaging rabbit hole recently because someone created an issue on my project asking for Appimage support. I already provide a Flatpak so I never really felt the need to also provide Appimages, but I thought, why not?

Hoo boy. Maybe this is a skill issue, but creating an Appimage was going to be massive pain in the A. They are not completely isolated from the host system like you might think. Issues with glibc version right off the bat. Does not play nicely with glib/gtk. Basically, I was going to need to ship super old versions of everything if I had any hope of the Appimage running on distros like Debian. Also something about relying on a version of fuse that most distros don't even ship anymore?

I think Appimages are popular with Electron apps because the only thing that needs to be supported is Electron itself. Similar story with QT apps: QT is a framework, not a GUI toolkit (prove me wrong) so if you can manage to bundle whatever version of QT you need you're relatively isolated already and good to go.

"Static binaries" sounds really attractive. But sometimes you need things like config files, .desktop entries, icons... But that's solvable right? Maybe put them in some kind of archive, maybe with a manifest, you could even lay out the folder structure to mirror the filesystem locations each file will be installed to. Congratulations you just re-invented the .deb

I ship Flatpaks but honestly I've gone back to installing everything I can using pacman. Because guess what Arch packages are? They are binaries. Binaries with the occasional metadata, and a mature, battle tested tool that manages them. Sounds great to me!

jussi

How does this compare to Nix, Pacman, or some others?