Anyone else starting to favor Flatpak over native packages?

DidacticDumbass@lemmy.one to Linux@lemmy.ml – 205 points –

I am currently using Linux Mint (after a long stint of using MX Linux) after learning it handles Nvidia graphics cards flawlessly, which I am grateful for. Whatever grief I have given Ubuntu in the past, I take it back because when they make something work, it is solid.

Anyways, like most distros these days, Flatpaks show up alongside native packages in the package manager / app store. I used to have a bias towards getting the natively packed version, but these days, I am choosing Flatpaks, precisely because I know they will be the latest version.

This includes Blender, Cura, Prusaslicer, and just now QBittorrent. I know this is probably dumb, but I choose the version based on which has the nicer icon.

263

You are viewing a single comment

I don't like flatpak or snap or any of them. System libraries exist for good reason, just because your computer is stupid fast and you have enough disk for the library of Congress a couple times over doesn't mean you should run a veritable copy of your whole operating system for each program. IMO it's lazy.

Sandboxing is a different thing though, if that's the purpose then it's doing it right.

I have a ton of flatpaks which means packages are shared between them, so no it’s not lazy or a copy of the whole system. It makes a ton of sense for stability.

Updates are diff’s so downloading and updating is fast. Not entire packages.

Making every package work with only a certain version of a dependency and hoping it is stable doesn’t make a lot of sense.

You've just moved the packaging problem from distributions to app developers.

The reason you have issues is historically app developers weren't interested in packaging their application so distributions would figure it out.

If app developers want to package deb, rpm, etc.. packages it would also solve the problem.

Sure. Except you gain universal compatibility for all distros that have flatpak and aren’t building all the different package formats. Makes it much more attractive for actual developers to package since it’s only done once.

There’s no right answer here, but there are definite benefits.

I’ve had many little issues since I moved to Linux years ago, most of which would never have been an issue if flatpaks were there at the time. My experience has been better with them.

Makes it much more attractive for actual developers to package since it’s only done once.

I maintain a few apps that are included into some distributions with no participation from my side apart from tagging what I consider releases in my git repo. How is doing something only once is more attractive as not doing it at all?

Because you can make sure it was done right. You don't have to worry about bugs or other issues being the result of faulty packaging if you're the one doing the packaging. Plus It makes reproducing bugs easier when everyone's using the same package, and declaring the flatpak as the official package makes it much more likely that people will use the flatpak.

You know you can have many versions of a library on your system at once, right?

As long as they don’t cause conflicts. You know dependency hell is a thing right? The reason flatpaks were thought up in the first place? Right?

Nice out of date dependencies with those lovely security vulnerabilities!

Touché

Developers shouldn’t be out of date, but yes.

Besides that it's only partially true (unless we speak Nix systems) That's also not the point of it. It's more about having runtime environment that an app was built against and tested with.

Yeah, that's why Arch is almost the only distro that keeps everything installed natively. All other distros either have a troublesome workaround or only support flatpaks.

Rolling release just keeps everyone on the same pace. Yes, they break sometimes, but on the long run it just works.

As a long time Arch user, it's not perfect, but it is perfect for me.

I see your point, and I agree. No need to spend resources just because we have them.

Sandboxing is definitely a benefit, but alas as I am learning I have no control of it's permissions, so that can potentially go wrong.

You can manage Flatpak permissions with Flatseal.

Great! I knew it was possible. That is one less argument against it.

Flatseal is super easy for anyone with a tech background to use. You can very quickly expand or reduce the access an app has to your system. Even below what the app comes with by default.

I do kinda wish the guis for installing flatpak apps were more forthcoming with the permissions, and possibly integrated some of the features of flatseal so you could modify the permission set before installing.

It does seem pretty intuitive.

Honestly I just sometimes want the app to see a file outside of Downloads.

I like them for the opposite reason. I'm still quite new to Linux, so I'm figuring out which software is best for me. I set up my server with Xubuntu and installed everything through Apt. I uninstalled a lot of software, but inevitably missed some things like libraries and config files.

Using Flatpak seems to keep track of everything, so uninstalling gets rid of everything that I would otherwise miss.

If it's doing what it says on the tin, Flatpak is making my life much easier :)

Trying to purge orphan dependencies is absolutely annoying. Talk about wasting space!