Home  >  Article  >  System Tutorial  >  Graphic tutorial for upgrading Ubuntu 20.04 to Ubuntu 22.04

Graphic tutorial for upgrading Ubuntu 20.04 to Ubuntu 22.04

王林
王林forward
2024-02-29 11:49:271273browse

Upgrade Ubuntu to the latest version

php editor Apple has brought you a graphic tutorial, detailing how to upgrade Ubuntu 20.04 to Ubuntu 22.04. Through this tutorial, you will learn what you need to pay attention to during the upgrade process, as well as step-by-step detailed operation guidelines. By following this tutorial, you can easily and smoothly upgrade your Ubuntu system and experience more new features and improvements. Let’s take a look!

$ sudo apt update && sudo apt upgrade -y

After the upgrade is completed, restart the system

reboot

After the restart is successful, check the current version of the system

$ lsb_release -a

The latest version should be 20.04.6, as shown in the picture below.

Ubuntu20.04升级到Ubuntu 22.04的图文教程

Upgrade Ubuntu20.04 to 22.04

Execute the following command to start the upgrade

$ sudo do-release-upgrade -d

Just yes or confirm all the way. Here are some operations in the process.

All current Ubuntu 20.04 source list files will be overwritten by Ubuntu 22.04 jammy source list files.

Ubuntu20.04升级到Ubuntu 22.04的图文教程

Starting with Ubuntu 22.04, Firefox will only be available to Ubuntu users through snap packages. Upgrades to Firefox will automatically transition to snaps. If you have a running instance of Firefox, close it and select the OK option to convert Firefox to a snap package.

Ubuntu20.04升级到Ubuntu 22.04的图文教程

During this process, you will be prompted to delete or purge old packages that are a byproduct of the upgrade process. Press y and enter to continue.

Ubuntu20.04升级到Ubuntu 22.04的图文教程

The restart will take a little longer than usual, so be patient. Finally, the login screen will appear as shown in Figure

Ubuntu20.04升级到Ubuntu 22.04的图文教程

Ubuntu20.04升级到Ubuntu 22.04的图文教程

Check the system version, you can see that it has been upgraded to version 22.04

Ubuntu20.04升级到Ubuntu 22.04的图文教程

The above is the detailed content of Graphic tutorial for upgrading Ubuntu 20.04 to Ubuntu 22.04. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete