How to upgrade the OS from Ubuntu 18.04 to Ubuntu 20.04 

Introduction:

In this section we are going to see how to upgrade the OS of Ubuntu 18.04 to Ubuntu 20.04 in a vps.

Prerequisites:

  1. Server root login credentials
  2. Backup of the server in case if anything goes wrong

Procedure:

Step 1: Update the current apt repository

$ sudo apt update

Step 2: Next upgrade the installed packages to the latest using

$ sudo apt upgrade

Step 3: After upgrade to perform the missed list of upgrades using

$ sudo apt dist-upgrade -y 

Step 4: Now to upgrade the OS using do release upgrade tool

$ sudo do-release-upgrade

This will start the upgrade process and during the upgardation process it will ask for the confirmation to proceed. Proceed with the “yes(y)” option and also with the default selection through the process.

Finally after the upgrade process it will ask for a system reboot and confirm with “yes”.

This will reboot the server and once the reboot is completed check the OS version using 

$ lsb_release -a


Conclusion:

Now the server is successfully upgraded with the Ubuntu 20.04 by following the above mentioned steps.

admin

Our team has expertise across software and web development, WordPress, e-commerce, mobile applications, UI/UX, cloud and infrastructure, DevOps, CI/CD, API integration, security, testing, automation, and technical support. The team also works with AI-based software solutions, LLMs, AI workflows, AI agents, and intelligent application development to help businesses automate processes and build smarter digital solutions. We focus on developing, deploying, maintaining, and optimising secure, scalable, and reliable technology solutions while helping businesses adopt modern technologies and drive digital transformation.

Leave a Comment

Scroll to Top