How to update Ubuntu 16.04

How to update Ubuntu 16.04


Ubuntu is an open source operating system supported by Canonical. Once you install Ubuntu on your computer, you need to keep it updated with the latest security fixes, latest software, patches etc. This is very important. The purpose of this tutorial is to teach you how to do it.

This is a step-by-step tutorial on how to keep your Ubuntu system up to date. To follow this tutorial, you need to have the following requirements:

  • A computer with Ubuntu operating system installed.
  • Good internet connection to download the required software packages from the internet.
  • Basic knowledge of Ubuntu terminal. With basic I mean, how to open a terminal on Ubuntu and how to execute commands. 

Step 1: First open the terminal of your Ubuntu operating system. You can open your terminal by pressing Control, Alt and T at the same time. You can also go to the Unity dashboard and search by the keyword “Terminal” and click on the terminal. Or you can right click on the Desktop and click on “Open Terminal”.

Step 2: Now it’s time to update the repository information of your Ubuntu operating system. The repository is updated frequently, so if you have old repository database on your Ubuntu system, you cannot update any software package. Because your Ubuntu operating system won’t have any idea that there are new packages available. Run the following command and press enter,

“sudo apt-get update”


It will prompt you for your password. Type in your user password and press Enter.


Package repository update will start automatically. Wait for it to finish, it will take some time if it’s the first time you’re running this command.


Step 3: Once it’s finished, it’s time to update the packages on our Ubuntu operating systems. To do that the following command and press Enter and if it ask you for the password, enter your password.

“sudo apt-get upgrade”


Press y and hit Enter.



This command will download all the packages that are newer than the packages already installed on your Ubuntu system including all the dependencies that come with it automatically and install the packages one by one. This process will take a time, depending on the number of packages your Ubuntu system needs to update and your internet connection speed. So just wait till it finishes.

Step 4: Once the package downloads and installation is complete, reboot your Ubuntu operating system and enjoy all the goodies that come with the latest software that Ubuntu has to offer. You’re not secured with the latest bug fixes, security fixes and patches.

That’s it. Have fun with your Ubuntu operating system.