Tips and Tricks

How to make Linux updates

tips_tricks

Nowadays Linux OS became more user friendly, with an advanced Graphical User Interface like on Windows. Most of the settings could be configured through the Control Panel, like the automatic updates.

There are, however, some cases when you will need to perform the system updates manually. And here is how to do it.

Step 1. We will update the Linux package sources. To get the most recent list of packages in repositories.

apt update

Step 2. We will upgrade all currently installed packages on our Linux to the latest available version.

apt upgrade

These commands may be performed individually, or at the same time, combined.

In order to execute them, we must have root account permissions.

Let’s see how it works:

On your terminal, switch to the root account.

sudo su -

Then update the system.

apt update && apt upgrade

Note: The && (AND), indicates that the upgrade will execute only if the update is successful.