How to Update Ubuntu 22.04? | Beginners Guide

Ubuntu is one of the most reliable and secure Linux distributions compared to others, such as windows. The Ubuntu community keeps on releasing updates for the system and packages, which enhances the overall performance of the system. With all such advantages, it is also necessary to frequently install updates so that everything can run smoothly without any problems.

In this post, two main methods will be demonstrated to update Ubuntu Linux. The content of this post is as follows:

Let’s start with the terminal method.

Method 1: Update Ubuntu 22.04 Via Terminal

Terminal is the most used utility in any Linux-based system. This section enlists a few steps to update Ubuntu Linux using the terminal.

Step 1: Open Terminal

The terminal can be used to update Ubuntu Linux. First, open the terminal by right-clicking anywhere on the desktop and selecting “Open in Terminal”.

The second method is to press the “CTRL+ALT+T” keys from your keyboard, and the terminal will automatically open.

Step 2: Update Packages List

After that, you need to run the following command that will fetch all the programs you can update in Ubuntu OS.

$ sudo apt update

Note: Or you can run (both commands serve the same purpose).

$ sudo apt-get update

When you run this command, you need to provide the password as well, and after that, it will show you the number of packages you can upgrade.

As you can see in the above image that 120 packages can be upgraded, which is usually different in everyone’s case.

Also, if you are interested in viewing the details of those packages, then you need to run the following command.

$ sudo apt list --upgradable

Step 3: Upgrade to the Latest packages

Now, to upgrade all of the packages to their latest versions, you need to run the following command.

$ sudo apt upgrade

Step 4: Verify the Upgrade

You can further verify it by typing the following command again.

$ sudo apt update


$ sudo apt-get update

Now, it’s showing you that “All packages are up to date”.

Bonus Tip: Update and Upgrade Simultaneously

You can also run the update and upgrade commands simultaneously.

$ sudo apt update && sudo apt upgrade -y


$ sudo apt-get update && sudo apt-get upgrade -y

Note: You should not cancel the updates while they are in progress. This might make your packages corrupt, and you can face problems later.

If you are not interested in updating Ubuntu 22.04 packages via terminal and looking for an alternate way, then you can follow the second method.

Method 2: Update Ubuntu Via Graphical User Interface (GUI)

You can also update Ubuntu 22.04 OS via GUI using the update manager. Let’s see how this method is carried out:

Step 1: Open the Update Manager

To open it, go to the applications search bar and write “Update” into the search box in the top center of the page and choose the first result from the left (as marked in the following image).

Clicking on the update manager will start downloading the package information that can be upgraded, as shown below.

Step 2: Install the Updates

After gathering all the information, it will ask you if you want to install updates or not, and you need to press the “Install Now” button.

Now, it will be better for you if you restart your OS once after installing all the latest updates to make the updates fully functional.

Bonus Tip: Install Ubuntu Security Updates

Ubuntu software center is a great way to install the security updates which may be pending. For this, you need to click on the Ubuntu software center and then select the “Updates” tab.

This will show you the list of everything that can be upgraded where you need to click on the “Update all” button to start upgrading everything as shown below.

That’s all from this Ubuntu update guide!


There are generally two main ways to update Ubuntu 22.04 OS. The first one is by using a terminal, while the second method is through a graphical user interface (GUI). This post has visually demonstrated both methods to update Ubuntu Linux. As additional information, a security updates process is also provided in this post.