Good news for Ubuntu users: Canonical’s on 23. April 2020 Ubuntu 20.04 LTS published. As this is an LTS (Long Term Support) version, ubuntu users will receive updates and support until 2025. It is therefore worthwhile to upgrade your Ubuntu 18.04 LTS desktop to Ubuntu 20.04 LTS (Focal Fossa).
In this article we show you how to upgrade from Ubuntu 18.04 LTS to 20.04 LTS. There are two ways to do this, either from the command line or via the GUI. A stable internet connection in your Ubuntu system is necessary for a smooth upgrade.
Ubuntu upgrade 18.04 LTS to 20.04 LTS via command line.
We strongly recommend backing up your existing Ubuntu 18.04, which may be on an external drive.
You can also read: How to use TimeShift for backing up and restoring Ubuntu Linux
Before starting the upgrade, we take a notepad of the existing Ubuntu version, open the terminal and execute the command below,
[Secure email]:~$ cat /etc/lsb-release
We will obtain the results of the above team roughly as shown below,
Let’s take a dip in optimisation.
Step 1) Apply all updates to the installedpackages.
To install any updates to the installed packages, run the apt command,
[Secure email] hi:~$ sudo apt update
[Secure email]:~$ sudo apt upgrade -y
Once you have installed all the updates, including the kernel, reboot the system.
[Secure email]:~$ Restart the ship
Step 2) Remove unused cores and install Update Manager Core.
Once your Ubuntu 18.04 LTS desktop is available after rebooting, it is recommended to remove unused cores to create space on the /boot partition and run it under command:
[Safe e-mail]:~$ sudo apt-purge autoremove
Run the following command to install the Update Manager kernel as required for the update, although it should be installed by default on most systems If it is not installed, follow the command below,
Protect email]:~$ sudo apt install update-manager-core -y [Protect email]:~$ sudo apt install update-manager-core -y
Step 3) Start the update process
Run the following command to see if the new version 20.04 LTS is available for your system.
[Safe email]:~$ sudo do-release upgrade
If you have received a message in the output of the above command indicating that no version of the LTS is available for development, we can force you to execute the above command by passing the -d parameter to find the latest version of the LTS.
Now execute the command to start the update process,
[Secure email]:~$ sudo do-release upgrade -d
During the upgrade process, you will be asked to select y several times to update the package repositories, and sometimes to type to confirm the upgrade,
As soon as the update process has been successfully completed, we will receive the following message
The above conclusion confirms that the update is complete. The update tool asked us to press y to restart the system.
Step 4) Check for Update
After starting up the system after the upgrade, open the following terminal type to check the Ubuntu version,
[Secure email]:~$ cat /etc/lsb-release
Another way to check the version of Ubuntu is to go to Settings and select About.
This confirms that we have successfully upgraded Ubuntu 18.04 LTS to the latest Ubuntu 20.04 LTS version.
Upgrade from Ubuntu 18.04 LTS to 20.04 LTS via GUI
Pay attention: The first important task is to backup the Ubuntu Desktop 18.04 LTS.
Step 1) Apply updates to installed packages and restart
Find the updater in the search field and call it up by clicking its icon,
If updates are available, the following screen will appear, click Install now.
After installing all updates, reboot the system once.
Step 2) Start the update process
Once the system is available after rebooting, search the search bar for Software & Updates and then click its icon,
In the Updates tab, select Notify me or a new version of Ubuntu for long-term support from the Notify me or a new version of Ubuntu drop-down menu.
If the update does not appear, type ALT+F2, type -c -d as update manager and press Enter.
On the next screen we get the following message that Ubuntu 20.04 LTS is available for an update.
Click on the upgrade button to start the upgrade process. You will be asked to enter your user data.
Select Update in the next window,
Now follow the on-screen instructions to complete the upgrade process. After a successful upgrade, you will be prompted to restart the system.
Click on Restart now.
Step 3) Check the version of Ubuntu after update.
When you boot Ubuntu system after the upgrade, log in and check the Ubuntu version:
On the Search tab, browse for the settings and choose About.
The above confirms that we have successfully updated Ubuntu 18.04 LTS to 20.04 LTS. That’s all that comes out of this article. We look forward to your feedback and comments.ubuntu 20.04 php version,ubuntu lts kernel