How to install security updates in ubuntu 20. 04

How to Install Security Updates in Ubuntu 20.04

An essential part of using any operating system is to check for security updates from time to time. It can be difficult to keep track of security updates all the time. One of the easiest ways to keep your Ubuntu system secure is by upgrading your software packages. New versions add the latest features available, and system security is increased by updating programs frequently.

This guide shows you how to install security updates in Ubuntu 20.04, which will be performed by upgrading security packages.

There are two primary methods for upgrading the software to minimize the vulnerability of security issues:

  • Update Ubuntu via the Command-Line
  • Sponsored
  • Update Ubuntu

Method 1: Update Ubuntu via the Command-Line

Updating Ubuntu using the command line gives you more clarity and authority over the process. Open your terminal and issue the following command to update the packages:

$ sudo apt update

How to install security updates in ubuntu 20. 04 1

To get a list of packages that are due for an update, enter the following command:

$ apt list –upgradable

How to install security updates in ubuntu 20. 04 2

Now, all the packages can be updated using the following command, which will complete all updates of the packages that require updates. After you enter the command listed below, your operating system will be upgraded successfully:

$ sudo apt upgrade

How to install security updates in ubuntu 20. 04 3
There will always be some software packages in the system that depend on each other to function properly.

These packages can be updated using the “dist-upgrade” command mentioned below. Type the command in the terminal to get an update:

$ sudo apt dist-upgrade

How to install security updates in ubuntu 20. 04 4
Unused packages that are no longer needed can be removed by executing the following command:

$ sudo apt autoremove

How to install security updates in ubuntu 20. 04 5

Method 2: Update Ubuntu via the GUI

The second approach to install security updates on your system is to install the updates using the software updater application. To start updating Ubuntu using the GUI, open the Ubuntu Applications folder and search for the Software Updater:

See also  How to Add Printer to Ubuntu
Sponsored

How to install security updates in ubuntu 20. 04 6

Open the Software Updater to check for the update details:

How to install security updates in ubuntu 20. 04 7

A dialogue box will appear to ask you for permission to install the updates right now or later:

How to install security updates in ubuntu 20. 04 8
Click “Details of updates” to receive a menu of individual packages, then check the package that you want to update:

How to install security updates in ubuntu 20. 04 9

Once it is done, click on “Install Now” to start the installation:

How to install security updates in ubuntu 20. 04 10
You can look at information about the installation in greater detail by clicking details:

How to install security updates in ubuntu 20. 04 11

So, the updated version of Ubuntu and the updated packages will be installed on the system. A window may ask you to restart your system to take the changes into effect.

See also  How to Install Vi Kakoune Editor on Ubuntu 22.04 LTS

Conclusion

The guide showed you how to upgrade the operating system via the GUI and the command-line. By updating the software packages and operating systems, security updates will be installed that not only make the whole experience smoother and faster but also secure the system from bugs and malware.


Discover more from Ubuntu-Server.com

Subscribe to get the latest posts sent to your email.

Comments

No comments yet. Why don’t you start the discussion?

    Leave a Reply