Chapter 2
Installing Linux
This chapter walks you through choosing a distribution and installing Linux on your computer or in a virtual machine.
Before you start
- Back up important data.
- Decide whether to dual-boot with Windows/macOS or use a virtual machine (VM).
- Download the ISO for your chosen distribution from its official website.
Choosing a distribution
Popular beginner-friendly options:
- Ubuntu — Easy to use, lots of documentation and community support.
- Linux Mint — Based on Ubuntu, familiar desktop feel.
- Fedora — Cutting-edge software, good for developers.
Installation methods
- Virtual machine: Use VirtualBox or VMware, create a new VM, and attach the Linux ISO. Boot and follow the installer.
- Dual boot: Shrink your existing partition, create a bootable USB with the ISO, boot from USB, and run the installer. Choose “Install alongside Windows/macOS” if offered.
- Full install: Replace the existing OS entirely. Make sure you have backups.
If you're new to Linux, start with a VM or dual boot so you can keep your current system while you learn.