How to Update | Upgrade Software Ubuntu Desktop | Server

programmer 1653351 640 1

This brief tutorial shows students and new users how to update and upgrade software packages Ubuntu. This post applies to Ubuntu 18.04 | 16.04 and beyond.

New users and students will learn that the first things after installing Ubuntu is to understand how to update software packages on Ubuntu systems.

One of the most effective ways to protect your systems is by updating them regularly. These updates and patches are released to fix security vulnerabilities, enhance performance and resolve platform issues.

Students and new users will also find out that the easiest place to start learning Linux is on Ubuntu Linux OS.

It’s a great Linux operating system for beginners.

Ubuntu is an open source Linux operating systems that runs on desktops, laptops, server and other device.

While learning Ubuntu, you will find that Linux isn’t so different than Windows and other operating systems in so many ways, especially when it comes to using the system to get work done.

To learn how to update Ubuntu, follow the steps below:

Step 1: Update Ubuntu via Terminal

There are multiple ways to update Ubuntu. You can do it from the command line terminal or console, and the desktop graphical user interface (GUI).

Ubuntu comes with a tool called Advanced Packaging Tool (APT) that is powerful, easy to use and handles package management.

It’s the default package management and installation tool for Ubuntu and other distributions.

To update Ubuntu from its terminal, simply press the Ctrl + Alt + Delete keys to open its console window when using a desktop computer.

Ubuntu Command Terminal Window

On the terminal, you can run the commands below to check all package repositories for new versions.

sudo apt update

When you run the command above, it will prompt for your password.

The above command won’t update your system. It checks for newer versions of installed programs. When the command finish executing, it displays number of package(s) that can be updated or upgraded if there are never versions available.

To view list of upgradeable packages, simply run the commands below:

sudo apt list --upgradeable

The command above will list all packages that are upgradeable.

Step 2: Upgrade Packages via Terminal

Now that you know which packages are available to upgrade, if you want to upgrade them simply run the commands below:

sudo apt upgrade

Running the commands above will prompt you for your password before executing. Only administrator and members of the administrators group are allowed to upgrade packages.

Running the commands above will list the packages to be upgraded and prompt you to accept the changes that will be done.

You can type Y for Yes.

When you type Y, all packages that are upgradeable will be upgraded.

To simplify the process, you run both commands at the same time on one line. Below is the simplified version of both commands above.

sudo apt update && sudo apt upgrade

Another command to use that’s not in the picture is the autoremove command. This commands removes obsoletes packages that are not needed from your system to clear up disk space.

sudo apt autoremove

This is how one updates packages on Ubuntu via the command line terminal.

You can run three commands above efficiently on line as shown below:

sudo apt update && sudo apt upgrade && sudo apt autoremove

Continue below to learn how to update | upgrade packages from the desktop.

Option 2: Update | Upgrade Software from GUI

Now that you know to update and upgrade packages from Ubuntu terminal, simply follow the steps below to learn how to upgrade packages from Ubuntu desktop interface.

First, logon to Ubuntu desktop.

When you login, go to the Activities Menu, then search for Software Updater.

This is the GUI equivalent to the apt command line tool above.

Ubuntu Software Updater

When the tool opens, it will check for all available upgradeable packages.

If there are packages that are upgradeable, it will give you an upgrade to upgrade them. Simply click the Install Now button to begin upgrading.

Ubuntu update software

When you click the Install Now button, it will prompt you for your password. As mentioned above, only administrator and members of the administrators group can install packages on Ubuntu.

After typing your password, you computer will begin to upgrade packages.

The GUI tool doesn’t have options to remove obsoletes packages from your systems. So you can use the command line option above to remove those packages that are no longer needed by your machines.

When your computer is fully up to date, when you run the Software Updater tool, it should display that your computer is fully updated.

Ubuntu up to date

That’s it!


This tutorial showed you how to update and upgrade software packages on Ubuntu systems. If you find any error above, please use the comment form below to report.


You may also like the post below:

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.