this post was submitted on 08 Mar 2024
197 points (94.6% liked)

Linux

48323 readers
629 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
 

How does it stack up against traditional package management and others like AUR and Nix?

(page 2) 50 comments
sorted by: hot top controversial new old
[–] Dirk@lemmy.ml 5 points 8 months ago

I'll always prefer the repositories, but Flatpak comes in handy for applications with weird dependencies where you need to compile everything needed on your own - or outdated 32 bits software.

[–] ProgrammingSocks@pawb.social 5 points 8 months ago

Ambivalent. I like the consistency between distros and the idea of sandboxing, in practice sandboxing is a pain in the ass and Flatpaks use up an inordinate amount of space for different library versions. However, if I have to use a proprietary application I do appreciate the sandboxing and Flatpak is my preferred install method.

[–] GammaGames@beehaw.org 4 points 8 months ago

Haven’t had issues, elementary uses them for system apps

[–] olafurp@lemmy.world 4 points 8 months ago

I really like them. They give us a reliable application that doesn't depend the distro building a version for specific platform. For example if the newest versions are compiled for Ubuntu 24.04 but you're on 22.04 it might take a while to get the update.

It does come at a cost though, it'll have to package all the dependencies for 24.04 in a layer of the package so it'll take a long time to start up and take a lot more memory than necessary.

This is mitigated by flatpaks using same base for their application (like Ubuntu with Electron) but it still isn't the same as just starting up a proper apt program.

I really like it since we can have a modern version of a program for small distros and in general the barrier to entry so much lower so companies can't just say "oh we can't support all Linux distros, not feasible".

Aur you compile yourself for your own distro instead of it being done already by apt and the like.

Nix is a super cool since you can just setup and configure pretty much everything so that you just press "install" and you'll have your Gimp, VPN and whatever apps all done for you. You'll have to do some heavy configuration so programming knowledge is not necessary but really helps.

[–] eugenia@lemmy.ml 4 points 8 months ago (1 children)

I usually install Debian Linux on old Chromebooks that have only 16 GB SSD, and then gift them to my cousins or their kids. Flatpacks are out of the question, since pretty much every app I checked is between 500 and 1 GB of size. I only have 7.5 GB of free space in there after the base XFce Debian installation is done, plus 2 GB of swap. I find flatpacks to be space eaters, and I avoid them even on my normal, higher SSD size laptops.

load more comments (1 replies)
[–] gianni@lemmy.ml 4 points 8 months ago

Mostly positive. My encoding utility Aviator can be shipped with a custom community-backed SVT-AV1 fork in the background without anyone noticing any issues like they would if I linked to system SVT-AV1. Flatpak makes this kind of thing easy, and users don't have to think about it.

[–] Pantherina@feddit.de 3 points 8 months ago
[–] Jesus_666@feddit.de 3 points 8 months ago* (last edited 8 months ago) (1 children)

On the one hand I like the basic idea, on the other hand I think that some fundamental problems aren't fully solved yet. There big use case are passkeys and direct password manager integration – neither mesh well with the idea of software that isn't allowed to talk to most of the system.

I'm certain that this will be resolved at some point but for now I don't think Flatpak and its brethren are quite there yet.

load more comments (1 replies)
[–] CrabAndBroom@lemmy.ml 3 points 8 months ago

A lot of people seem to complain about them, but I really like them. I've even started using them over the AUR for some things now. I like that they keep certain things like Steam a lot tidier, and I like being able to see and control permissions and settings for everything all in Flatseal. The main downside I guess is that they use up more space by downloading dependencies for each app individually which is kind of redundant, but for me I've got a pretty big SSD in my laptop so it's never caused me any trouble. I could see how it could be a problem for someone with limited space on their system though.

Generally I tend to go Flatpak/AUR as a first choice, Appimage if I really need to, and Snaps never lol.

[–] om1k@sopuli.xyz 3 points 8 months ago

I wish more apps where officially supported, instead of saying it supports Linux and providing a .deb. Good thing the community provides unofficial flatpaks at least.

[–] unknowing8343@discuss.tchncs.de 3 points 8 months ago

The problem with Flatpak is that for me I would only use it to sandbox propietary apps, and most of these are not officially supported, so there is almost always something broken, like screen sharing, etc.

[–] sag@lemm.ee 3 points 8 months ago* (last edited 8 months ago) (5 children)

Get Job done but remember don't use it for Browser and Text Editor. It will make you suffer.

load more comments (5 replies)
[–] BigTrout75@lemmy.world 3 points 8 months ago (2 children)

Flatpaks are great. I install my core os and gui with the base package management. All my user side packages are Flatpaks. I then use Flatseal to lock down and modify Flatpaks as needed. What's great is running programs like wine without installing a ton of dependencies and then locking the install from parts of my computer I don't want it to have access to.

load more comments (2 replies)
[–] flatpandisk@lemm.ee 3 points 8 months ago

It is awesome

[–] JackGreenEarth@lemm.ee 3 points 8 months ago (1 children)

Doesn't work properly, apps are bigger and don't always apply GTK themes. I also can't easily edit the desktop file to edit the icons. I therefore only use it as a backup when I can't find an app on the AUR or office repositories, which is very rare.

[–] Pantherina@feddit.de 3 points 8 months ago

"Dont ask yourself if it works, but how it works"

For editing desktop entries, copy it fron this strange directory ~/.local/share/flatpak/exports/share/applications/ to your normal ~/.local/share/applications which will always override the others.

[–] Chewy7324@discuss.tchncs.de 3 points 8 months ago* (last edited 8 months ago) (1 children)

AUR is similar to flathub in that most packages aren't thoroughly checked. Except for the packaging guidelines which usually have to be followed. I'm not sure how in depth nixpkgs or other distros check the source of packages of new maintainers.

Flatpak runs on all distros and supports sandboxing, which makes it a great addition to all distro repos. AUR can cause issues with dependencies and unmaintained packages, and the make file should be read since it's run with root privileges. Additionally the AUR only works on Arch Linux. Breakage isn't a risk with Nix and it's seamless rollback, but has to be installed deeply into the system (/nix)

My personally preferred package manager for most GUI apps is flatpak. Nix is great because it allows to install packages declaratively.

Edit: NixOS -> Nix

[–] Shareni@programming.dev 2 points 8 months ago (2 children)

Except on NixOS, where it's possible to install packages declaratively.

Why only use nix on nixos?

load more comments (2 replies)
[–] Unyieldingly@lemmy.world 3 points 8 months ago

Flatpak is why i moved to Debian, Running a Stable OS with the latest packages have made my Linux Desktop a full replacement for Windows, MacOS and Rolling releases.

[–] 4vr@lemmy.ca 2 points 8 months ago

I didn’t want to containerize every installed app. Switched to Arch and don’t have to worry about it.

[–] JoeKrogan@lemmy.world 2 points 8 months ago* (last edited 8 months ago)

I like it but I would prefer it to be more restrictive out of the box. Such as have apps declare a list of urls the are permitted to contact , a browser could have * .

I'd like a more granular filesystem list too more akin to apparmors were each file path needed is explicitly defined, in some cases you would need a wildcard or a directory but for most apps this could be done.

load more comments
view more: ‹ prev next ›