Categories: TutorialsUbuntu

How to Update Ubuntu Linux using APT

This article shows how to update Ubuntu Linux using APT. If you are a new user and want to update your Ubuntu Linux machine to get the latest security and feature updates then this article is useful and handy for you.


When you update your Ubuntu machine, you will get the many bug fixes, new features and security improvements. This is also helps you to keep your system running smoothly, efficiently and securely

Basically, there are two ways to update Ubuntu:

  1. Using application called Software Updater.
  2. Using the command line tool called APT.

In this article, we are going to update Ubuntu using the command line tool (APT).



Ubuntu is a Linux Operating System based on Debian and mostly composed of non-profit(free) and open-source software. It is a complete Linux operating system that compatible with desktops, laptops, server and other devices. Ubuntu is Open Source so it is freely available for both community and professional support.

if you are a learner and looking for a Linux distribution for Learning then Ubuntu Linux Operating System is best for you as a beginning.


How to Update Ubuntu From the Command Line Terminal Tool (APT)

If you want to use the command line to update your Ubuntu Linux machine, follow the steps below:



First of all, you will need to open the terminal. Simply use the search box and search for Terminal and then select it to open.

Next, run the command below to check for updates:

sudo apt update

The command above will checks all your repositories in your Ubuntu machine and tell you that how many package upgrades are available.

After that, run the command below to update packages and software:

sudo apt upgrade

The command above will display a list of all available packages that are ready to be updated. Type and press Enter to confirm and start updating.




That’s all.

If you face any error and issue in above steps , please use comment box below to report.

If our article helps you, please consider buying us a coffee

Thank you for your support.


The post How to Update Ubuntu Linux using APT appeared first on Linux Tutorial Hub.

Ubuntu Server Admin

Recent Posts

Predict, compare, and reduce costs with our S3 cost calculator

Previously I have written about how useful public cloud storage can be when starting a…

1 day ago

One Thread to Poll Them All: How a Single Pipe Made WaterDrop 50% Faster

This is Part 2 of the "Karafka to Async Journey" series. Part 1 covered WaterDrop's…

1 day ago

A year of documentation-driven development

For many software teams, documentation is written after features are built and design decisions have…

2 days ago

Announcing FIPS 140-3 for Ubuntu Core22

With the release of the FIPS 140-3 certified cryptographic modules for Ubuntu 22.04 LTS, Canonical…

3 days ago

The foundations of software: open source libraries and their maintainers

Open source libraries are repositories of code that developers can use and, depending on the…

6 days ago

From inspiration to impact: design students from Regent’s University London explore open design for their dissertation projects

Last year, we had the opportunity to speak at Regent’s UX Conference (Regent’s University London’s…

1 week ago