How to Install Debian: A Complete Step-by-Step Guide
Debian is one of the most respected Linux distributions available — stable, secure, and the foundation for dozens of other operating systems including Ubuntu. Installing it isn't complicated, but the process involves several decision points that look different depending on your hardware, experience level, and how you plan to use the system.
What You Need Before You Start
Before downloading anything, gather the basics:
- A computer with at least 2 GB of RAM (4 GB or more recommended for a desktop environment)
- 10–20 GB of free disk space minimum; 25 GB+ for a comfortable desktop install
- A USB drive of 4 GB or larger to create the installation media
- An internet connection (optional during install, but helpful)
- BIOS/UEFI access — you'll need to change the boot order temporarily
Debian supports a wide range of processor architectures including amd64 (standard 64-bit PCs), arm64, i386, and others. Most users installing on a modern desktop or laptop will use the amd64 image.
Choosing the Right Debian Image
The official Debian website offers several image types. The distinction matters:
| Image Type | What It Includes | Best For |
|---|---|---|
| netinst | Minimal base system; downloads packages during install | Users with a reliable internet connection |
| DVD/full image | Complete set of packages offline | Air-gapped installs or slow connections |
| Live image | Bootable trial with optional installer | Testing hardware compatibility first |
For most users, the netinst ISO is the practical choice — it's small (under 400 MB) and pulls only what you need during setup.
You'll also choose a desktop environment during installation, or none at all if you're building a server. Common options include GNOME, KDE Plasma, Xfce, and LXDE — each varies in resource usage and visual style.
Creating Bootable Installation Media 💿
Once you've downloaded the ISO:
- Use a tool like Balena Etcher, Rufus (Windows), or the
ddcommand (Linux/macOS) to write the ISO to your USB drive - This process erases all data on the USB, so back up anything important first
- Verify the ISO checksum against Debian's published SHA256 hash before writing — this confirms the file wasn't corrupted during download
Booting Into the Installer
Restart your computer and enter the BIOS/UEFI firmware — typically by pressing a key like F2, F12, Del, or Esc immediately at startup (the key varies by manufacturer).
Change the boot order to prioritize the USB drive, save the settings, and reboot. The Debian installer should load automatically.
You'll be presented with two main installer modes:
- Graphical Install — mouse-friendly, recommended for most users
- Text-based Install — keyboard-only, useful on older hardware or minimal systems
Both walk through the same steps; the interface is just different.
Walking Through the Installation Process
The Debian installer guides you through these stages in order:
Language, Location, and Keyboard
Self-explanatory selections. These affect your system locale, timezone, and default keyboard layout.
Network Configuration
If you're on Ethernet, Debian usually detects the connection automatically. Wi-Fi during installation is possible but requires that your wireless adapter has compatible firmware — some adapters need non-free firmware files that aren't included in the standard installer by default. Debian offers a separate non-free firmware installer image specifically for this situation.
Disk Partitioning 🖥️
This is the step that trips up many first-time installers. Your choices:
- Guided – use entire disk: Debian handles partitioning automatically. Simplest option for a dedicated Debian machine.
- Guided – use entire disk with LVM: Same as above but uses Logical Volume Manager, which makes resizing partitions easier later.
- Manual: Full control over partition sizes, mount points, and file systems. Necessary if you're dual-booting with another OS.
If you're dual-booting with Windows, manual partitioning (or shrinking Windows first via its own Disk Management tool) is essential. Debian's installer can detect existing operating systems and add them to the bootloader automatically, but the partition work requires care.
Software Selection
The tasksel screen lets you choose a desktop environment, a web server, SSH server, standard system utilities, and more. You can combine options — for example, selecting both KDE Plasma and SSH server.
GRUB Bootloader
Debian will install the GRUB bootloader to manage which OS loads at startup. On UEFI systems, it writes to the EFI partition. On older BIOS systems, it writes to the MBR. In most cases, accepting the defaults here works correctly.
After the Installation Completes
Once Debian reboots into your new system, a few common first steps apply regardless of setup:
- Run
sudo apt update && sudo apt upgradeto pull in any package updates - Install non-free firmware or drivers if any hardware (GPU, Wi-Fi, Bluetooth) isn't functioning correctly
- Check that your display resolution, audio, and network are working as expected
Nvidia GPU users, in particular, often need to install the proprietary driver separately — the open-source nouveau driver included by default has limitations on performance and newer hardware.
The Variables That Shape Your Experience
What a successful Debian install looks like depends heavily on context:
- Hardware age and brand affects driver availability and firmware requirements
- Skill level determines whether guided partitioning is sufficient or manual setup is needed
- Intended use (desktop, server, development machine, media center) changes which packages and environments make sense
- Existing operating systems on the drive determine how carefully you need to approach partitioning
- Internet availability during install shapes which image type is practical
A straightforward install on a modern laptop with standard hardware takes 20–30 minutes. A dual-boot setup on a machine with unusual hardware or a manual partition layout takes longer and requires more planning upfront. Your own hardware inventory and how you intend to use the system are what ultimately determine which path through this process applies to you.