Admin User
June 06, 2025 04:39 PM Β· 5 min read
Ubuntu 24.04 LTS is one of the most stable and widely-used Linux distributions. Whether you're a developer, student, or regular user, installing it on any PC is a great choice. This guide will walk you through every step β from BIOS setup, disk partitioning, swap space sizing, to post-install commands.
Visit the official Ubuntu download page:
π https://ubuntu.com/download/desktop
Choose Ubuntu 24.04 LTS (Long Term Support).
Download the ISO (~5GB).
Rufus (Windows): https://rufus.ie
balenaEtcher (Linux/macOS/Windows): https://etcher.io
Insert a USB drive (min 8GB).
Open Rufus or Etcher.
Select the ISO and USB.
Start the flashing process.
Reboot your PC and enter BIOS/UEFI:
Usually F2, DEL, F10, or ESC.
Enable UEFI Boot Mode (Recommended).
Disable Secure Boot (important for most drivers).
Set USB device as first boot priority.
Save and exit.
Boot from USB.
Choose Try or Install Ubuntu.
Select Install Ubuntu on the desktop.
Choose your preferred layout.
Choose Normal Installation.
Tick both options to download updates and third-party drivers.
Choose Erase disk and install Ubuntu (for fresh install).
Or choose Something else to create custom partitions.
Mount PointFormatSizeDescription/
ext425-50 GBRoot filesystem/home
ext4RemainingPersonal files and configsswap
swapDepends on RAMVirtual memory backup
If you have β€ 8 GB RAM (developer):
Set swap = 12 GB (for smooth multitasking, hibernation support).
If you have β₯ 16 GB RAM:
Set swap = 4 to 6 GB.
Swap helps with memory overflow. Developers often run heavy IDEs and Docker, so more swap = more stability.
Select your time zone.
Create user account.
Click Install Now β Confirm partition changes.
Wait for 10β20 minutes.
After installation completes:
Remove USB drive.
Reboot into your new Ubuntu setup.
bash
sudo apt update && sudo apt upgrade -y
bash
sudo apt install git curl vim build-essential gnome-tweaks -y
bash
sudo apt install python3 python3-pip -y
bash
sudo snap install code --classic
bash
sudo apt install docker.io -y sudo systemctl enable docker sudo usermod -aG docker $USER
Use Gnome Tweaks to customize appearance and behavior.
Enable Firewall:
bash
sudo ufw enable
Backup your system with Timeshift.
Wi-Fi not detected:
Use sudo ubuntu-drivers autoinstall
to install missing drivers.
Boot issues:
Double-check BIOS boot mode and secure boot status.
Ubuntu 24.04 LTS provides a rock-solid Linux experience for both casual users and developers. With proper setup, including swap memory optimization, it's lightweight, powerful, and highly customizable. Whether you're working with low RAM or a high-performance machine, this guide ensures you start right.