r/linuxquestions • • 7d ago

Flatpak vs native packages for a daily driver - which should I prefer?

I've been using Linux Mint for a couple months now and I'm still figuring out the best approach for installing apps. Some things I installed from the repos, others via Flatpak (mostly for newer versions of stuff like VLC or Discord).

The Flatpaks feel more up to date but sometimes they feel heavier or don't integrate quite as well with the system theme. Native packages update through the normal update manager but can lag behind.

Is there a general rule of thumb most people follow? Like, are certain types of apps better as Flatpaks (browsers, media players) while others should stay native (system tools, file managers)? Any downsides I should watch out for with heavy Flatpak use?

1 Upvotes

9 comments sorted by

3

u/FaultWinter3377 7d ago

It really comes down to preference, especially in update and security. Flatpaks are more secure, and will be updated faster than standard repos on Debian based systems. They are technically more secure but that comes with some annoyances too.

How I do it is this: if I’m on Debian systems I prefer Flatpak because I want the newest software (unlike on Windows, software on Linux actually seems to get better with each update).

However, on rolling release distros such as Arch (which is what I typically use) system repos update as fast, sometimes faster, than Flatpak. So native system packages are what I use almost always unless only a Flatpak is available or the Flatpak version has just proven that it works better overall (for example Bottes). My my order of operations is usually Pacman -> Flatpak -> AUR.

If you’re annoyed with system packages lagging behind, that is a Debian thing. Not saying you should change, just that it’s not always the same across systems.

3

u/TechaNima 7d ago

Always native, then Flatpak then anything else

1

u/gordonmessmer Fedora Maintainer 7d ago

Always Flatpak. Or Snap. "Native" packages on Mint are the option most likely to have known security vulnerabilities.

Ubuntu offers a number of options that significantly improve the security of the distribution, compared to their upstream source, Debian:

  1. The "main" repo and "universe" repo clearly communicate expectations about security and bug fix maintenance. Security-conscious users can disable the "universe" repo before deploying, and use only the Ubuntu packages that will be maintained in the future.
  2. Interim releases provide updates every six months to everything, including the "universe" repo. If you don't have a better source, a six month turnaround for security fixes isn't great but it's better than 2 years.
  3. Ubuntu Pro offers some level of patching for packages in the "universe" repo, though the program is new and it's hard to say how effective it is yet.
  4. Snap. It's often neglected in discussion of Snap, but decoupling applications from the underlying distribution very significantly improves their ability to ship bug and security fixes.

Mint rejects almost all of the things that actually improve security in Ubuntu. No Interim releases, no Ubuntu Pro, and no Snap by default, without acknowledging Snap's purpose. (To be clear, I don't like Snap much either, and I would prefer to see them use Flatpak instead.)

1

u/gpalmorejr 7d ago

From a user perspective it is super simple:

Flatpaks work Native works

Use whatever is available and easy unless you have a specific need. If you are like me, some of your apps will require specific system level integrations and will need to be native. But I have both. For simple stuff like the Spotify app. All that is flatpak. But an easy example for needing native is when I wanted to install additional games, for some reason, the flatpak version of Steam wouldn't let me install games on multiple drives, only the main drive. So I switched it to native and then I could install games on two of my drives. (Since multiple of my games are 100GB+ and my NVME and SSD are both only 500GB a piece. But that's on me for having 500G NVME, 500G SSD, 1.5T HDD, 1.5T HDD and having it all full of AI models, secure backups, and gigantic music files and totally legal media backups..... I need to invest in storage.)

1

u/SaltyBalty98 6d ago

I use Flatpaks wherever possible. I'm on Arch, use GNOME Shell, and since gnome's app ecosystem started moving to a Flatpak base I moved too.

I'm way less reliant on the AUR nowadays, it's actually quite rare to go after a package there.

I built my setup a couple years ago and to be as Linux friendly as I could, still on the same distro install, haven't add any errors or bugs with dependencies, sometimes happens with really old AUR packages.

On my mom's old laptop I installed LMDE and the Flatpak integration is quite good, I liked it a lot.

1

u/_Lost-In-The-Weeds_ 7d ago

You have found the differences.

FLatpaks are fat heavy pigs, and the "sand-boxing" can be really annoying, and yep they are independent from the system including theme. I remove the entire flatpack system on fresh install, where others use Flatpak I instead use AppImage. But I only use two, LibreWolf & Obsidian. AppImages are even more independant thatn Flatpack, they are self executable, to get them on the menu I write a .desktop file. I don't even store them on / instead on dedicated partitions/datasets accessible from multiple installs.

Lack of flatpaks keeps things svelte. though there is also ZFS lz4 compression here also.

df -h
Filesystem                           Size  Used Avail Use% Mounted on
suwannee/ROOT/LMDE7                  1.5T  8.7G  1.5T   1% /