Purpose

This article explains the process of using the apt package manager in Ubuntu Linux to keep packages up-to-date.

 

Description

Keeping one's system up-to-date with all of the latest security patches is considered a systems administration "best practice." It should be done to prevent malicious actors from gaining access to your system(s) via some exploit.

 

Assumptions Made

This article assumes the reader understands the information in the following articles:

What is a VPS? 

Create a VPS To Run The Gala Node Software

Install the Gala Node Software on Ubuntu Linux

 

Procedure

1) Log in to a terminal (either via PuTTY or SSH using Linux VPS credentials or by opening a terminal emulator if working directly on a Linux machine).

2) If a user is shown a message like the following, they will need to update your VPS/Linux system. However, not all systems will display a warning, so it's good to occasionally run through steps 3-4 to ensure you have all security updates.

 


3) To update the system package libraries and run a full system update, run the following command:
sudo NEEDRESTARTMODE=a apt update && sudo apt upgrade -y

 


4) Once all updates are applied, it's best to reboot your system to ensure everything takes effect by typing the following command:
sudo reboot