Connect to your Linux system via SSH for a quick and easy update. This quick little tutorial comes in handy when you are managing multiple Linux systems and need to update them all to the latest and greatest software. Please note; It is strongly recommend that you do NOT try to upgrade your system over the internet since the connection is more prone to disconnect mid-upgrade and that would most likely break your Linux installation.
- Static IP set for the remote computer
- SSH Installed on the remote computer
- APT Installed on the remote computer
Connect to the system you want to upgrade ssh email@example.com then press enter. Now type in you password and press enter again. You should now be connected to the remote Linux machine and see its CLI.
Now type in sudo apt-get update and press enter. This will update the sources, so APT knows what to packages to upgrade.
Type sudo apt-get upgrade and press enter. Review the updates (if there are any) and type yes to upgrade.