In Linux systems based on Debian, the commands apt and apt-get are used to install and uninstall packages – programs, as well as to update the system.
Although packages – programs can be installed and removed almost identically with these commands:
sudo apt install program_name
sudo apt-get install program_name
or
sudo apt remove program_name
sudo apt-get remove program_name
However, when it comes to updating the system, it is good to know that to fully update the system, the following commands should be issued:
sudo apt update
sudo apt full-upgrade
or
sudo apt-get update
sudo apt-get dist-upgrade
Simply issuing the command sudo apt upgrade or sudo apt-get upgrade does not always fully update the system.
It’s good to keep this in mind.