this post was submitted on 24 Nov 2023
38 points (93.2% liked)
Linux
48077 readers
925 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
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
view the rest of the comments
Excuse me if this is a bit of a dumb question, as I have never particularly worried about packaging methods and simply installed what I needed from the official Arch packages or AUR, but how does Flatpak lead to fewer updates? I know it sandboxes things, that's why I've been interested in it for applications I don't quite trust like Discord, but I never got around to actually switching applications of that sort over and trying the format out.
Speaking of Discord, hooking that out of the "normal packages", aka everything I update via yay, would be beneficial anyways, since it's the only thing that forces me to update my system by saying how I'm oh so lucky about a new update coming out and I don't wanna mess with partial system updates. That's kinda besides the point though, I just wanted to complain.
For discord you could tell it not to prompt you to update by editing the config.
https://wiki.archlinux.org/title/Discord#Discord_asks_for_an_update_not_yet_available_in_the_repository
So you can update it whenever you want to.
Because of course the arch wiki has the info needed. I should've just checked there from the start, thanks!
Good question. Flatpak doesn't lead to fewer updates overall, but it does lead to fewer system packages installed via pacman or yay, which can run into dependency conflicts unlike Flatpak.
Flatpak provides a common runtime upon which different applications can be installed via containers, much like apps on a phone. You can then adjust the permissions for each app such as which directories it can access. It's kind of like installing Firefox (e.g. Flatpak) and then a Firefox extension such as uBlock Origin (e.g. LibreOffice). It doesn't matter if you're on Ubuntu, Fedora, or Arch, from the extension's perspective it's the same old Firefox and doesn't touch anything else on your computer. This means uninstalling is clean and it has no dependencies on other packages installed.
The disadvantage with Flatpak is they can be slower (sometimes not even noticeable) and take up more space, although the runtime can be re-used between Flatpak applications. Personally, I like Flatpak for large GUI applications like LibreOffice, which has 170+ dependencies if installed via pacman.
I'm not an expert, but hope this helps. For more/better info, I recommend reading https://itsfoss.com/what-is-flatpak/.
Huh, neat. On my current EOS Desktop PC it's a bit too late to uninstall everything and reinstall it as a Flatpak, but I'll keep that in mind for new Linux installs. Thank you :3