Advance

Tutorial Upgrade Ubuntu 18.04 to 22.04 LTS

Tutorial Upgrade Ubuntu 18.04 to 22.04 LTS

When a new version of Ubuntu Linux is released, in addition to being able to reinstall it by clearing the previous Ubuntu system, you can use the Upgrade method to install a new version without deleting other software and personal information. It is possible to upgrade regular versions of Ubuntu to newer versions, but in the case of LTS versions, you can only upgrade to newer LTS versions without changing the settings. In this article, we are going to teach you How to Upgrade Ubuntu from 18.04 to 22.04 LTS. You can check out the packages available on the Eldernode website if you would like to purchase an Ubuntu VPS server.

How to Upgrade Ubuntu 18.04 to 22.04 LTS

If you have previously installed and used a version of Ubuntu on your computer and now want to use a newer version, we recommend that you upgrade instead of reinstalling. Before we go into the steps and conditions of the upgrade, remember that it is better to make copies and backups of all-important personal and business files so that there are no problems in case of inadvertent mistakes.

Recommended Article: How to use Fail2ban to secure Linux Server

Introduction to Ubuntu 22.04

Ubuntu is one of the best options for enterprise use and serves as the technical basis for projects such as Linux Mint and Elementary OS. It should be noted that Ubuntu always releases two major versions a year, and as planned, Ubuntu 22.04 LTS is now available.

Ubuntu 22.04 is a long-term support (LTS) version, which means it will be maintained for fifty years with security fixes and selected updates. That way, if you do not want to deal with major updates on a regular basis, you can use the LTS version for years by installing the operating system and updating it until October 22, when the new version becomes available.

Ubuntu 22.04 is also the first version to run as a full desktop on the Raspberry Pi 4. This Ubuntu version also includes the OpenSSL v3 programming language, the RDP, the Linux 5.15 kernel and the Mesa 22 chart. Ubuntu 22.04 is available for AMD 64-bit and x86 PCs. WSL, Docker, and other services that provide image files on Ubuntu have released version 22.04 of this Linux distribution.

Upgrading Ubuntu 18.04 to 22.04 LTS

At first, you should update your system with the following command:

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade

Now remove all required packages from your system by entering the following command:

sudo apt autoremove

You can install the update-manager-core  package by running the following command:

sudo apt install update-manager-core

Next, you should run the Ubuntu upgrade utility. To do this enter the following command:

sudo do-release-upgrade

When you are asked if you are sure you want to upgrade, type “y” and press “Enter“. In this case, the upgrade to Ubuntu 22.04 Jammy Jellyfish begins.

Now you should see the upgrade summary in your terminal and type “y” and press “Enter” again to agree to the upgrade.

After the upgrade process is complete, you should restart the system and type “y“, and press “Enter” again:

 

Ubuntu-22.04-jammy-jellyfish

 

Note that you should change the default wallpaper manually. To do this right-click on your desktop and press the “Change Background” button.

That’s it!

How to Upgrade Ubuntu 18.04 to 22.04 via GUI

You can also upgrade your system from your desktop environment. In this case, you do not need to interact with the command line.

First, you should open your terminal and launch the GUI upgrader. To do this enter the following command:

sudo do-release-upgrade -f DistUpgradeViewGtk3

Now click on Upgrade:

release-notes-for-ubuntu-22.04

 

Wait for the upgrade process to complete.

In this step, you will be asked again if you are ready to upgrade. Click “Start Upgrade” again to do this. Then wait for all new packages to be downloaded and installed.

 

start-the-upgrade-to-22.04

 

Now you should approve the Snap Package manager because Ubuntu 22.04 uses it to install and keep Firefox up to date.

To see if you need to confirm more changes, you can take a peak at your screen every once in a while during installation.

You will need to remove the obsolete packages from your system after the upgrade process is complete:

 

remove-obsolete-packages-ubuntu-22.04

 

Finally, you should restart your system. After boots back up, you will load into Ubuntu 22.04.

 

restart-the-system-for-ubuntu-22.04

Recommended Article: Tutorial Install SysStat On Ubuntu 20.04 LTS

Conclusion

Ubuntu 22.04 will receive free system updates by April 2027 and it is the latest long-term support version. In this article, we taught you how to upgrade Ubuntu from 18.04 to 22.04. I hope this tutorial was useful for you. If you have any questions, you can contact us in the Comments.

 

We Are Waiting for your valuable comments and you can be sure that it will be answered in the shortest possible time.

    Leave Your Comment

    Your email address will not be published.

    We are by your side every step of the way

    Think about developing your online business; We will protect it compassionately

    We are by your side every step of the way

    +8595670151

    7 days a week, 24 hours a day