I use one command to upgrade the whole system: paru
one one system and yay
on the other laptop.
Linux
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
Fedora updates flatpaks automatically, system updates too, but you need to reboot. Which Fedora version do you use?
100% agree with you OP.
I think a script with apt/pacman/dnf etc., flatpak update can do the job as well?
IMO its against the unix vision to extend apt to manage flatpak as well.
I use BAUH as a GUI "update everything in one click" does repos, aur, flatpak, snaps, appimages. Paru is CLI option for repo, aur and flatpak. I dunno if it does snaps never checked.
I use very minimal software and usually don't care about Flatpak
No need to overcomplicate things, just write a small shell script or even just an alias. I use this daily:
alias get-rekt="sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && flatpak update -y && flatpak remove --unused --delete-data -y"
adjust accordingly for Fedora and/or snaps. Obviously doesn't work for appimages or manually compiled stuff which should be a last resort if there's no other sensible way to install stuff.
edit: voyager shat the bed with the code block but you get the point
I'm using MX Linux and don't use any flatpak or snaps, only good old debs
I get 99% of my packages via nix and the other 1% through appimages which I can put anywhere I like on my disk
Yeah, flatpaks are a pain in the ass. So glad that I don't have to use them since switching to Arch.
yeah like other people have rec'd, I just wrote a script for installing/removing/upgrading/searching all the package managers I have. this was used as a tongue in cheek jab and has never truly been a brag.
If you want a single command, consider topgrade. Not sure if it supports Flatpak and Snaps yet, as I do not use those (yet).
Perhaps a small bash script to iterate through all of the package delivery mechanisms' for updating everything?
It doesn't even need to be a script you could just alias the 2 commands on a single line to a command in bashrc
It's wild what can be done with some clever aliases. Linux is better now than ever before.