Install Ubuntu Desktop

In this tutorial, we’ll download and install Ubuntu Desktop 24.04 LTS on your laptop or PC.

What you’ll need:

  • A laptop or PC with at least 25GB of storage space.

  • A flash drive, 12GB or above recommended.

Will Ubuntu work on my computer?

While Ubuntu works on a wide range of devices, it’s best to use a device listed on the Ubuntu certified hardware page. These devices have been tested and confirmed to work well with Ubuntu.

Back up your data

If you’re installing Ubuntu on a PC or laptop that you’ve used previously, back up your data before you start the installation.

Move any files that you want to keep to another storage device, such as an external disk or a USB drive.

To back up your web browser, connect your browser to an online account, such as a Firefox account or a Google account. After the Ubuntu installation, your browser synchronizes your data when you log into your account. Note that the Safari browser doesn’t work on Ubuntu.

Download an Ubuntu image

Get the Ubuntu installation image from the Download Ubuntu Desktop page. Save it to a memorable location on your PC. The downloaded file is called ubuntu-24.04.3-desktop-amd64.iso or similar.

The Download Ubuntu Desktop page

Create a bootable USB stick

Write the downloaded Ubuntu image to a USB stick to create the installation media. This is not the same as copying the downloaded image file: you have to use special software.

We’ll use the balenaEtcher application because it runs on Linux, Windows and macOS.

  1. At the balenaEtcher website, choose the version that corresponds to your current operating system.

  2. Download and install the tool.

    The Download Etcher page

  3. Insert your USB flash drive.

  4. Open balenaEtcher.

  5. Select the downloaded Ubuntu image and your USB flash drive.

    The Select target step in Etcher

  6. Click Flash! to write the image.

Now you have a USB stick that works as Ubuntu installation media.

Boot from the USB flash drive

  1. Insert the USB stick into the laptop or PC where you want to install Ubuntu.

  2. Restart the computer.

  3. Your device should recognize the installation media and launch the Ubuntu installer.

    If not, restart it again. This time, hold F12 during startup. In the boot menu that appears, select your USB device.

    F12 is the most common key for bringing up the system boot menu but Escape, F2 and F10 are common alternatives. If unsure, look for a brief message when your system starts: this often informs you which key to press to access the boot menu. You can also find the right key in the documentation for your laptop or PC.

Follow the installer

The Ubuntu Desktop installer opens.

  1. Choose your language.

    The Choose your language page

  2. Select any accessibility settings that your require.

    The Accessibility page

  3. Select your keyboard layout.

    The Keyboard layout page

  4. Connect to your network.

    This allows Ubuntu to download updates and third party drivers, such as NVIDIA graphics drivers, during installation.

    The Internet connection page

    The network connection is optional. If you can’t connect, the Ubuntu installation will still work.

  5. The installer gives you the choice to try or install Ubuntu.

    If you click Try Ubuntu, you can preview Ubuntu without making any changes to your PC. You can use the preview to test if your hardware works correctly with Ubuntu. You can then return to the installer menu at any time by clicking the Install Ubuntu shortcut on the desktop.

    The Try or install Ubuntu page

    To proceed, click Install Ubuntu.

Warning

Some PCs use Intel RST (Rapid Storage Technology), which is not supported by Ubuntu. If this is the case, you won’t be able to proceed with the installation unless you disable RST on your machine.

If you encounter this alert, see Reconfigure Windows to use AHCI to resolve the issue. To learn more, see Intel RST during Ubuntu installation.

Type of installation

Here, you can select how you want to be guided through the installation and what software you want to install.

  1. Choose between Interactive installation and Automated Installation.

    The interactive option is the standard route for most users.

    More advanced users can use the automated installation option to import a configuration file from a web server to standardize multiple installs and add further customization. An example tutorial for Automated installation is available at Getting started with Autoinstall on Ubuntu Desktop 24.04 LTS.

    The Type of installation page

    In this tutorial, we’ll follow the interactive installation.

  2. Choose between the Default selection and Extended selection options.

    The default installation comes with the basic essentials to get started, which you can then expand on after install using the App Center. The extended selection contains additional office tools and utilities.

    You can always install all these applications later if you have an internet connection.

    The Applications page

  3. Here, you can install third-party software. It can improve device support and performance (for example, NVIDIA graphics drivers) and adds support for additional media formats.

    We recommend that you enable both options.

    The Optimise your computer page

Disk setup

Select how Ubuntu should be installed on the disk:

  • If you’d like Ubuntu to be the only operating system on your hard drive, select Erase disk and install Ubuntu. This is the easiest option.

  • Manual installation is intended for expert users.

  • If your device currently has another operating system installed, you also have the options to install Ubuntu alongside that system.

The Disk setup page

Let’s take a moment to review all of the above options in detail.

Erase disk and install Ubuntu

If you select this option, Ubuntu takes up the entire disk space on the selected drive.

The Erase disk and install Ubuntu page

If your PC has multiple hard drives, you can select where Ubuntu is installed. This option allows you to install Ubuntu alongside an existing OS as long as they each have their own drive.

Warning

Ensure that you’re selecting the right drive in this case.

Encrypt your data

If you want to encrypt your data, you can enable disk encryption with the Erase disk and install Ubuntu option:

  1. On the Disk setup screen, select Erase disk and install Ubuntu.

  2. Open Advanced features.

    The Advanced features dialog

  3. Select a disk encryption method. Use LVM and encryption is the recommended encryption option.

For a description of the advanced features, see Advanced disk setup features.

If you select either LVM or ZFS encryption, the installer asks you to create a passphrase that you’ll need to enter during every system startup to unlock the disk.

The Disk passphrase page

Warning

Keep your passphrase safe and don’t lose it. Write it down and store it in a safe place outside of your local system. You won’t be able to recover your data without the password.

Manual partitioning

Manual partitioning is designed for advanced users who want to create a specific configuration for their use case. If that’s you, we assume that you know what you’re doing and that you’re comfortable with the installer interface.

Here, you can see all existing drives and partitions. You can create and manage new partition tables and configurations.

The Manual partitioning page

If the interface doesn’t make sense, we recommend that you pick one of the automated disk setup options instead.

Installing Ubuntu alongside another operating system

If you select this option, you’ll be able to select the drive where you want to install Ubuntu and the amount of disk space that you’d like Ubuntu to use. The available space is limited by the size that the files on the disk occupy. Ubuntu will preserve all existing files.

This view automatically selects the largest partition on the drive. For more control, you can switch to the Manual partitioning option.

The Install Ubuntu alongside other partitions page

Alert: Windows BitLocker is enabled

If your device has Windows BitLocker Drive Encryption enabled, the installer can’t access the encrypted Windows installation. Because of that, it can’t install Ubuntu safely alongside Windows.

The BitLocker is enabled page

You can either erase Windows and replace it with Ubuntu, or you can disable BitLocker and install Ubuntu alongside Windows. To disable BitLocker, see Turn off BitLocker in Windows. To learn more, see BitLocker during Ubuntu installation.

Alternatively, you can install Ubuntu to a separate, unencrypted disk if it’s available on the system.

User and password

On this screen, enter your name and pick a name for your computer as it will appear on the network. Enter your user name and a strong password.

You can choose to log in automatically or require a password. If you use your device while traveling, it’s recommended to keep Require my password to log in enabled.

The Create your account page

Select your timezone

Select your location and timezone from the map screen. Ubuntu can detect your location automatically if you’re connected to the internet.

The Select your timezone page

Ready to install

Here, you can see a summary of your installation configuration. Review your setup before clicking Install.

The Ready to install page

Note

If you choose to import an autoinstall configuration at the start of the installation process, the installer takes you directly to this screen to confirm that your configuration is correct.

Once you proceed, Ubuntu begins the installation process.

Complete the installation

Sit back and enjoy the slideshow as Ubuntu installs in the background.

The installation slideshow

Alternatively, you can watch a detailed output of the installation process by clicking the icon in the lower right corner of the window.

When the installation has completed, the installer prompts you to restart your machine. Click Restart Now.

The Installation complete page

When you restart, Ubuntu asks you to remove your USB flash drive from the device. Then, press Enter.

The Remove the installation medium prompt

Your new system is starting

Enter your disk encryption passphrase if you created one.

The disk passphrase prompt

At the login screen, enter your user name and password.

The Ubuntu login screen

And that’s it. Welcome to your new Ubuntu Desktop!

The Ubuntu 24.04 desktop

The welcome widget will help you with some additional setup options:

  • Attaching an Ubuntu Pro free personal or paid subscription to apply additional security patches to your device.

    This option is only available when using a long term support (LTS) version of Ubuntu.

  • Opting into sending device information to Canonical to help improve Ubuntu.

    By default, Canonical doesn’t collect device information.

  • Downloading additional apps from App Center.

The Ubuntu welcome widget

Don’t forget to update

It’s always good practice to ensure your system is up to date, especially after a fresh install.

The easiest way to do this is via the Software Updater app. Search for Software Updater via the app menu (the Ubuntu icon in the bottom corner of your screen). It will check for updates and apply them.

The Ubuntu Software Updater

You can also update Ubuntu using the terminal:

  1. Press Ctrl+Alt+T to bring up a Terminal window.

  2. Type in:

    sudo apt update
    

    You will be prompted to enter your login password.

    This will check for updates and tell you if there are any that need applying.

  3. To apply any updates, type:

    sudo apt upgrade
    
  4. Type Y, then press Enter to confirm to finish the update process.

For details, see Updating the system with APT in the Ubuntu Server documentation.

You’ve installed Ubuntu

We hope you enjoy your new desktop.

If you backed up your data, you can now move them back into Ubuntu. If you backed up your web browser account, log in to synchronize your data.

Check out our picks for Top 10 apps for a fresh Linux install in 2021.

If you have any issues, please contact us via the Ubuntu Discourse, or visit Ask Ubuntu.

You can also read the latest news about Ubuntu Desktop on the Ubuntu Blog.

If you need to run both Ubuntu and Windows, you can install Ubuntu on Windows Subsystem for Linux (WSL).