this post was submitted on 23 Jun 2025
65 points (97.1% liked)
Linux
8360 readers
381 users here now
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This is dumb lol but
Exchange apt for whatever package manager you use, optionally add "&& flatpak upgrade". If you really want to live on the edge throw a -y in there as well
Mine is a bit longer and includes automatically removing unused dependencies:
alias update='sudo apt update && sudo apt upgrade && flatpak update && sudo apt autoremove --purge && flatpak remove --unused --delete-data && notify-send '\''update done'\'''
I just end mine with "&& exit"