sudo apt-get upgrade --yes
This command installs the packages. The
yes flag will tell the update process to continue rather than prompting you for each updated package or library.
Alternatively, you can also chain these commands together with an
sudo apt-get update && sudo apt-get upgrade --yes
In this guide, I broke them out separately so that I could explain things more clearly.