How to Update Ubuntu Linux Operating System

Posted on

The Urge for Updating Ubuntu Linux Operating System

Based on the title of this article, the subject has totally clear. It is about how to update the operating system. Actually, this article is explaining on how to performing an update process. It performs in an Ubuntu-based operating system. Clearly, the update process is a must. Normally, the update process starts after completing the installation of Ubuntu-based operating system.

Why is it necessary to run the update process ?. Sometimes, during the installation process of a package or tool, it cannot continue further. The main reason is because there are certain requirements for the installation to proceed. Sometimes, it requires newer version of certain programs or tools. The other program or tool requires another program or tool runs normally.  And sometimes, that program or tool must be in a newer version. So,  performing the update process is a must. Before starting the update process, there is one important thing to remember. The update process only updates the version of the package. It updates the version information into a newer one. So, it does not install the newer version of the package or program. Hence, it just update the list into a newer version.

The Steps for Updating Ubuntu Linux Operating System

Consider the update process as an additional process. It helps to manage the operating system. If the update process is completed, the version of the package or tool will be updated. Apparently, updating the operating system is quite easy in Ubuntu-based operating system. The following are steps for updating the operating system in an Ubuntu-based operating system.

Those steps are :

1. Switch to root account of the operating system.

First of all, just remember to perform the above command using the ‘root’ account. Off course, it is the ‘root’ account of the operating system. Below is the command for switching to ‘root’ account  :

sudo su -

Just type the following command in the command line :

user@hostname:~$ sudo su - 
[sudo] password for user: 
root@hostname:~# 

2. Next, execute the update process.

apt-get update

Hence, just carry out the command above in the actual execution process :

root@hostname:~# apt-get update 
...
Get:53 http://xxx.xxx.xxx/ubuntu bionic-updates/universe DEP-11 64x64 Icons [289 kB]                                                                         
Get:54 http://xxx.xxx.xxx/ubuntu bionic-updates/multiverse i386 Packages [5.864 B]                                                                           
Get:55 http://xxx.xxx.xxx/ubuntu bionic-updates/multiverse amd64 Packages [5.708 B]                                                                          
Get:56 http://xxx.xxx.xxx/ubuntu bionic-updates/multiverse Translation-en [3.176 B]                                                                          
Get:57 http://xxx.xxx.xxx/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2.468 B]                                                                   
Get:58 http://xxx.xxx.xxx/ubuntu bionic-updates/multiverse DEP-11 48x48 Icons [29 B]                                                                         
Get:59 http://xxx.xxx.xxx/ubuntu bionic-updates/multiverse DEP-11 64x64 Icons [2.638 B]                                                                      
Get:60 http://xxx.xxx.xxx/ubuntu bionic-backports/universe i386 Packages [2.848 B]                                                                           
Get:61 http://xxx.xxx.xxx/ubuntu bionic-backports/universe amd64 Packages [2.852 B]                                                                          
Get:62 http://xxx.xxx.xxx/ubuntu bionic-backports/universe Translation-en [1.200 B]                                                                          
Get:63 http://xxx.xxx.xxx/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [5.104 B]                                                                   
Get:64 http://xxx.xxx.xxx/ubuntu bionic-backports/universe DEP-11 48x48 Icons [29 B]                                                                         
Get:65 http://xxx.xxx.xxx/ubuntu bionic-backports/universe DEP-11 64x64 Icons [1.789 B]                                                                      
Fetched 44,3 MB in 7min 32s (98,0 kB/s)                                                                                                                                
Reading package lists... Done
root@hostname:~#

The output of the above process is edited. It is showing only the ending part. As shown in the output, the process has completely finished. It is finished after fetching all the update version of the packages. After finishing the above process, the list of the package version is updated. Finally, just continue the process. After the update process is finished, the next process is to perform the upgrade process. For more information, read the article about upgrading process. Fortunately, the article is also available in this site.

Leave a Reply