How to Install Ubuntu: A Step-by-Step Guide for Beginners

How to Install Ubuntu: A Step-by-Step Guide for Beginners

Before beginning, ensure you have a computer with at least 4GB of RAM (8GB recommended), 25GB of free storage space, and a stable internet connection. You will also need a USB flash drive (4GB or larger) and access to another computer to create the installation media. Backup all important data from the target machine, as the installation process can overwrite the existing operating system.

Step 1: Download the Ubuntu ISO File

Navigate to the official Ubuntu website (ubuntu.com/download) and select the “Desktop” version. The latest Long-Term Support (LTS) release—such as Ubuntu 24.04 LTS—is recommended for beginners due to its five years of security updates and stability. Click the green “Download” button. The ISO file will be approximately 4.8GB. While it downloads, verify the integrity of the file by comparing its SHA256 checksum with the one provided on the website. On Windows, use certUtil -hashfile pathtofile.iso SHA256 in the command prompt; on macOS, use shasum -a 256 /path/to/file.iso. This step prevents corrupted installers from causing boot failures.

Step 2: Create a Bootable USB Drive

Insert your USB flash drive. Note that all data on it will be erased. Use a dedicated tool to write the ISO to the USB. For Windows, download and install “Rufus” (rufus.ie). Open Rufus, select your USB drive under “Device,” click “SELECT” to choose the downloaded ISO file, and leave all other settings at default. Click “START.” When prompted about writing in ISO or DD image mode, select “Write in ISO Image mode” and confirm. For macOS, use the built-in “Terminal” or install “Etcher” (balena.io/etcher). Etcher provides a simple graphical interface: select the ISO, select the USB, and flash. This process takes 3–8 minutes depending on the USB speed.

Step 3: Configure BIOS/UEFI to Boot from USB

Restart your computer and enter the BIOS/UEFI firmware settings. The key to press during startup (often F2, F12, DEL, or ESC) appears briefly on the screen. Inside the BIOS, locate the “Boot Order” or “Boot Priority” menu. Ensure “Secure Boot” is disabled, as it can interfere with Ubuntu’s bootloader on some hardware. Move your USB drive to the top of the boot list. Save changes and exit (usually F10). The computer will reboot and present you with the Ubuntu boot menu. Select “Try or Install Ubuntu.” If you see a black screen instead, restart and select “Safe Graphics” mode from the boot menu.

Step 4: Test the Live Environment

After selecting “Try Ubuntu,” the system will load a fully functional desktop environment directly from the USB drive. Use this opportunity to test hardware compatibility: check if Wi-Fi connects, if sound works, and if the display resolution is correct. You can open “Files” and “Settings” to verify that the system detects your hard drive and installed memory. If the live environment crashes or fails to recognize critical hardware, your computer may have drivers not yet included in the ISO—consider using a different version (e.g., Ubuntu 22.04 LTS) or a lightweight flavor like Xubuntu. Once satisfied, double-click the “Install Ubuntu” icon on the desktop.

Step 5: Choose Installation Language and Keyboard Layout

The installer prompts you to select your language. Choose English or your preferred language; this setting applies to both the interface and system locale. Click “Continue.” On the next screen, select your keyboard layout. For most US users, “English (US)” with the default variant works. You can click “Detect Keyboard Layout” to have the installer determine your layout automatically by pressing a few keys. Click “Continue” to proceed.

Step 6: Select Installation Type and Updates

The installer asks: “What apps would you like to install to start with?” Choose “Normal installation” for a full desktop experience with office tools, games, and web browsers. Choose “Minimal installation” to save disk space and bandwidth, receiving only a browser, file manager, and core utilities. Below that, check the box “Download updates while installing Ubuntu” to save time after installation. Also check “Install third-party software for graphics and Wi-Fi hardware and additional media formats.” This includes proprietary drivers (e.g., NVIDIA) and codecs (MP3, H.264). Click “Continue.”

Step 7: Partition the Hard Drive (The Critical Decision)

This step determines how Ubuntu occupies your disk. The safest and most recommended option for beginners is “Erase disk and install Ubuntu.” This removes all existing data (Windows, macOS, or other OS) and creates a single partition for Ubuntu. If you want to keep an existing operating system for dual-booting, select “Install Ubuntu alongside [existing OS]” and drag the slider between partitions to allocate space. For manual control (advanced users only), choose “Something else” to create custom partitions: a root partition (mount point /) of at least 20GB formatted as ext4, a swap partition equal to your RAM size (8GB recommended), and optionally a home partition (/home) for personal files. Click “Install Now” and confirm the changes in the pop-up dialog.

Step 8: Select Your Time Zone and Create User Account

A world map appears. Click on your geographic region to set the time zone automatically. The system will update the clock and locale accordingly. Click “Continue.” Now, enter your name (e.g., “John Doe”), a computer name (e.g., “john-laptop”), a username (e.g., “john”), and a strong password. You can choose to “Log in automatically” if the computer is used in a private space, or “Require my password to log in” for security. Optionally, check “Encrypt my home folder” for enhanced privacy; note this makes it impossible to recover files if the password is lost. Click “Continue.”

Step 9: Wait for Installation to Complete

The installer copies files, configures drivers, and sets up the bootloader (GRUB). A progress bar displays estimated time—usually 10–20 minutes. During this phase, ensure your laptop is plugged into power and your internet connection remains active. Do not remove the USB drive. The installer may briefly pause at “Configuring hardware” or “Installing system components”; this is normal. When the progress bar reaches 100%, a dialog appears: “Installation Complete.” Click “Restart Now.”

Step 10: First Boot and Post-Installation Setup

When the system restarts, remove the USB drive when prompted. Ubuntu will boot with a GRUB menu listing “Ubuntu” and “Advanced options for Ubuntu.” Select the first entry. The login screen appears—enter the password you created. Upon logging in, a “Welcome” wizard may appear, guiding you through language, keyboard, and privacy settings (e.g., location services, error reporting). A software updater will likely notify you of available updates. Open “Software Updater” from the applications menu and install all pending updates. Then, open “Ubuntu Software” (App Center) to install essential applications: a web browser (Firefox or Chromium), a video player (VLC), and your preferred productivity tools (LibreOffice is preinstalled). For NVIDIA users, go to “Software & Updates” → “Additional Drivers” and select the proprietary driver (labeled “using NVIDIA driver metapackage”). Restart once more to finalize driver activation.

Troubleshooting Common Issues

  • “No bootable device” error after installation: Enter BIOS and ensure the hard drive (not USB) is first in boot order, and that “Legacy boot” or “CSM” is enabled if installed in legacy mode.
  • Wi-Fi not working: Open “Additional Drivers” and check for proprietary wireless drivers. Alternatively, connect via Ethernet temporarily and run sudo ubuntu-drivers autoinstall in the terminal.
  • Screen flickering or incorrect resolution: Boot with “Safe Graphics” or, after installation, install the appropriate graphics driver via “Additional Drivers.”
  • Ubuntu doesn’t detect Windows for dual-boot: Ensure “Fast Startup” is disabled in Windows (Power Options → Choose what the power buttons do → Change settings that are currently unavailable → Uncheck “Turn on fast startup”). Also, disable Secure Boot in BIOS.

Optimizing Ubuntu for Daily Use

After installation, open a terminal (Ctrl+Alt+T) and run sudo apt update && sudo apt upgrade to refresh package lists. Install the GNOME Tweaks tool (sudo apt install gnome-tweaks) to customize appearance (themes, fonts, and window animations). Enable the firewall: sudo ufw enable. For better power management on laptops, install TLP (sudo apt install tlp and sudo systemctl enable tlp). Finally, set up a regular backup schedule using “Deja Dup” (preinstalled) connected to an external drive or cloud service (Google Drive, Nextcloud). This establishes a resilient system ready for daily professional or personal use.

Leave a Comment