Logo
  • Ubuntu
  • CentOS
  • Debian
  • Fedora
  • RedHat

How to Upgrade to Ubuntu 22.04? - DesignLinux

Jun 01 2022
designlinux 0 Comments
How to Upgrade to Ubuntu 22.04

Upgrading the Ubuntu to its latest version is a straightforward and essential process. There are two methods of Ubuntu up-gradation.

You can do it by the GUI update tool and by command line. This article will tell you the complete command-line process on servers and desktops.

By following this article, you can easily upgrade to the latest version, Ubuntu 22.04, from Ubuntu 20.04 or 21.10.

Prerequisite#

  • The upgrade operation can be done with the superuser (root) folder. You must be logged in as a user with sudo privileges or a root user.
  • When Ubuntu is installed the first time, that user is superuser privileges by default. Before starting work, make sure you have a good internet connection.
  • The foremost thing is to make sure to take a backup of your data before making any changes.

Update Package Currently#

Before starting the release upgrade, Update all your packages to the latest version. Packages marked as held cannot be installed, upgraded, or removed automatically. So you need to upgrade them manually.

To check about held packages in your system, use this command:

sudo apt-mark showhold

If you got an empty output, there are no held back packages, but if some packages are on hold, you need to unhold the boxes.

An empty output means there are no held back packages. If there are on hold packages, you should unhold the packages with:

sudo apt-mark unhold package_name

Then refresh the apt list and upgrade installed packages by these commands:

sudo apt update
sudo apt upgrade

System Upgrade#

Perform a system upgrade by this command:

sudo apt full-upgrade

Remove all automatically installed old kernels:

sudo apt --purge autoremove

Upgrade to Ubuntu 22.04 LTS (Jammy Jellyfish)#

You can upgrade your Ubuntu to the latest version with a single line of command:

sudo do-release-upgrade

The do-release-upgrade command will disable all present third-party repositories, change your apt list, and point them to “jammy.”

During this process, you get prompt to confirm whether you want to start. You need to click on Y every time until you want to do some custom changes.

According to your internet connection, it may take some time.

Then you’ll ask to reboot your machine, click yes , and get this output.

"System upgrade is complete.
Restart required
To finish the upgrade, a restart is required.
If you select 'y', the system will be restarted.
Continue [yN] y"

Your Ubuntu new version is installed. Now to check, run this command:

lsb_release -a

If you get this output

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04 LTS
Release:	22.04
Codename:	jammy

Then Enjoy!!!!

Verdict!#

On account of the huge popularity of Ubuntu among the Linux desktop users, we are pleased to share this article on how to upgrade to Ubuntu 22.04.

We have tried our best to simplify the process so that anyone can upgrade to Ubuntu 22.04 easily and smoothly.

If you get a problem, go to the release notes page to see if there are any known issues that might occur during the upgrading.

Related

Tags: ubuntu, ubuntu lts

Installation and Review of Qubes Linux [Lightweight Distro]

Prev Post

How to Install SUSE Linux Enterprise Server 15 SP4

Next Post
Archives
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • July 2022
  • June 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
Categories
  • AlmaLinux
  • Android
  • Ansible
  • Apache
  • Arch Linux
  • AWS
  • Backups
  • Bash Shell
  • Bodhi Linux
  • CentOS
  • CentOS Stream
  • Chef
  • Cloud Software
  • CMS
  • Commandline Tools
  • Control Panels
  • CouchDB
  • Data Recovery Tools
  • Databases
  • Debian
  • Deepin Linux
  • Desktops
  • Development Tools
  • Docker
  • Download Managers
  • Drupal
  • Editors
  • Elementary OS
  • Encryption Tools
  • Fedora
  • Firewalls
  • FreeBSD
  • FTP
  • GIMP
  • Git
  • Hadoop
  • HAProxy
  • Java
  • Jenkins
  • Joomla
  • Kali Linux
  • KDE
  • Kubernetes
  • KVM
  • Laravel
  • Let's Encrypt
  • LFCA
  • Linux Certifications
  • Linux Commands
  • Linux Desktop
  • Linux Distros
  • Linux IDE
  • Linux Mint
  • Linux Talks
  • Lubuntu
  • LXC
  • Mail Server
  • Manjaro
  • MariaDB
  • MongoDB
  • Monitoring Tools
  • MySQL
  • Network
  • Networking Commands
  • NFS
  • Nginx
  • Nodejs
  • NTP
  • Open Source
  • OpenSUSE
  • Oracle Linux
  • Package Managers
  • Pentoo
  • PHP
  • Podman
  • Postfix Mail Server
  • PostgreSQL
  • Python
  • Questions
  • RedHat
  • Redis Server
  • Rocky Linux
  • Security
  • Shell Scripting
  • SQLite
  • SSH
  • Storage
  • Suse
  • Terminals
  • Text Editors
  • Top Tools
  • Torrent Clients
  • Tutorial
  • Ubuntu
  • Udemy Courses
  • Uncategorized
  • VirtualBox
  • Virtualization
  • VMware
  • VPN
  • VSCode Editor
  • Web Browsers
  • Web Design
  • Web Hosting
  • Web Servers
  • Webmin
  • Windows
  • Windows Subsystem
  • WordPress
  • Zabbix
  • Zentyal
  • Zorin OS
Visits
  • 0
  • 259
  • 614,631

DesignLinux.com © All rights reserved

Go to mobile version