this post was submitted on 17 Feb 2024
173 points (93.9% liked)

Linux

48356 readers
493 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
 

Basically title.

I’m wondering if a package manager like flatpak comes with any drawback or negatives. Since it just works on basically any distro. Why isn’t this just the default? It seems very convenient.

(page 2) 50 comments
sorted by: hot top controversial new old
[–] sebsch@discuss.tchncs.de 6 points 9 months ago (2 children)

What could be wrong with random foreign executables in your system?

load more comments (2 replies)
[–] cygon@lemmy.world 6 points 9 months ago

I'm a little put off by the inconvenient command line and the mandatory bells and whistles (flathub is nice and all, but must it be baked into the main executable rather than having the package manager as an optional thing on top?).

So far, AppImage just looks superior to me. Works without installing a runtime into my system, no need to become root and integrate an app into a system-wide managed package repository, I can just run it.

[–] TheAgeOfSuperboredom@lemmy.ca 6 points 9 months ago

I don't use Flatpak much, but I rarely see issues. Sometimes I see minor things like themes not quite being right, but its never been bad enough for me to spend the time to fix it.

I suppose another downside is the need to have the base runtime packages, so it could take more disk space if each app uses a different one. In practice apps will share runtimes though.

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

One of the use cases I would like to have used Flatpak for is Visual Studio Code. Unfortunately, I found the isolation to be too onerous for developer needs. Take the Rust compiler toolchain. There's no way to access that from VSCode. There are ways to add on tools to the VSCode environment, but that feels like a kludge when I already have everything installed and set up. And if the toolchain isn't available for Flatpak, tough luck. Other features just simply don't work. I eventually switched to using the Ubuntu builds from the VSCode developers.

Edit: The Rust compiler toolchain can be added onto Flatpak because there is a packaged version of the toolchain, but it's not the host environment's version. Other tools like the fish shell might be entirely unavailable.

[–] lemmyng@lemmy.ca 6 points 9 months ago (7 children)

The biggest downside is that it's only for distributing applications with a graphical user interface. Command line utilities still need another method of distribution.

load more comments (7 replies)
[–] burgersc12@mander.xyz 6 points 9 months ago* (last edited 9 months ago) (4 children)

Take a look at this site that goes into the details of the shortcomings of Flatpak, its from 2020 but I'm sure some of this is relevant still

[–] scratchandgame@lemmy.ml 3 points 9 months ago

I don't think anyone dislike this comment is really correct: When they said you can use flatseal, they are making user become security expert overnight.

Too much for anyone claim themselves "practical" "security"

[–] 0485919158191@lemmy.world 3 points 9 months ago

Thank you! Very interesting read!

load more comments (2 replies)
[–] ShaunaTheDead@kbin.social 5 points 9 months ago (1 children)

If you have an unusual setup, it can be annoying trying to give programs permissions and sometimes it just outright doesn't work. For example, I mainly game on a laptop which has a pretty small hard drive, so I tend to put most of my games on an external hard drive. Flatpak really doesn't play well with that.

load more comments (1 replies)
[–] excitingburp@lemmy.world 5 points 9 months ago

GPU drivers. It uses the Ubuntu 22.04 (LTS) userspace side of drivers. Could be incompatible with your kernel. Had all sorts of graphical weirdness with my AMD GPU with flatpak Steam.

[–] Unmapped@lemmy.ml 5 points 9 months ago

The main reason I don't use them is because when I move my nixos config to a new machine as far as I know you cant get them to auto install. I have to remember which ones I had installed and redo them manually.

Which is why if for some odd reason I don't want to just install from the nix pkgs repo. I use app images. I can keep them in a directory which I can just copy over to the new machine with my nixos config files.

[–] Whayle@kbin.social 4 points 9 months ago

Yes, the confusion that results when things don't work because of isolation.

[–] duncesplayed@lemmy.one 4 points 9 months ago

I feel like this should be required reading for a lot of Linux users. That article is a couple years old now, but I think is even more true now than it was when it was written. Having a middleman (package maintainer) between the user and the software developer is a tremendous benefit. Maintainers enforce quality, and if you bypass them, you're going to end up with Linux as the Google Play Store (doubly so if you try and fool yourself into thinking it won't happen because "Linux is different")

[–] Churbleyimyam@lemm.ee 3 points 9 months ago

What I find most annoying is the extra drive space required. It makes backing up and restoring my computer so much more annoying. The upside of this is that I've ended up learning how to install from source so I can avoid them when a deb package is not available!

[–] Adanisi@lemmy.zip 3 points 9 months ago (1 children)

I personally don't really like it, since it sidesteps what is supposed to be the all-in-one package manager for the system, and integration can be poor.

It's an alright idea, but I like the native package managers better. We're not Windows, we don't need so many different places to download our stuff.

load more comments (1 replies)
load more comments
view more: ‹ prev next ›