sudo apt-get update #Gets list of available updates
sudo apt-get -y upgrade #Upgrades current packages
sudo apt-get -y dist-upgrade #Installs new updates
#Run as a single command
sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade