Upgrade or Install Ubuntu 22.04 LTS Jammy Jellyfish
In this article
Upgrading to Ubuntu 22.04 LTS (Jammy Jellyfish) gives you a stable, long-term-supported system with five years of security updates. If you’re already on Ubuntu 20.04 or 21.10, you can upgrade directly. For a fresh install, you’ll need a USB drive (8 GB or larger) and a computer with at least 4 GB RAM and 25 GB free disk space. This guide covers both paths.
What You'll Need
- A computer with at least 4 GB RAM and 25 GB free disk space (more if you plan to store large files).
- An 8 GB or larger USB flash drive for a fresh install (optional if upgrading).
- Stable internet connection (for downloading the ISO or upgrade packages).
- Backup of important files (always recommended before a major upgrade).
Step-by-Step
Option A: Upgrade from Ubuntu 20.04 or 21.10
- Back up your important files to an external drive or cloud storage. This is critical—upgrades can occasionally fail.
- Open Software & Updates from the applications menu. Go to the Updates tab and set “Notify me of a new Ubuntu version” to For long-term support versions (if upgrading from 20.04) or For any new version (if upgrading from 21.10).
- Run a full system update: open a terminal (Ctrl+Alt+T) and run
sudo apt updatethensudo apt upgrade. Reboot if prompted. - Open Software & Updater again and click Settings > Updates. Look for a message saying “New Ubuntu version ’22.04 LTS’ is available.” If you don’t see it, run
sudo do-release-upgradein the terminal. - Follow the on-screen prompts. The upgrade will take 30–60 minutes depending on your internet speed. Do not interrupt the process.
- After the upgrade, reboot your computer. You should see the Ubuntu 22.04 login screen.
Option B: Fresh Install from USB
- Download the Ubuntu 22.04 LTS ISO from the official Ubuntu website (ubuntu.com/download/desktop).
- Create a bootable USB drive using a tool like Rufus (Windows), Etcher (macOS/Linux), or Startup Disk Creator (Ubuntu). Insert your USB drive, open the tool, select the ISO, and write it to the drive.
- Back up any files you want to keep from the computer you’re installing on—the process will erase the disk.
- Insert the USB drive into the target computer and reboot. Press the boot menu key (often F12, F2, or Esc, depending on the manufacturer) to select the USB drive as the boot device.
- Choose Try or Install Ubuntu from the GRUB menu.
- Select your language and keyboard layout, then click Install Ubuntu.
- Choose Normal installation (or Minimal if you want a lighter system) and check “Install third-party software” if you need proprietary drivers (e.g., for Wi-Fi or graphics).
- Select Erase disk and install Ubuntu for a clean install, or Something else to manually partition. For most users, the first option is easiest.
- Confirm the partition changes and click Install Now. The installer will format the disk and copy files.
- Choose your time zone, create a user account and password, and wait for the installation to finish. Reboot when prompted and remove the USB drive.
Common Mistakes
- Not backing up: Upgrades can fail, and a fresh install erases everything. Always back up.
- Upgrading without enough disk space: The upgrade requires at least 5 GB free; a fresh install needs 25 GB. Check with
df -h. - Interrupting the upgrade: Closing the terminal or losing power mid-upgrade can corrupt the system. Let it finish.
- Using an old USB tool that doesn’t support the ISO: Use a current tool like Rufus or Etcher to avoid boot issues.
- Choosing the wrong boot device: If the installer doesn’t start, you may have selected the wrong key or the USB isn’t bootable.
Tips
- Before upgrading, run
sudo apt autoremoveto clean up old packages and free space. - If you’re on 21.10 (non-LTS), upgrade to 22.04 as soon as possible—21.10 reached end-of-life in July 2022.
- After upgrading, run
sudo apt updateandsudo apt upgradeagain to get the latest patches. - For a fresh install, consider using the Minimal installation option to avoid bloatware.
- If you have an NVIDIA GPU, enable the proprietary driver in Software & Updates > Additional Drivers after installation.
Troubleshooting
Upgrade fails with “No new release found”: This usually means your current version is too old or the update manager isn’t configured. Ensure you’re on 20.04 or 21.10, and check the “Notify me” setting as in Step 2. If you’re on 18.04, you must upgrade to 20.04 first.
System freezes during upgrade: Wait a few minutes—it may be working. If it’s stuck for over 30 minutes, force reboot and run sudo dpkg --configure -a to fix interrupted packages, then try sudo do-release-upgrade again.
Boot fails after fresh install: Check that your BIOS/UEFI is set to boot from the correct disk. If you see a black screen, try booting with “nomodeset” (press ‘e’ on the GRUB menu and add it to the linux line).
Wi-Fi not working after install: This is common with proprietary drivers. Connect via Ethernet temporarily, then go to Software & Updates > Additional Drivers and enable the appropriate driver.
Upgrade gets stuck at “Installing the upgrade”: Check your internet connection. If it’s fine, wait—it can take a while. If it fails, run sudo apt update and sudo apt upgrade again, then retry the release upgrade.
Frequently Asked Questions
Can I upgrade directly from Ubuntu 18.04 to 22.04?
No, you must first upgrade to 20.04, then to 22.04. This is because the upgrade tool only supports jumping one LTS at a time.
Will my files be deleted during the upgrade?
No, an upgrade preserves your files and installed applications. However, a fresh install erases everything on the disk, so back up first.
How long does Ubuntu 22.04 get updates?
Ubuntu 22.04 LTS is supported for five years, until April 2027, for standard security and maintenance updates.
Is it safe to upgrade from 21.10 to 22.04?
Yes, 21.10 is a short-term release that can upgrade to 22.04. Do it soon because 21.10 is no longer supported.
What if my computer is very old?
Ubuntu 22.04 should run on most hardware from the last 10–15 years, but if you have a very old machine (less than 2 GB RAM), consider using Xubuntu or Lubuntu instead.
Can I install Ubuntu 22.04 alongside Windows?
Yes, choose “Install Ubuntu alongside Windows” during the installation. The installer will resize your Windows partition automatically. Make sure to back up Windows data first.