DEV Community

Cover image for How to Install Ubuntu on Your Laptop or Desktop: A Step-by-Step Guide
James Mugambi
James Mugambi

Posted on

How to Install Ubuntu on Your Laptop or Desktop: A Step-by-Step Guide

Ready to switch to a free, secure, and customizable operating system? Ubuntu, one of the most popular Linux distributions, is perfect for beginners and pros alike. Whether you’re tired of Windows, want a lightweight OS for an old laptop, or need a powerful system for coding, Ubuntu has you covered. In this step-by-step guide, we’ll walk you through installing Ubuntu 24.04 LTS on your laptop or desktop, from downlosading the installer to setting up your new system. Don’t worry if you’re new to Linux — we’ll keep it simple and include screenshots to guide you. Let’s get started!

Why Choose Ubuntu?

Before we dive in, here’s why Ubuntu might be the right choice for you:

  • Free and Open Source – No licensing fees or restrictions.
  • Secure and Private – Built-in security features and fewer malware risks.
  • Lightweight and Fast – Ideal for older hardware or performance enthusiasts.
  • Software Center – Easy access to thousands of free apps.
  • Large Community Support – Tons of tutorials, forums, and updates.

What You’ll Need

Before you begin the installation, make sure you have the following:

  1. A USB flash drive (at least 4GB)
  2. A stable internet connection
  3. A laptop or desktop (64-bit architecture recommended)
  4. Backed-up data (Ubuntu installation may erase your files)

Step 1: Download Ubuntu ISO

  • Go to the official Ubuntu website
  • Choose the version you want (the latest LTS is recommended for most users).
  • Click Download to get the ISO file (~5.9GB in size).

Step 2: Create a Bootable USB Drive

You’ll need a tool to turn the ISO into a bootable USB. Popular options:

  • For Windows: Use Rufus
  • For macOS: Use Etcher
  • For Linux: Use the Startup Disk Creator or dd command

For this tutorial i'll use Windows(Rufus) , feel free to use your OS

Instructions using Rufus (Windows):

  1. Insert your USB drive.
  2. Launch Rufus and select your USB under Device.
  3. Click Select and choose the Ubuntu ISO file.
  4. Leave other settings as default and click Start.
  5. Wait for the process to complete.

rufus image

Important! For the partition scheme, select GPT if you are using a newer computer. Otherwise, go with MBR.

rufus fromat options

Step 3: Boot from USB

  1. Restart your computer.
  2. Enter the boot menu by pressing the key specific to your system (usually F2, F12, Esc, or Del).
  3. This will bring up a menu where you can manually select the USB device to boot.

Note: The F12 key is often used to access the boot menu, but sometimes Escape, F2, or F10 can also do the job. If you're not sure which key to use, keep an eye out for a quick message when your computer starts up. This message will usually tell you which key you need to press to open the boot menu.

Install menu

Step 4: Installation Setup

During the installation process, you’ll be guided through several setup steps:

Keyboard Layout

Choose your preferred language and keyboard layout.

Updates and Other Software

You can choose to install third-party software (recommended for Wi-Fi, graphics, etc.).

update and other software

Installation Type

Choose one of the following:

  • Erase disk and install Ubuntu – Wipes your entire disk (be careful!).
  • Install Ubuntu alongside Windows – Dual-boot option.
  • Something else – Manual partitioning for advanced users.

ubuntu installation type

⚠️ Important: Make sure your data is backed up if choosing to erase the disk.

Time Zone

Select your location.

ubuntu timezone

User Details

Enter your name, computer name, username, and password.
Click Continue to start the installation.

ubuntu installation user creation

Step 5: Wait for Installation to Complete

Ubuntu will now install. This process may take 15–30 minutes depending on your hardware. Once complete, you’ll be prompted to restart your computer.

Remove the USB drive when instructed and press Enter.

Step 6: Welcome to Ubuntu!

After rebooting, you’ll land on the Ubuntu desktop. From here, you can:

  • Connect to Wi-Fi
  • Explore the Ubuntu Software Center
  • Install essential apps (e.g., Firefox, LibreOffice, VS Code)
  • Customize your desktop environment

Post-Installation Tips

To make the most of your new Ubuntu system:

  • Run Updates: Open a terminal and run:
sudo apt update && sudo apt upgrade

Enter fullscreen mode Exit fullscreen mode

💬 Final Thoughts

Installing Ubuntu is a great step towards a faster, more secure, and more customizable computing experience. Whether you're a curious beginner or a seasoned developer, Ubuntu has the flexibility and power to meet your needs.

With this guide, you’re equipped to install Ubuntu like a pro. Don't be afraid to explore and make it your own. The open-source world awaits!

Have questions or ran into issues? Drop them in the comments—we’re here to help!
`

Top comments (0)