this post was submitted on 05 Feb 2024
100 points (91.0% liked)

Linux

48208 readers
921 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
you are viewing a single comment's thread
view the rest of the comments
[–] Oisteink@feddit.nl 5 points 9 months ago (5 children)

I still don’t understand flatpack on Linux. I see how it makes releasing binaries easy, but the cost and idea is contrary to basic unix principles.

[–] conciselyverbose@kbin.social 29 points 9 months ago (1 children)

Not everyone values the same things you do. Flatpaks aren't the cause of the fact that different applications don't function correctly with different versions of libraries; they're just the solution.

Flatpak is better for normal people. It's better for most advanced users who don't want to micromanage compatibility issues. And it really doesn't have an impact on people who do want to micromanage because all your alternative ways to install software are still there.

[–] intrepid@lemmy.ca 2 points 9 months ago (1 children)

Flatpaks aren't the cause of the fact that different applications don't function correctly with different versions of libraries

This problem has been solved by Nix and Guix. Nix is as popular among developers as flatpak is. Add bubblewrap to all applications, and you get nearly all the features as flatpaks. Flatpaks, meanwhile are huge and a bit slow to start - problems that Nix and Guix don't suffer from.

I do use flatpaks extensively. But they are probably not the best solution to the problems you mention.>

[–] sudneo@lemmy.world 6 points 9 months ago (1 children)

Tbh, for me the value of flatpak is in the isolation (great for how easy it is to achieve), rather than the compatibility.

For example, I run obsidian with no network access and fs access to just the path where my notes are stored. This is really reassuring considering I am not really sure what all the plugins might do. While it is not perfect, it's much better than having it running natively in my box (I.e. root namespaces).

[–] intrepid@lemmy.ca 1 points 9 months ago (1 children)

Isolation is easy to achieve. Flatpak's sandboxing layer is bubblewrap. It's an independent software. It wouldn't be too hard to write a wrapper for bubblewrap that acts like flatpak and launches applications in a carefully constructed sandbox.

[–] sudneo@lemmy.world 1 points 9 months ago

It's also not too hard to cook a Dockerfile for it, or even write a systemd wrapper with security settings. However, with flatpak you get this out of the box and mostly in a transparent way, plus you get all the usually annoying aspects (like having GUI applications work in containers) taken care of.

[–] Sentau@discuss.tchncs.de 18 points 9 months ago

Which core Unix principles though¿?

[–] Unyieldingly@lemmy.world 18 points 9 months ago* (last edited 9 months ago) (2 children)

Linux is not Unix if you want to use Unix someone has it on floppy disks.

[–] Oisteink@feddit.nl 7 points 9 months ago

+1 insightfull

[–] InternetCitizen2@lemmy.world 16 points 9 months ago (1 children)

Are those principle still relevant? Particularly with GUI apps? I feel the sandboxing along is a good reason to switch to flatpak (or even snap if you know).

[–] joojmachine@lemmy.ml 11 points 9 months ago (1 children)

What cost? It works really well, hence why it's gaining traction so fast.

[–] nossaquesapao@lemmy.eco.br 3 points 9 months ago (2 children)

Well, there's the increased storage usage, and in some cases, more ram. There can also be issues with integration with your distro themes, etc.

Many people will consider these as a small cost to the benefits of flatpaks, but I can understand the ones who aren't sold on it.

[–] GravitySpoiled@lemmy.ml 12 points 9 months ago* (last edited 9 months ago)

Storage increase is a myth https://www.ypsidanger.com/wasting-disk-space/

Disrto theme bugs occur if the dev doesn't write the app theme agnostic enough. Nothing wrong with flatpak. Those "bugs" will disappear the more flatpak is used

[–] Kusimulkku@lemm.ee 9 points 9 months ago

there's the increased storage usage

Considering how much it is in reality, this is for most users a non-issue. Big issue in embedded devices maybe, but not for desktop users.