How to Install Ubuntu: A Complete Step-by-Step Guide

Ubuntu is one of the most popular Linux distributions in the world — and for good reason. It's free, open-source, well-supported, and runs on a wide range of hardware. Whether you're replacing Windows, setting up a dual-boot system, or installing Ubuntu on a dedicated machine, the process follows a predictable path. But how that path looks depends heavily on your starting point.

What You Need Before You Start

Before downloading anything, gather the following:

  • A USB drive — at least 8GB in capacity (your data on it will be erased)
  • A computer with at least 4GB RAM and 25GB of free storage (Ubuntu's recommended minimums)
  • A stable internet connection for downloading the ISO file
  • The Ubuntu ISO file — downloaded from ubuntu.com, choosing either the LTS (Long-Term Support) version for stability or the latest release for newer features

💿 LTS versions receive security updates for five years, making them the more practical choice for most everyday users and businesses.

Step 1: Create a Bootable USB Drive

The Ubuntu ISO isn't installed by simply copying it to a USB drive — you need to flash it using a dedicated tool. The most commonly used options are:

  • Rufus (Windows only) — fast and straightforward
  • balenaEtcher (Windows, macOS, Linux) — simple drag-and-drop interface
  • Startup Disk Creator (built into Ubuntu, if you're already running Linux)

Open your chosen tool, select the Ubuntu ISO file, select your USB drive as the target, and start the process. The operation typically takes 5–10 minutes depending on your USB write speed.

Step 2: Boot From the USB Drive

Once the USB drive is ready, you need to tell your computer to boot from it instead of its internal drive. This involves accessing your machine's BIOS or UEFI firmware settings — typically by pressing a key like F2, F12, Delete, or Esc immediately after powering on. The correct key varies by manufacturer.

Inside the firmware interface, look for the Boot Order or Boot Priority menu and place the USB drive above the internal hard drive or SSD. Save the settings and restart.

If your machine uses Secure Boot (common on modern Windows PCs), you may need to disable it temporarily in the UEFI settings before Ubuntu will boot correctly, though newer Ubuntu versions handle Secure Boot better than they used to.

Step 3: Choose Your Installation Type

When Ubuntu loads from the USB, you'll be given the option to Try Ubuntu or Install Ubuntu. Trying it first is worth doing — it lets you verify that your hardware (Wi-Fi, display, touchpad) works before committing to the installation.

When you proceed to install, you'll encounter the most consequential decision in the process: how to handle your disk.

OptionWhat It DoesBest For
Install alongside existing OSCreates a dual-boot setupUsers keeping Windows/macOS
Erase disk and install UbuntuWipes everything and installs UbuntuDedicated Ubuntu machines
Manual partitioningFull control over disk layoutAdvanced users, custom setups

⚠️ If you choose to erase the disk, all existing data is permanently deleted. Back up anything important before proceeding.

Step 4: Complete the Setup Wizard

Once you've chosen your disk configuration, the installer walks you through:

  • Location and timezone — sets your system clock
  • Keyboard layout — important to get right for special characters
  • User account setup — your username, computer name, and password

You'll also be asked whether to install Normal or Minimal installation (minimal skips most pre-installed apps) and whether to download updates and third-party software (drivers, codecs) during installation. Choosing to include these during setup generally saves time later.

The installation itself typically takes 10–20 minutes depending on your hardware.

Step 5: Restart and Remove the USB Drive

When installation finishes, you'll be prompted to restart. At that point, remove the USB drive when instructed. Your computer will reboot into Ubuntu — or into the GRUB bootloader if you set up dual boot, giving you a menu to choose between Ubuntu and your previous operating system.

Factors That Change the Experience

The steps above are consistent, but several variables affect how smooth or complicated the process actually is:

  • Hardware age and type — Older or more obscure hardware may need additional drivers, especially for Wi-Fi cards and GPUs. Newer hardware generally works out of the box, though cutting-edge components sometimes require a newer Ubuntu kernel.
  • Current OS setup — Installing alongside a Windows system that uses BitLocker encryption or a non-standard partition layout adds complexity.
  • UEFI vs. Legacy BIOS — Most modern systems use UEFI, which interacts differently with bootloaders than older BIOS setups do.
  • SSD vs. HDD — Ubuntu installs and runs on both, but the experience on a solid-state drive is noticeably faster, particularly for boot times.
  • Ubuntu flavor — The standard Ubuntu uses the GNOME desktop environment, but official flavors like Kubuntu (KDE), Xubuntu (XFCE), and Ubuntu MATE exist for users who want a different interface or need to run on lower-spec hardware.

🖥️ Lower-end machines — particularly those with 2GB RAM or less — often perform better with lightweight flavors like Lubuntu rather than the default GNOME-based release.

After Installation

Once Ubuntu is running, a few follow-up tasks are worth doing:

  • Run Software Updater or the terminal command sudo apt update && sudo apt upgrade to apply any pending system updates
  • Install GPU drivers through the Additional Drivers utility if you're using a dedicated NVIDIA or AMD graphics card
  • Set up your preferred apps through the Ubuntu Software Center or via apt

How much post-installation configuration you'll need depends on what you're using Ubuntu for — a machine dedicated to web browsing and documents needs far less setup than a development workstation or gaming rig. Your specific hardware, what you had installed before, and what you plan to do with Ubuntu all shape how straightforward the next steps will be.