In the Ubuntu Linux operating system, you can easily update your deb, snap and flatpak application and package files easily with a single command chain. In this way you can make your Ubuntu system up to date. Please follow below steps to update your Ubuntu system completely with a single command chain.
Update all Software on Ubuntu
To update all deb and snap packages in your Ubuntu Linux OS to latest, run below command chain in the terminal (ctrl+alt+t) command-line application.
sudo apt update && sudo apt upgrade -y && sudo snap refresh
If you are using flatpak applications in your Ubuntu system, then run below commands (system wide & user based). It will update all available deb, snap and flatpak packages files in your Ubuntu Linux system.
If you are using flatpak system wide then run below command
sudo apt update && sudo apt upgrade -y && sudo snap refresh && flatpak update
If your are using flatpak per user level then run below command.
sudo apt update && sudo apt upgrade -y && sudo snap refresh && sudo flatpak update
You just have to enter “Y” and press the Enter key, which will take care of every update. In this way you can easily update your Ubuntu Linux system with a single command.