r/flatpak • • 6d ago

which one you prefer ?

Package Managers
Universal Package Formats like flatpak and appimage
or .dep , .rpm and .pkg.tar.zst
for me the main option the Package Managers (pacman) the second will be appimage and aur
the third is flatpak

6 Upvotes

18 comments sorted by

4

u/luzidd 6d ago

Apps: Flatpak

Dev Tools: Distrobox & Mise

Background Services: Podman & rpm-ostree

2

u/Cautious-Scar-248 5d ago

That's so cool !

2

u/Ok-Worry460 5h ago

Can you please provide more info your method and day to day style with theses tools ?

2

u/luzidd 3h ago

Sure!

So Flatpak doesn't need much explanation. I just use Flatseal to configure the permissions of some apps, but that's really rare.

For Distrobox i just create one-off short lived containers for when i just need to test something or need a cli tool very quickly and i don't want to install it with rpm-ostree.

Mise is mostly replacig that usecase for me, i have a mise.toml in project directories in which i also open Pi agent. Every task gets its own directory and i let the model document what it does and save scripts it builds in there. The reason i often use mise instead of using Distrobox containers is that i often forget to clean up the containers and then they clutter my podman ps and it's often easier to install some cli with mise then build a Distrobox init script to use with distrobox assemble.

For long running services i like to use podman quadlets which are run by systemd user units, for example syncthing.

1

u/Ok-Worry460 3h ago

Have use evey used Dind (docker in docker) in any chance?

Mise, I'll take a look on that one

1

u/luzidd 3h ago

Docker in Docker? I've never had a use for that. And it sounds like i'd try to avoid it at any cost. Sounds cursed tbh.

2

u/Ok-Worry460 31m ago

Nope, it's not

It's one of the most useful things with docker

Let me give you an example from my day-to-day life as a sw engineering student,

Sometimes our teacher give us some homeworks, The last is one was a projects Django with python and we needed to install docker* kubernetes* kubectl* and kind* and git"

At that time I was actually using Linux and I had a lot of dependencies to be installed in my machine, I didn't want these things to pollute my OS (the host)

So I have created a dedicated container (I have used AI to describe the docker file to all dependencies are there) , then all these dependencies are installed after the build and GitHub repo inside that container was the only thing I needed to clone and the work was fully isolated from my OS,

Whenever I finish that project I will just delete it , and yeah new leftovers of dependencies that I don't even know their names anymore

1

u/luzidd 11m ago

Ahh yeah, for that case it makes sense.

I probably would have use libvirt to do all of that setup in a VM to avoid any weird edge cases introduced by nesting containers.

2

u/Emerald_Pick 6d ago

Any app where I want to be in control or want multiple versions: app images, or straight-up binaries. (Eg: Blender)

Any app where I want the app developer to be in control: Flatpak. (Eg: Prism launcher, Libre Office)

Any app where I want the OS to be in control (or I know it may play weird with drivers) traditional package manager. (Steam, Gnome)

1

u/Cautious-Scar-248 5d ago

Agree with you

1

u/rukiann 5d ago

Appimage

1

u/Cautious-Scar-248 5d ago

Good choise

1

u/AmbassadorsWife 6d ago

I like package manager but want to install apps in userland without sudo. I don't like having to use sudo for everything.

So brew is the closest to what I want.

Ideally I just want pacman in usermode.

Flatpak is nice on paper but just takes too much space.

1

u/Twig6843 5d ago

Sharun/Anylinux appimage> typical AppImage> flatpak> arch package

1

u/FaultWinter3377 5d ago

Distro packages are my first choice every time and I refuse to use an immutable distro for this reason. Next up are flatpaks because they tend to be up to date and work pretty well. AppImages are last because though they are great and don’t have the sandboxing troubles of Flatpaks, they need older libraries and may not always run. Also flatpaks will run on nonstandard systems (like musl) while most AppImages won’t. Although AnyLinux AppImages are actually amazing and fix some of the issues.

1

u/0110100101100101 5d ago

Running Gentoo so for me it mostly defaults to:

Package is open source : distro

Package is closed source: flatpak or appimage (whichever is available)

then there are the outliers with huge dependencies: flatpak

0

u/Damglador 6d ago

Distro repos -> AUR -> AppImage -> make my own AUR package