Linux · How-To
How to Install Ubuntu (Step by Step)
Download the current Ubuntu LTS ISO from ubuntu.com, write it to an 8 GB-or-larger USB stick with a tool like balenaEtcher or Rufus, restart your PC and boot from that USB, choose Try or Install Ubuntu, then follow the installer — pick your keyboard and network, choose Install Ubuntu alongside Windows (to dual-boot) or Erase disk (Ubuntu only), create your user, and reboot. The whole thing takes about 20–40 minutes. The full walkthrough below explains each step and the decisions that matter.
The current long-term support release is Ubuntu 26.04 LTS ("Resolute Raccoon"), released in April 2026 and supported for five years of standard updates (to 2031), with more via Ubuntu Pro — Canonical's release cycle page confirms that LTS versions ship every two years with five years of standard security maintenance. LTS releases are the right choice for most people: they are stable and maintained for years. The steps below apply to 26.04 and to the previous LTS, 24.04 — Ubuntu's installer was redesigned in that generation, so the on-screen wording matches both.
Ubuntu is the most widely used desktop Linux distribution and has the gentlest installer. You do not need to touch a command line to install it — everything here is done through a graphical wizard. Commands only appear afterwards, for updates, and we show those too.
What you need before you start
- A PC or laptop (64-bit) that meets Ubuntu's requirements: roughly a 2 GHz dual-core CPU, 6 GB of RAM, and 25 GB of free storage for a comfortable desktop experience — the figures published on the official Ubuntu Desktop download page.
- A USB flash drive of 8 GB or larger that you can erase — writing the ISO wipes it.
- A working internet connection (wired or Wi-Fi) so the installer can fetch updates.
- A backup of anything important on the target machine. Installing an operating system touches partitions; back up first, every time.
Step by step: install Ubuntu
-
Download the Ubuntu LTS ISO. Go to
ubuntu.com/download/desktopand download the current LTS image (Ubuntu 26.04 LTS at the time of writing). You will get a single.isofile of roughly 4–6 GB. If you want to be thorough, verify its SHA-256 checksum against the value published on the download page — on Windows PowerShell:
and on Linux or macOS:Get-FileHash .\ubuntu-26.04-desktop-amd64.iso -Algorithm SHA256
The output should match the published hash exactly.sha256sum ubuntu-26.04-desktop-amd64.iso -
Create a bootable USB stick. Plug in your USB drive, then write the ISO to it with a
reputable tool:
- On Windows: balenaEtcher or Rufus. Select the ISO, select your USB drive, and click Flash/Start.
- On an existing Ubuntu: the built-in Startup Disk Creator, or GNOME Disks.
- On any Linux/macOS (advanced):
dd— see the caution below before you use it.
-
Boot the PC from the USB stick. Leave the USB plugged in and restart. Open the firmware
boot menu by tapping the boot-menu key during startup — commonly
F12,F10,Esc, orF2, depending on the manufacturer — and choose the USB device (it may be listed as "UEFI: <brand> USB"). On most modern PCs you can leave Secure Boot enabled; Ubuntu is signed and boots fine with it on — the Ubuntu UEFI Secure Boot documentation explains that Ubuntu's boot binaries are signed, using a shim signed by Microsoft and a GRUB signed by Canonical. - Choose "Try or Install Ubuntu". The USB boots to a menu; pick Try or Install Ubuntu and wait for the desktop to load. You are now running Ubuntu entirely from the USB (a "live session") without changing anything on your disk yet — a good moment to confirm your Wi-Fi, trackpad, and display work. When ready, open the Install Ubuntu app on the desktop.
- Pick language, accessibility, and keyboard. Choose your language, then your keyboard layout — use the test your keyboard here box to confirm the right characters appear. Accessibility options (larger text, screen reader, high contrast) are available from the first screen if you need them.
- Connect to the internet. Select your Wi-Fi network and enter the password, or plug in an Ethernet cable. A connection lets Ubuntu download updates and, if you allow it, third-party drivers and media codecs during installation. You can also choose to do this later.
- Choose the installation type and extras. Select Interactive installation (the normal manual setup). You will then choose between a Default selection (a core set of apps) or an Extended selection (adds office and utility apps). You can also tick boxes to install recommended proprietary software — graphics/Wi-Fi drivers and media codecs — which most laptops benefit from.
-
Decide how to use the disk — the important choice. The installer offers, typically:
- Install Ubuntu alongside your existing system (dual boot). Ubuntu shrinks your Windows partition, keeps Windows and your files, and adds a boot menu (GRUB) so you pick an OS at each startup. You choose how much space to give Ubuntu with a slider.
- Erase disk and install Ubuntu. Wipes the whole selected drive and installs Ubuntu only. Simplest, but it deletes everything on that disk — see the caution below.
- Manual partitioning ("Something else") for people who want to lay out partitions themselves.
- Set your timezone, user, and password. Confirm your region on the map or from the list, then create your account: your name, a computer (host) name, a username, and a strong password. You can choose to require a password to log in and, on supported hardware, enable full-disk encryption for extra protection of your files at rest.
- Review and install. The installer shows a summary of what it will do — read it, confirm the disk actions are what you intended, and click Install. Copying files and configuring the system takes roughly 15–30 minutes. When it finishes, choose Restart now and remove the USB stick when prompted.
-
First boot and updates. If you dual-booted, the GRUB menu appears — pick Ubuntu (or
Windows). Log in, then bring the system fully up to date. Open a terminal and run:
Enter your password when asked, review the list of packages, and confirm. Reboot if the update installs a new kernel. That's it — Ubuntu is installed.sudo apt update && sudo apt upgrade
sudo, dd, and erasing the wrong disk
Commands run with sudo have full power over your system, so read a command before you run it —
never paste one you don't understand from an untrusted source. The classic trap is writing an ISO with
dd: it copies bytes to whatever device you name, with no confirmation, so naming the wrong device
(/dev/sda instead of your USB) can wipe your main drive. If you use it, identify the USB carefully
first with lsblk, and note that the correct target is the whole disk (e.g. /dev/sdX),
not a partition:
lsblk
sudo dd if=ubuntu-26.04-desktop-amd64.iso of=/dev/sdX bs=4M status=progress oflag=sync
For most people, a graphical tool like balenaEtcher or Rufus is safer and does the same job.
A note on other distributions
This guide is for Ubuntu, but the shape of a Linux install is similar across distributions — download an
ISO, make a bootable USB, boot it, and run an installer. What differs most is the package manager
you use afterwards to install and update software. Ubuntu and Debian use apt; Fedora uses
dnf; Arch uses pacman. For example, "update everything" is:
| Family | Update command |
|---|---|
| Ubuntu / Debian | sudo apt update && sudo apt upgrade |
| Fedora | sudo dnf upgrade |
| Arch | sudo pacman -Syu |
Where a step genuinely varies by distro we say so; when in doubt, follow that distribution's official documentation or wiki rather than a generic command copied from elsewhere.
Frequently asked
Can I install Ubuntu alongside Windows without deleting my files?
Yes. When the installer reaches the disk step, choose "Install Ubuntu alongside Windows Boot Manager". This shrinks your Windows partition to make room and leaves Windows and your files intact, then adds a boot menu that lets you pick Windows or Ubuntu each time you start the computer. Back up important files first, because any partitioning carries a small risk.
How much disk space and RAM does Ubuntu need?
Canonical lists a minimum of a 2 GHz dual-core processor, 6 GB of RAM and 25 GB of free storage for a comfortable Ubuntu Desktop experience. For dual-booting, give Ubuntu at least 25 GB to itself, and more if you plan to install lots of software. Ubuntu Server needs far less and can run in around 1.5 GB of RAM.
Do I need to disable Secure Boot to install Ubuntu?
Usually no. Ubuntu is signed and boots with Secure Boot enabled on most modern PCs. If you plan to use certain third-party or proprietary drivers, the installer runs a Secure Boot setup step that asks you to set a one-time password and enroll a key on first reboot. Only disable Secure Boot in your firmware if your specific hardware refuses to boot the USB.
Is it safe to erase the disk, and what does that option do?
"Erase disk and install Ubuntu" deletes everything on the selected drive — every partition, including any existing Windows installation and all files — and gives the whole disk to Ubuntu. It is the simplest option for a computer you want to run Ubuntu only, but it is not reversible, so use it only after you have backed up anything you want to keep and confirmed you selected the correct drive.
This walkthrough is part of our new Linux section. Browse all Linux guides for more step-by-step help, or head back to the Windows Now home page.