# How to Upgrade Ubuntu 22.04 to 24.04 LTS: A Complete Guide

Link: [https://www.cyberciti.biz/faq/how-to-upgrade-from-ubuntu-22-04-lts-to-ubuntu-24-04-lts/](https://www.cyberciti.biz/faq/how-to-upgrade-from-ubuntu-22-04-lts-to-ubuntu-24-04-lts/)

<div class="headline_area" id="bkmrk-author%3A%C2%A0vivek-gite%C2%A0l" style="text-align: justify;"><div class="byline">**<span class="post_author_intro">Author:</span> <span class="post_author">Vivek Gite</span> <span class="post_date_intro">Last updated:</span> <span class="post_date date_modified" title="2024-09-05">September 5, 2024</span> [<span class="num_comments">47</span> comments](https://www.cyberciti.biz/faq/how-to-upgrade-from-ubuntu-22-04-lts-to-ubuntu-24-04-lts/#comments)**</div></div><div class="post_content" id="bkmrk-ubuntu-24.04-lts-%28no" style="text-align: justify;">  
<span class="drop_cap">U</span>buntu 24.04 LTS (Noble Numbat) was launched on April 25th, 2024. This new version will be supported for five years until June 2029. The armhf architecture now provides support for the Year 2038 problem. The upgrades include significant updates to core packages like Linux kernel, systemd, Netplan, toolchain upgrades for better development support, enhanced security measures, and performance optimizations. It also has an updated GNOME desktop environment and other default applications. Let us see how to upgrade Ubuntu 22.04 LTS to Ubuntu 24.04 LTS using the CLI over ssh-based session.  
<span id="bkmrk-"></span>  
Users of Ubuntu 23.10 will be offered an automatic upgrade to 24.04 shortly after its release. However, users of Ubuntu 22.04 LTS will only receive the automatic upgrade offer once **24.04.1 LTS becomes available, which is scheduled for August 29** . However, you can force an immediate upgrade using the <kbd>-d</kbd> option and jump from **22.04 to 23.10** and then finally to **24.04 LTS**. This is until August 29, 2024. After that date, you can directly jump from 22.04 to 24.04 LTS directly.  
<table class="tutorialrequirements"><thead><tr><th colspan="2">Tutorial details</th></tr></thead><tbody><tr><td width="25%"><a name="tutorial_difficulty_level"></a><span title="The relative difficulty of completing this tutorial task">Difficulty level</span></td><td width="75%">[Intermediate](https://www.cyberciti.biz/faq/tag/intermediate/ "See all Intermediate Linux / Unix System Administrator Tutorials")</td></tr><tr><td><a name="tutorial_difficulty_level"></a><span title="Indicates whether the root account requires for administrative purposes to complete this tutorial">Root privileges</span></td><td>[Yes](https://www.cyberciti.biz/faq/how-can-i-log-in-as-root/ "See how to login as root user")</td></tr><tr><td><a name="tutorial_difficulty_requirements"></a><span title="Minimum requirements to complete this tutorial">Requirements</span></td><td>Linux terminal</td></tr><tr><td><span title="Primary tutorial category">Category</span></td><td>Server Upgrade</td></tr><tr><td><a name="tutorial_os_compatibility"></a><span title="This tutorial is also compatible with the operating systems (OS) mentioned in the following column">OS compatibility</span></td><td>[Linux](https://www.cyberciti.biz/faq/category/linux/ "See all Linux distributions tutorials") • [Ubuntu](https://www.cyberciti.biz/faq/category/ubuntu-linux/ "See all Ubuntu Linux tutorials")</td></tr></tbody><tbody><tr><td><a name="tutorial_est_reading_time"></a><span title="Estimated reading time for this tutorial page">Est. reading time</span></td><td>7 minutes</td></tr></tbody></table>

<div><small>Advertisement</small>  
<ins class="adsbygoogle" data-ad-client="ca-pub-7825705102693166" data-ad-format="auto" data-ad-slot="7261197400" data-full-width-responsive="true"></ins></div></div>## Step 1 – Backup your system

Backing up your data before upgrading from Ubuntu 22.04 LTS to 24.04 LTS is vital for two reasons. First, even though thoroughly tested, unexpected issues can arise during the upgrade process. If something goes wrong, a backup ensures you can recover irreplaceable files like databases, code written in PHP/Perl/Python, documents, photos, or scripts. Second, upgrading to a new LTS version might introduce changes that cause some of your data incompatibility. A backup allows you to restore and migrate the data to a format compatible with the new Ubuntu version. Remember to back up your data before upgrading to Ubuntu. Don’t blame us if you lose everything!

### How do I backup important data or everything?

Cloud providers usually offer backup options, such as taking a snapshot of your cloud server (here is guide for [EC2](https://docs.aws.amazon.com/prescriptive-guidance/latest/backup-recovery/ec2-backup.html) and [Lightsail VM](https://docs.aws.amazon.com/lightsail/latest/userguide/understanding-instance-snapshots-in-amazon-lightsail.html)). Alternatively, you can use various backup tools like [rsnapshot](https://www.cyberciti.biz/faq/linux-rsnapshot-backup-howto/), [tarsnap](https://www.cyberciti.biz/faq/how-to-compile-and-install-tarsanp-on-a-ubuntudebian-linux/), [restic](https://restic.net/), [kbackup](https://apps.kde.org/kbackup/), [duplicity](https://duplicity.us/), [bacula](https://www.bacula.org/), and [Déjà Dup](https://apps.gnome.org/DejaDup/). Testing your backups and verifying that they can be restored is necessary, as is finding out how long it takes to restore the data.

## Step 2 – Update your system

Run the [apt command](https://www.cyberciti.biz/faq/ubuntu-lts-debian-linux-apt-command-examples/ "apt Command Examples for Ubuntu/Debian Linux") to upgrade all installed packages on the Ubuntu 22.04 LTS:  
`<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>sudo apt update<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>sudo apt list --upgradable | more<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>sudo apt upgrade`

<div class="post_content" id="bkmrk--1" style="text-align: justify;"><div class="wp-caption aligncenter">[![Upgrading Ubuntu 22.04 LTS apps and packages to the latest version](https://www.cyberciti.biz/media/new/faq/2024/04/Upgrading-Ubuntu-22.04-LTS-apps-and-packages-to-the-latest-version-599x590.png)](https://www.cyberciti.biz/media/new/faq/2024/04/Upgrading-Ubuntu-22.04-LTS-apps-and-packages-to-the-latest-version.png)</div></div>Fig.01: Upgrading Ubuntu 22.04 LTS apps and packages to the latest version (click to enlarge)

<div class="post_content" id="bkmrk-you-may-see-a-messag" style="text-align: justify;"><div class="wp-caption aligncenter" id="bkmrk--2"></div>You may see a message like this while patching 22.04 LTS system:</div>```
<strong>Newer kernel available</strong>
The currently running kernel version is 5.15.0-1030-aws which is not the expected kernel version 6.5.0-1018-aws.  
Restarting the system to load the new kernel will not be handled automatically, so you should consider rebooting. 
```

Hence, [reboot the Ubuntu Linux box](https://www.cyberciti.biz/faq/howto-reboot-linux/ "Reboot Linux System Command") using the [reboot](https://www.cyberciti.biz/faq/howto-reboot-linux/ "Reboot Linux System Command") or [shutdown](https://www.cyberciti.biz/faq/howto-shutdown-linux/ "How To Shutdown Linux Using Command Line"):  
`<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>sudo reboot`

<div class="post_content" id="bkmrk--3" style="text-align: justify;"><div class="wp-caption aligncenter">[![Rebooting the Ubuntu 22.04 LTS machine](https://www.cyberciti.biz/media/new/faq/2024/04/Rebooting-the-Ubuntu-22.04-LTS-machine-487x599.png)](https://www.cyberciti.biz/media/new/faq/2024/04/Rebooting-the-Ubuntu-22.04-LTS-machine.png)</div></div>Fig.02: Rebooting the Ubuntu 22.04 LTS machine (click to enlarge)

<div class="post_content" id="bkmrk--4" style="text-align: justify;"><div class="wp-caption aligncenter" id="bkmrk--5"></div></div>## Step 3 – Upgrading from 22.04 LTS or 24.04 LTS

You must install ubuntu-release-upgrader-core package:  
`<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>sudo apt install ubuntu-release-upgrader-core`  
Ensure the **<kbd>Prompt</kbd>** line in /etc/update-manager/release-upgrades is set to ‘**<kbd>lts</kbd>**‘ using the “[grep](https://www.cyberciti.biz/faq/howto-use-grep-command-in-linux-unix/ "How to use grep command In Linux / UNIX with examples")” or “[cat](https://www.cyberciti.biz/faq/linux-unix-appleosx-bsd-cat-command-examples/ "cat Command in Linux / Unix with examples")”  
`<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>grep 'lts' /etc/update-manager/release-upgrades<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>cat /etc/update-manager/release-upgrades`

<div class="post_content" id="bkmrk--6" style="text-align: justify;"><div class="wp-caption aligncenter">[![Check to see if LTS prompt set or not on Ubuntu 22.04 LTS](https://www.cyberciti.biz/media/new/faq/2024/04/Check-to-see-if-LTS-prompt-set-or-not-on-Ubuntu-22.04-LTS-599x328.png)](https://www.cyberciti.biz/media/new/faq/2024/04/Check-to-see-if-LTS-prompt-set-or-not-on-Ubuntu-22.04-LTS.png)</div></div>Fig.03: Checking if the LTS prompt config is set or not on Ubuntu 22.04 LTS (click to enlarge)

<div class="post_content" id="bkmrk--7" style="text-align: justify;"><div class="wp-caption aligncenter" id="bkmrk--8"></div></div>### Opening up TCP port 1022 using the [ufw command](https://www.cyberciti.biz/faq/how-to-set-up-ufw-firewall-on-ubuntu-24-04-lts-in-5-minutes/ "How to Set Up UFW Firewall on Ubuntu 24.04 LTS in 5 Minutes") or [iptables command](https://www.cyberciti.biz/tips/linux-iptables-examples.html "Linux 25 Iptables Netfilter Firewall Examples")

For those using ssh-based sessions, open an additional SSH port using the ufw command, starting at port 1022. This is the default port set by the upgrade procedure as a fallback if the default SSH port dies during upgrades. The syntax for the [ufw command](https://www.cyberciti.biz/faq/how-to-set-up-ufw-firewall-on-ubuntu-24-04-lts-in-5-minutes/ "How to Set Up UFW Firewall on Ubuntu 24.04 LTS in 5 Minutes") to [open SSH alternative TCP/1022 port with ufw](https://www.cyberciti.biz/faq/ufw-allow-incoming-ssh-connections-from-a-specific-ip-address-subnet-on-ubuntu-debian/ "How to open ssh 22/TCP port using ufw on Ubuntu/Debian Linux") is as follows:  
`<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>sudo ufw allow 1022/tcp comment 'Open port ssh TCP/1022 as failsafe for upgrades'<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>sudo ufw status`  
Here is an example for iptables:  
`<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>sudo /sbin/iptables -I INPUT -p tcp --dport 1022 -j ACCEPT`  
Open the TCP/1022 port using your cloud server firewall if you have one. Here is how to do it with the AWS [EC2 security groups](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-security-groups.html) or [Lightsail](https://docs.aws.amazon.com/lightsail/latest/userguide/understanding-firewall-and-port-mappings-in-amazon-lightsail.html) instance:

<div class="post_content" id="bkmrk--9" style="text-align: justify;"><div class="wp-caption aligncenter">[![Open the TCP port 1022 using the CLOUD server firewall](https://www.cyberciti.biz/media/new/faq/2024/04/Open-the-TCP-port-1022-using-the-CLOUD-server-firewall-599x361.png)](https://www.cyberciti.biz/media/new/faq/2024/04/Open-the-TCP-port-1022-using-the-CLOUD-server-firewall.png)</div></div>Fig. 04: Open the TCP port 1022 using the CLOUD server firewall (click to enlarge)

<div class="post_content" id="bkmrk--10" style="text-align: justify;"><div class="wp-caption aligncenter" id="bkmrk--11"></div></div>## Step 4 – Upgrading from Ubuntu 22.04 LTS to Ubuntu 24.04 LTS version

Finally, start the upgrade from Ubuntu 22.04 to 24.04 LTS version. Type:  
`<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>sudo do-release-upgrade -d`  
Or you can try upgrading to the latest release using the upgrader from Ubuntu-proposed with version number. For example:  
`<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>sudo do-release-upgrade -p '24.04.1 LTS'`

### <span class="highlight">Are you still getting the following error **after August 29, 2024**?</span>

```
There is no development version of an LTS available.  
To upgrade to the latest non-LTS development release set Prompt=normal in 
/etc/update-manager/release-upgrades. 
```

There are multiple ways to upgrade Ubuntu 22.04 LTS before the release of 24.04.1 LTS, scheduled for August 29th, 2024. Here’s one safe method:

<div class="post_content" id="bkmrk-edit-the%C2%A0%2Fetc%2Fupdate" style="text-align: justify;"><div class="bleed yellow"><div class="container"><div class="text post_content"><div class="box pop">1. Edit the <tt>/etc/update-manager/release-upgrades</tt> file and set <tt>Prompt=normal</tt>. Run:  
    `<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>sudo nano /etc/update-manager/release-upgrades`  
    Set: ```
    Prompt=normal
    ```
    
    Save and close the file.
2. Next, run:  
    `<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>sudo do-release-upgrade`  
    Follow all onscreen instructions. This will get you **23.10 release** and reboot the system. Run:  
    `<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>sudo reboot`
3. Then, again edit the <tt>/etc/update-manager/release-upgrades</tt> and set <tt>Prompt=lts</tt>. Type:  
    `<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>sudo nano /etc/update-manager/release-upgrades`  
    Set: ```
    Prompt=lts
    ```
    
    Save and close the file.
4. Finally, type the following command and follow the rest of the guide to upgrade from 23.10 to 24.04 LTS:  
    `<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>sudo do-release-upgrade -d`

</div></div></div></div></div>This note will automatically disappear after August 29th, 2024, as there will be no need for this kind of workaround. As a seasoned sysadmin and developer, I recommend waiting until the release of 24.04.1 LTS (scheduled for August 29th, 2024) before upgrading from Ubuntu 22.04 LTS. This ensures superb stability and minimizes potential compatibility issues with your apps. However, you can use these instructions for testing purposes. This is a great way to check if your applications will work seamlessly with Ubuntu 24.04 LTS.

<div class="post_content" id="bkmrk-you-will-get-welcome" style="text-align: justify;"><div class="bleed yellow"><div class="container"><div class="text post_content"><div class="box pop">  
</div></div></div></div>You will get welcome message as follows:</div>```
Checking for a new Ubuntu release
 
= Welcome to Ubuntu 24.04 LTS 'Noble Numbat' =
 
The Ubuntu team is proud to announce Ubuntu 24.04 LTS 'Noble Numbat'.
 
To see what's new in this release, visit:
  https://wiki.ubuntu.com/NobleNumbat/ReleaseNotes
 
Ubuntu is a Linux distribution for your desktop or server, with a fast
and easy install, regular releases, a tight selection of excellent
applications installed by default, and almost any other software you
can imagine available through the network.
 
We hope you enjoy Ubuntu.
....
...
To sign up for future Ubuntu announcements, please subscribe to Ubuntu's
very low volume announcement list at:
 
  http://lists.ubuntu.com/mailman/listinfo/ubuntu-announce
 
 
Continue [yN]
```

Then it will tell you about ssh port what you already opened:

```
Reading cache
 
Checking package manager
 
Continue running under SSH? 
 
This session appears to be running under ssh. It is not recommended 
to perform a upgrade over ssh currently because in case of failure it 
is harder to recover. 
 
If you continue, an additional ssh daemon will be started at port 
'1022'. 
Do you want to continue? 
 
Continue [yN]
```

Finally, you need to confirm to start upgrade procedure:

<div class="post_content" id="bkmrk--12" style="text-align: justify;"><div class="wp-caption aligncenter">[![How to Upgrade from Ubuntu 22.04 LTS to Ubuntu 24.04 LTS using the CLI](https://www.cyberciti.biz/media/new/faq/2024/04/How-to-Upgrade-from-Ubuntu-22.04-LTS-to-Ubuntu-24.04-LTS-using-the-CLI-599x379.png)](https://www.cyberciti.biz/media/new/faq/2024/04/How-to-Upgrade-from-Ubuntu-22.04-LTS-to-Ubuntu-24.04-LTS-using-the-CLI.png)</div></div>Fig.05 : Upgrading Ubuntu from 23.04 or 22.04 to 24.04 (click to enlarge)

<div class="post_content" id="bkmrk--13" style="text-align: justify;"><div class="wp-caption aligncenter" id="bkmrk--14"></div></div>### Dealing with “Remove obsolete packages?” message

You will get message as follows:

```
Remove obsolete packages? 
 
27 packages are going to be removed. 
 
 Continue [yN]  Details [d]
```

You need to review those carefully and only remove those packages if you do not need them. Otherwise, choose ‘N’ option.

### System upgrade is complete

The movement has arrived. The system upgrade is complete. All you need to say ‘Y’ to reboot the system and pray that it comes online:

<div class="post_content" id="bkmrk--15" style="text-align: justify;"><div class="wp-caption aligncenter">[![Rebooting into Ubuntu 24.04 LTS server](https://www.cyberciti.biz/media/new/faq/2024/04/Rebooting-into-Ubuntu-24.04-LTS-server-599x328.png)](https://www.cyberciti.biz/media/new/faq/2024/04/Rebooting-into-Ubuntu-24.04-LTS-server.png)</div></div>Fig.06: Rebooting into Ubuntu 24.04 LTS server (click to enlarge)

<div class="post_content" id="bkmrk--16" style="text-align: justify;"><div class="wp-caption aligncenter" id="bkmrk--17"></div></div>## Step 5 – Verification

Use the command lsb\_release command or [cat command](https://www.cyberciti.biz/faq/linux-unix-appleosx-bsd-cat-command-examples/ "cat Command in Linux / Unix with examples") to check your Ubuntu Linux version. This command queries the <tt><span title="Linux or Unix /etc/os-release file format">/etc/os-release</span></tt> and provides you with the version information:  
`<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>cat /etc/os-release`  
Here is what I see:

```
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
```

And:  
`<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>lsb_release -a`  
Outputs:

```
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04.1 LTS
Release:	24.04
Codename:	noble
```

Check the Linux kernel version as follows using the uname command:  
`<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>uname -mrsOutputs:<tt><small>Linux 6.8.0-1014-aws x86_64</small></tt>`  
[![Ubuntu 24.04 LTS SERVER](https://www.cyberciti.biz/media/new/faq/2024/04/Ubuntu-24.04-LTS-SERVER-599x421.png)](https://www.cyberciti.biz/media/new/faq/2024/04/Ubuntu-24.04-LTS-SERVER.png)  
Please note that the Linux kernel version may very from time to time as new patches are applied to Ubuntu 24.04.xx LTS release.

## Step 6 – Enabling 3rd party repos/mirros

After completing the upgrade to Ubuntu 22.04 LTS (or 23.10) to 24.04 LTS, ensure that you enable 3rd party mirrors and repositories; otherwise, you will not receive updates. Use the following [cd command](https://bash.cyberciti.biz/guide/Cd_command "Cd command - Linux Bash Shell Scripting Tutorial Wiki"):  
`<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>cd /etc/apt/sources.list.d<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>ls -l`  
For example, my app repo was disabled during updates:  
`<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>cat my-cool-apps.list`  
Outputs:

```
#deb [arch=amd64] https://dl.www.cyberciti.biz/linux/deb/ stable main
```

To enable it again, I commented out the line by removing the #:

```
deb [arch=amd64] https://dl.www.cyberciti.biz/linux/deb/ stable main
```

Then run the apt command:  
`<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>sudo apt update<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>sudo apt upgrade`  
Finally, clean up unwanted and unused leftover packages:  
`<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>sudo apt autoremove --purge`  
Make sure to remove the iptables/ufw firewall rule that was added earlier to open the alternate SSH port at TCP/1022. For example:  
`<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>sudo ufw show added# add the delete rule before the allow keyword<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>sudo ufw delete allow 1022/tcp comment 'Open port ssh tcp port 1022 as failsafe option for upgrades'`  
See “[How to delete a UFW firewall rule on Ubuntu / Debian Linux](https://www.cyberciti.biz/faq/how-to-delete-a-ufw-firewall-rule-on-ubuntu-debian-linux/ "How to delete a UFW firewall rule on Ubuntu / Debian Linux")” for more info.

## Wrapping up

Congratulations! You’ve successfully upgraded your Ubuntu system from 22.04 LTS or 23.10 to the latest 24.04 LTS using the command line. For in-depth details, explore the official Ubuntu 24.04 [release notes](https://discourse.ubuntu.com/t/noble-numbat-release-notes/39890) and read manual pages using “[man](https://bash.cyberciti.biz/guide/Man_command "Man command - Linux Bash Shell Scripting Tutorial Wiki")” or “[help](https://bash.cyberciti.biz/guide/Man_command "Man command - Linux Bash Shell Scripting Tutorial Wiki")“:  
`<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>man do-release-upgrade<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>man apt<span class="normaluserprompt" title="The shell prompt usually ends in a $ sign and is not part of the command for the nonprivileged user.">$ </span>man apt-get`