Using your distribution's package-manager, update your repositories and upgrade your currently installed packages.
Since this tutorial is using Ubuntu, we will be running:
sudo apt update
After the system is done updating, run:
sudo apt upgrade -y
to upgrade the currently installed packages to newest versions. You will be asked [Yes/no] before it installs, enter "yes" and the installation will proceed.