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.
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.
At the balenaEtcher website, choose the version that corresponds to your current operating system.
Download and install the tool.
Insert your USB flash drive.
Open balenaEtcher.
Select the downloaded Ubuntu image and your USB flash drive.
Click Flash! to write the image.
Now you have a USB stick that works as Ubuntu installation media.
Boot from the USB flash drive¶
Insert the USB stick into the laptop or PC where you want to install Ubuntu.
Restart the computer.
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.
Choose your language.
Select any accessibility settings that your require.
Select your keyboard layout.
Connect to your network.
This allows Ubuntu to download updates and third party drivers, such as NVIDIA graphics drivers, during installation.
The network connection is optional. If you can’t connect, the Ubuntu installation will still work.
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.
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.
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.
In this tutorial, we’ll follow the interactive installation.
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.
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.
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.
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.
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:
On the Disk setup screen, select Erase disk and install Ubuntu.
Open Advanced features.
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.
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.
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.
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.
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.
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.
Ready to install¶
Here, you can see a summary of your installation configuration. Review your setup before clicking Install.
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.
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.
When you restart, Ubuntu asks you to remove your USB flash drive from the device. Then, press Enter.
Your new system is starting¶
Enter your disk encryption passphrase if you created one.
At the login screen, enter your user name and password.
And that’s it. Welcome to your new Ubuntu 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.
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.
You can also update Ubuntu using the terminal:
Press Ctrl+Alt+T to bring up a Terminal window.
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.
To apply any updates, type:
sudo apt upgrade
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).