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

Linux

48069 readers
697 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?

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 7 months ago

I click install, app launches and I don't need to deal with dependency hell for it. (I like them)

[–] [email protected] 1 points 8 months ago
[–] [email protected] 1 points 8 months ago

I like them sonce they're easy to install and you can update all Flatpaks at once. But I don't likke the paths and run commands. Very unintuitive.

[–] [email protected] 0 points 8 months ago (1 children)

They are awesome but personally I don't use them. I have an obsession with memory management. Flatpak apps don't share libraries so they get chunky at times. This shouldn't be a problem for most people. It's a personal problem.

[–] [email protected] 3 points 8 months ago* (last edited 8 months ago)

Man this Missinformationen is hard to squash. Yes Flatpaks absolutely share libraries. These are called runtimes and are shared between all the Flatpak apps that use the same version of it. You will only get more than one version of a given runtime if some apps need this other version. For most runtimes that I know of, most only have 2 currently maintained versions, so I almost never get more than that on my system (and when I do, app devs tend to update their apps shortly after so that they're using a maintained runtime). For example on my system where I mostly use GTK apps, I only have two versions of the Gnome runtime (44 and 45). And even when you have more than one version of a runtime, they get deduplicated, so even runtimes share parts between them.

If you're interested here is an article about it.

[–] [email protected] 13 points 8 months ago

I love them. They make the immutable distributions possible.

We need to stop with the idea of shared libraries, it's nice on the paper but in practice you only save a bit of disk space and it's a pain for developers to package for different distributions.

Distribution packages are great for core components of the system, or utilities everyone needs, but for end users applications something like flatpak makes more sense. This way it can be packaged by the upstream developer for all distributions, and sandboxing adds a layer of security. You wouldn't install an app that have all permissions on mobile, why do it on desktop?

[–] [email protected] 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.

[–] [email protected] -1 points 8 months ago

Everything I've gotten as a flatpak has been borked in one way or another. I only use it if there is literally no other option available.

[–] [email protected] 8 points 8 months ago

good enough, still prefer the system package manager for most things though

[–] [email protected] 11 points 8 months ago

They have their uses. In particular they're useful for easily getting applications your system repositories don't have or getting more up to date version of applications. Downsides are certainly the space all the redundant dependencies take up and the sandboxing can be a PITA especially if you have an application that needs to run another application. Overall I think they're the best "third party" package system available but they're not great.

[–] [email protected] 10 points 8 months ago

very cool and awesome

[–] [email protected] 3 points 8 months ago* (last edited 8 months ago) (2 children)

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

[–] [email protected] 2 points 8 months ago (1 children)

I'm using it for my browser on Steam Deck and it's fine. You just have to give it the right permissions.

[–] [email protected] 1 points 8 months ago (1 children)

Yea, I know but still some time it doesn't interact with system.

[–] [email protected] 1 points 8 months ago (1 children)

Sure, if you don't give it filesystem permissions it won't be able to download files and save them to disk.

[–] [email protected] 1 points 8 months ago* (last edited 8 months ago)

Wow Cool

Edit: NVM and Sorry bro, I was feeling kinda annoyed that's why I comment this but actually my problem was GNOME extensions integration.

[–] [email protected] 2 points 8 months ago

Issue is Libre office is being moved to Flatpak only

[–] [email protected] 3 points 8 months ago

It is awesome

[–] [email protected] 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.

[–] [email protected] 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.

[–] [email protected] 2 points 8 months ago

I usually prefer not to use them, but they flatpak for Prism Launcher comes with all versions of Java preinstalled which is convenient because I play verious versions of Minecraf, other than that I try to use xbps as much as possible

load more comments
view more: next ›