{"id":21379,"date":"2023-09-28T13:46:00","date_gmt":"2023-09-28T13:46:00","guid":{"rendered":"https:\/\/linuxways.net\/?p=21379"},"modified":"2023-09-28T13:46:00","modified_gmt":"2023-09-28T13:46:00","slug":"how-to-upgrade-from-ubuntu-22-04-to-ubuntu-23-04","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/ubuntu\/how-to-upgrade-from-ubuntu-22-04-to-ubuntu-23-04\/","title":{"rendered":"How to Upgrade from Ubuntu 22.04 to Ubuntu 23.04?"},"content":{"rendered":"<p><strong>Ubuntu 23.04<\/strong> code-named \u201c<strong>Lunar Lobster<\/strong>\u201d is the newest update from Ubuntu. It is not an LTS version instead it is a short-term release that focuses on enhancing the User Experience and Efficiency. The Ubuntu 23.04 version comes with a bunch of new features that include \u201c<strong>GNOME 44<\/strong>\u201d, \u201c<strong>Flutter-based<\/strong>\u201d Installation, \u201c<strong>Kernel 6.2<\/strong>\u201d, and newer software.<\/p>\n<p>In this article, we will see how we can Upgrade from the Ubuntu 22.04 version to the Ubuntu 23.04 version.<\/p>\n<h2><strong>How to Upgrade From Ubuntu 22.04 to Ubuntu 23.04?<\/strong><\/h2>\n<p>Having the latest Ubuntu version you can benefit from getting the latest software, having a bug-free environment and it will also keep your system secure. The steps below explain the process of upgrading the Ubuntu version from 22.04 to 23.04.<\/p>\n<h3><strong>Step 1: Update Existing Packages<\/strong><\/h3>\n<p>To update and upgrade the existing packages of your Ubuntu System use the command<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt update<\/div><\/div>\n<p>Enter the password for the sudo user to continue updating the process<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"728\" height=\"215\" class=\"wp-image-21380\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-1.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-1.png 728w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-1-300x89.png 300w\" sizes=\"auto, (max-width: 728px) 100vw, 728px\" \/><\/p>\n<p>Once updated, the packages have to be upgraded. Use the \u201cupgrade\u201d command to upgrade the updated packages:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt upgrade <span class=\"re5\">-y<\/span><\/div><\/div>\n<p>The \u201c-y\u201d flag will confirm the installation without asking for permission during the upgrading process:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"726\" height=\"190\" class=\"wp-image-21381\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-2.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-2.png 726w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-2-300x79.png 300w\" sizes=\"auto, (max-width: 726px) 100vw, 726px\" \/><\/p>\n<h3><strong>Step 2: Install the Update Manager<\/strong><\/h3>\n<p>Before installing the Update Manager, ensure that you are using the Ubuntu 22.04 LTS version by running the command<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">cat<\/span> <span class=\"sy0\">\/<\/span>etc<span class=\"sy0\">\/<\/span>os-release<\/div><\/div>\n<p>The command will display the current version of Ubuntu<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"732\" height=\"324\" class=\"wp-image-21382\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-3.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-3.png 732w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-3-300x133.png 300w\" sizes=\"auto, (max-width: 732px) 100vw, 732px\" \/><\/p>\n<p>To upgrade to 23.04, the pre-requisite step is to install the \u201c<strong>update-manager-core<\/strong>\u201d tool using the command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt <span class=\"kw2\">install<\/span> update-manager-core <span class=\"re5\">-y<\/span><\/div><\/div>\n<p>The \u201c-y\u201d flag will ensure the installation does not require additional confirmation:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"734\" height=\"208\" class=\"wp-image-21383\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-4.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-4.png 734w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-4-300x85.png 300w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><\/p>\n<h3><strong>Step 3: Configure the Update Manager File<\/strong><\/h3>\n<p>To configure the Update Manager file, access it using the command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> <span class=\"kw2\">nano<\/span> <span class=\"sy0\">\/<\/span>etc<span class=\"sy0\">\/<\/span>update-manager<span class=\"sy0\">\/<\/span>release-upgrades<\/div><\/div>\n<p>As we are using the LTS version, to upgrade to Ubuntu 23.04 we will need to change the prompt to \u201cnormal\u201d instead of the prompt being \u201clts\u201d:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"726\" height=\"43\" class=\"wp-image-21384\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-5.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-5.png 726w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-5-300x18.png 300w\" sizes=\"auto, (max-width: 726px) 100vw, 726px\" \/><\/p>\n<p>On successful execution of the given command, the following configuration file will open in the nano editor:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"729\" height=\"449\" class=\"wp-image-21385\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-6.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-6.png 729w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-6-300x185.png 300w\" sizes=\"auto, (max-width: 729px) 100vw, 729px\" \/><\/p>\n<p>In the Config File, replace the \u201cPrompt=lts\u201d line with the \u201cPrompt=normal\u201d:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"re2\">Prompt<\/span>=normal<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"729\" height=\"443\" class=\"wp-image-21386\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-7.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-7.png 729w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-7-300x182.png 300w\" sizes=\"auto, (max-width: 729px) 100vw, 729px\" \/><\/p>\n<p>Save the file by pressing \u201cctrl+s\u201d. Exit the file by pressing \u201cctrl+x\u201d.<\/p>\n<h3><strong>Step 4: Update Sources List<\/strong><\/h3>\n<p>As Ubuntu 22.04 is the \u201cJammy\u201d pack version and Ubuntu 23.04 is the \u201clunar\u201d pack version, we need to manually change every instance of \u201cjammy\u201d with \u201clunar\u201d in the sources list using the following command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> <span class=\"kw2\">sed<\/span> <span class=\"re5\">-i<\/span> <span class=\"st_h\">'s\/jammy\/lunar\/g'<\/span> <span class=\"sy0\">\/<\/span>etc<span class=\"sy0\">\/<\/span>apt<span class=\"sy0\">\/<\/span>sources.list<\/div><\/div>\n<p>The \u201c-i\u201d flag is used to record changes to a file:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"731\" height=\"89\" class=\"wp-image-21387\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-8.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-8.png 731w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-8-300x37.png 300w\" sizes=\"auto, (max-width: 731px) 100vw, 731px\" \/><\/p>\n<h3><strong>Step 5: Update and Upgrade the Packages<\/strong><\/h3>\n<p>The sources list when changed needs to be upgraded as well for the system to sync the changes. To update and upgrade use the command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt update<\/div><\/div>\n<p>This will update the packages and instead of Jammy you will see the Lunar Packages:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"736\" height=\"394\" class=\"wp-image-21388\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-9.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-9.png 736w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-9-300x161.png 300w\" sizes=\"auto, (max-width: 736px) 100vw, 736px\" \/><\/p>\n<p>The Lunar packages once updated need to be upgraded<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"722\" height=\"60\" class=\"wp-image-21389\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-10.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-10.png 722w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-10-300x25.png 300w\" sizes=\"auto, (max-width: 722px) 100vw, 722px\" \/><\/p>\n<p>Use the \u201cupgrade\u201d command to upgrade the packages<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt upgrade <span class=\"re5\">-y<\/span><\/div><\/div>\n<p>It will take some time to upgrade the packages. Wait for it to complete. During the extraction process, it will ask to restart services during upgrades, tab to \u201c<strong>Yes<\/strong>\u201d and press Enter.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"723\" height=\"429\" class=\"wp-image-21390\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-11.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-11.png 723w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-11-300x178.png 300w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><\/p>\n<p>It will start unpacking the packages, Wait for it to complete:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"728\" height=\"444\" class=\"wp-image-21391\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-12.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-12.png 728w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-12-300x183.png 300w\" sizes=\"auto, (max-width: 728px) 100vw, 728px\" \/><\/p>\n<h3><strong>Step 6: Initiate the Ubuntu 23.04 Upgrade<\/strong><\/h3>\n<p>Perform the upgrade using the command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt dist-upgrade <span class=\"re5\">-y<\/span><\/div><\/div>\n<p>Wait for the upgrade to complete:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"724\" height=\"168\" class=\"wp-image-21392\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-13.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-13.png 724w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-13-300x70.png 300w\" sizes=\"auto, (max-width: 724px) 100vw, 724px\" \/><\/p>\n<p>Reboot the system once upgraded using the command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> reboot<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"734\" height=\"25\" class=\"wp-image-21393\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-14.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-14.png 734w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-14-300x10.png 300w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><\/p>\n<h3><strong>Step 7: Verifying the Update<\/strong><\/h3>\n<p>To verify the upgraded Ubuntu version, run the command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">cat<\/span> <span class=\"sy0\">\/<\/span>etc<span class=\"sy0\">\/<\/span>os-release<\/div><\/div>\n<p>The terminal will show that the version of Ubuntu is upgraded to Ubuntu 23.04:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"812\" height=\"371\" class=\"wp-image-21394\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-15.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-15.png 812w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-15-300x137.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/09\/word-image-21379-15-768x351.png 768w\" sizes=\"auto, (max-width: 812px) 100vw, 812px\" \/><\/p>\n<p>This is how you can upgrade Ubuntu from the 22.04 version to Ubuntu 23.04.<\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>Migrating from Ubuntu 22.04 involves simple steps and terminal commands. The \u201c<strong>Update Package Manager<\/strong>\u201d makes it easy to upgrade to a newer version without having to uninstall the previous version and reconfigure our whole Operating System. This article explained the steps needed to upgrade from Ubuntu 22.04 to Ubuntu 23.04 Version using the Terminal.<\/p>","protected":false},"excerpt":{"rendered":"<p>Migrating from Ubuntu 22.04 to Ubuntu 23.04 involves simple steps and terminal commands. Upgrade by installing and managing the Update Manager Config File. <\/p>","protected":false},"author":110,"featured_media":21429,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-21379","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/21379","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/110"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=21379"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/21379\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/21429"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=21379"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=21379"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=21379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}