this post was submitted on 11 Jul 2023
208 points (91.6% liked)

Linux

48344 readers
529 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] db2@lemmy.one 64 points 1 year ago (4 children)

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.

[–] ebits21@lemmy.ca 40 points 1 year ago* (last edited 1 year ago) (2 children)

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.

[–] stevecrox@kbin.social 17 points 1 year ago (1 children)

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.

[–] ebits21@lemmy.ca 34 points 1 year ago (1 children)

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.

[–] manpacket@lemmyrs.org 6 points 1 year ago (1 children)

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?

[–] true_blue@lemmy.comfysnug.space 3 points 1 year ago* (last edited 1 year ago)

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.

[–] db2@lemmy.one 2 points 1 year ago (2 children)

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

[–] ebits21@lemmy.ca 11 points 1 year ago* (last edited 1 year ago) (2 children)

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?

[–] stevecrox@kbin.social 10 points 1 year ago* (last edited 1 year ago) (1 children)

Nice out of date dependencies with those lovely security vulnerabilities!

[–] ebits21@lemmy.ca 1 points 1 year ago

Touché

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

That got so spicy so fast.

[–] azvasKvklenko@sh.itjust.works 5 points 1 year ago

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.

[–] zephyr@lemmy.world 14 points 1 year ago (1 children)

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.

[–] onTerryO@lemmy.ca 7 points 1 year ago

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

[–] DidacticDumbass@lemmy.one 5 points 1 year ago (1 children)

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.

[–] arirr@social.fossware.space 4 points 1 year ago (1 children)

You can manage Flatpak permissions with Flatseal.

[–] DidacticDumbass@lemmy.one 3 points 1 year ago (1 children)

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

[–] greybeard@lemmy.one 3 points 1 year ago (1 children)

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.

[–] DidacticDumbass@lemmy.one 2 points 1 year ago

It does seem pretty intuitive.

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

[–] Tippon@lemmy.fmhy.ml 1 points 1 year ago (1 children)

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 :)

[–] DidacticDumbass@lemmy.one 1 points 1 year ago

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