How To Install Linux Ubuntu: A Clear, Step‑by‑Step Guide

Installing Linux Ubuntu is one of the most approachable ways to get into Linux. It’s free, widely supported, and designed to be friendly whether you’re coming from Windows or macOS. The actual process is straightforward: you download Ubuntu, create a bootable USB, start your computer from that USB, and follow an on‑screen installer.

The details, though, depend a lot on your hardware and how you want to use Ubuntu. This guide walks through the common path, explains what’s happening under the hood, and points out where your own setup will change the steps.


What Ubuntu Is (and What “Installing” It Really Means)

Ubuntu is a Linux‑based operating system (OS). Like Windows or macOS, it controls your hardware, runs your programs, and manages your files.

When you “install Ubuntu,” you’re:

  • Writing Ubuntu’s system files onto your internal drive
  • Setting up partitions (sections) on that drive for Ubuntu’s use
  • Installing a bootloader (usually GRUB) that lets your computer start Ubuntu (and optionally other OSes)

You can use Ubuntu in several ways:

  • Live session only: Run it from a USB without installing it; nothing is saved permanently.
  • Alongside another OS: Dual‑boot with Windows or another OS on the same machine.
  • As the only OS: Replace your existing OS and give Ubuntu the full drive.
  • In a virtual machine (VM): Run Ubuntu inside Windows/macOS using software like VirtualBox or VMware.

This article focuses on installing Ubuntu directly on hardware using a USB drive, because that’s what most people mean by “install Ubuntu.”


Step 1: Check Your Computer and Back Up Your Data

Before you touch anything, a couple of basics.

Minimum typical requirements

Ubuntu has modest hardware needs. In general, you want at least:

ComponentMinimum Usable Level (General Guideline)
CPU64‑bit processor
RAM4 GB (8 GB more comfortable)
Storage25 GB free space (more for everyday use)
GraphicsBasic integrated graphics is usually enough

These aren’t guarantees, just rough tiers where Ubuntu is generally comfortable for everyday tasks.

Back up your important files

If you plan to change existing partitions or replace another OS, always back up:

  • Documents, photos, and videos
  • Browser bookmarks and passwords
  • Game saves or app configuration files you care about

Even when things usually go smoothly, partitioning is the step where mistakes can wipe data.


Step 2: Download the Correct Ubuntu Image

You install Ubuntu from an ISO file — a single file that contains the installer and system image.

Key decisions here:

  1. Choose the edition (desktop vs. server)

    • Ubuntu Desktop: For everyday use with a graphical interface (what most users want).
    • Ubuntu Server: Text‑based setup, for servers and advanced users.
  2. Choose the version (LTS vs. interim releases)

    • LTS (Long‑Term Support): Supported for several years; more stable, slower‑moving.
    • Interim releases: Newer features, but shorter support periods.

Most general users start with Ubuntu Desktop LTS.

You then download the ISO file from Ubuntu’s official site and verify the download if you want extra safety (checksum comparison). Verification helps catch corrupted or tampered downloads but takes a bit more effort.


Step 3: Create a Bootable Ubuntu USB Stick

Your computer can’t use the ISO directly; it needs a bootable USB drive built from that file.

What you need

  • A USB flash drive (typically 4–8 GB minimum)
  • A tool to write the ISO to USB as a bootable image

Common tools include:

  • On Windows: tools that can create bootable drives from ISO images
  • On macOS: similar tools or built‑in command‑line methods
  • On Linux: built‑in imaging tools or command‑line utilities like dd (more advanced)

The process is roughly:

  1. Insert the USB drive.
  2. Open your chosen tool.
  3. Select the Ubuntu ISO as the source.
  4. Select the USB drive as the target.
  5. Start the process and wait for it to finish.

This erases the USB drive, so don’t use one with important files on it.


Step 4: Boot Your Computer From the USB

Now you need your computer to start from the USB instead of your internal drive.

Accessing the boot menu or BIOS/UEFI

When you turn on your computer, there’s usually a key you can press to change the boot order or open a boot menu. Common keys include:

  • F12, F10, F2, Esc, Del, depending on the manufacturer

You either:

  • Use a temporary boot menu (choose the USB just this time), or
  • Enter BIOS/UEFI settings and change the boot order so USB is first.

On modern UEFI computers, you might see settings like:

  • Secure Boot: A security feature that can sometimes interfere with certain Linux setups.
  • Fast Boot: Can skip USB checks on startup.

Many systems will boot Ubuntu fine with Secure Boot on; others may require turning it off. This varies a lot by hardware.

Once you pick the USB drive, your computer should load the Ubuntu installer environment.


Step 5: Try Ubuntu or Start the Installer

When the USB boots, you’ll usually see options like:

  • Try Ubuntu: Runs Ubuntu directly from the USB (a “live session”) without touching your internal drive.
  • Install Ubuntu: Starts the full installation process.

It’s often useful to Try Ubuntu first to:

  • Check if your Wi‑Fi works
  • Confirm display resolution looks correct
  • See if the system feels responsive

When you’re ready, click Install Ubuntu from inside that live session.


Step 6: Go Through the Ubuntu Installer Screens

The Ubuntu installer walks you through several steps.

Language and keyboard

You pick:

  • Display language
  • Keyboard layout, including variants (e.g., US, UK, international layouts)

You can test keys in the provided box to ensure characters match what you expect.

Network and updates

If your network works in the live session, you can:

  • Connect to Wi‑Fi or use an Ethernet cable
  • Choose whether to download updates and third‑party software (such as for some Wi‑Fi or graphics hardware) during install

Downloading these during install can save time later, but it adds to the installation time and depends on your internet speed.


Step 7: Choose an Installation Type (Single Boot vs Dual Boot)

This is the decision that matters most for your data and future use.

You’ll typically see some of these options:

  1. Erase disk and install Ubuntu

    • Ubuntu takes over the entire drive.
    • All existing data and other OSes on that drive are removed.
    • Simplest path if you don’t need the old OS or files.
  2. Install Ubuntu alongside [existing OS]

    • Creates a dual‑boot setup.
    • Installer automatically resizes partitions and creates space for Ubuntu.
    • On startup, you choose which OS to boot (Ubuntu or your existing one).
  3. Something else (manual partitioning)

    • Advanced option for users who want to manage partitions themselves.
    • Lets you define where root (/), home (/home), and swap go, and their sizes.
    • Helpful if you’re particular about your layout or use multiple drives.

Behind the scenes, Ubuntu is:

  • Creating or resizing partitions on your drive
  • Setting up file systems (often ext4)
  • Installing the GRUB bootloader so you can start Ubuntu and, if present, other OSes

This is where hardware layout (one drive vs multiple drives, existing partitions, SSD vs HDD) changes what makes sense.


Step 8: Set Up Your User Account and Basic Settings

You’ll now be asked to:

  • Enter your name
  • Choose a computer name (hostname)
  • Create a username
  • Set a password

You can also choose whether to:

  • Log in automatically (less secure but more convenient)
  • Require password to log in (more secure; better on shared machines)
  • Optionally enable disk encryption (full‑disk encryption), which protects data if the device is lost but requires entering a passphrase at boot.

Disk encryption is a security win for laptops in particular, but it adds a small step every time you start the computer and is harder to recover if you forget the passphrase.


Step 9: Let Ubuntu Install and Reboot

Once you confirm your choices:

  1. The installer copies files and sets up the system.
  2. A progress bar and slideshow explain Ubuntu’s features during this time.
  3. When done, you’ll be asked to restart.

Before reboot:

  • Remove the USB drive when prompted (or when the system powers down).
  • Let the system boot from the internal drive.

On restart, you should see either:

  • A boot menu (GRUB) where you can choose Ubuntu (and possibly Windows or another OS), or
  • Ubuntu starting directly if it’s the only OS.

From there, Ubuntu will finish any first‑boot tasks and land you on the login screen or desktop.


Common Variables That Change the Process

The core install steps are similar for everyone, but several variables affect how easy or complex it feels:

  • Hardware type

    • Desktop vs laptop
    • Brand‑name PC vs custom‑built
    • Older BIOS‑based systems vs newer UEFI systems
  • Existing operating system

    • Windows 10/11 with Secure Boot and BitLocker
    • Older Windows versions
    • Another Linux distro already installed
    • macOS on Intel‑based Macs (different partition rules and boot handling)
  • Storage setup

    • Single drive vs multiple drives
    • HDD vs SSD vs NVMe
    • Pre‑existing recovery partitions or vendor tools
  • User’s technical comfort level

    • Comfortable with partitioning and BIOS settings
    • Prefer guided, “automatic” options only
  • Use case

    • Main daily driver OS
    • Secondary OS for experiments
    • Development work
    • Lightweight system for older hardware

Each of these shifts which choices are safer, how you handle backups, and how much you want to customize partitions.


Different User Profiles, Different Ubuntu Installs

Because of those variables, “install Ubuntu” can mean very different experiences.

1. New Linux user on a single Windows laptop

  • Likely wants a dual‑boot setup to keep Windows.
  • Uses the “Install alongside Windows” option.
  • Lets the installer handle partition resizing.
  • May need to adjust UEFI Secure Boot or Windows fast startup.

This route prioritizes safety and automation over fine‑grained control.

2. Power user replacing Windows entirely

  • Comfortable wiping the drive.
  • Chooses “Erase disk and install Ubuntu”.
  • Might enable full‑disk encryption.
  • Possibly customizes partitions via the “Something else” option (e.g., separate /home partition).

Here, performance and a clean layout are favored, and backups are assumed already done.

3. Developer using Ubuntu as a VM only

  • Doesn’t install Ubuntu on bare metal at all.
  • Creates a virtual machine in VirtualBox/VMware.
  • Boots the installer ISO inside the VM and installs to a virtual disk file.

No partitions on the physical machine are changed; the entire Ubuntu install lives inside a file on the host OS.

4. Older hardware or low‑spec machine

  • Might pick a lighter Ubuntu flavor (like variants with more lightweight desktops).
  • May choose manual partitioning to avoid stressing small disks.
  • Skips heavy extras during install (like a large set of preinstalled apps).

The focus is on keeping the system responsive and not overloading limited RAM or CPU.


Where Your Own Setup Becomes the Missing Piece

The core pattern for installing Ubuntu is consistent: download the right ISO, create a bootable USB, boot from it, choose how Ubuntu shares (or replaces) your current system, then let the installer handle the rest.

The part that changes is how those choices line up with your own hardware and goals:

  • The exact key you press to reach the boot menu
  • Whether Secure Boot or other firmware options need tweaking
  • How much space you can safely allocate to Ubuntu
  • Whether you want to dual‑boot, go Ubuntu‑only, or stay in a virtual machine
  • How important disk encryption, advanced partitioning, or certain desktop flavors are for you

Once you understand the general flow, the remaining questions are all about your particular computer, your data, and how you plan to use Ubuntu day to day.