How to Install Debian Linux: A Complete Step-by-Step Guide

Debian is one of the oldest and most respected Linux distributions in existence — the foundation that Ubuntu, Mint, and dozens of other distros are built on. It's known for stability, security, and a massive software repository. Installing it isn't complicated, but there are enough moving parts that understanding the process before you start saves real headaches.

What You'll Need Before You Begin

Getting Debian installed successfully starts with preparation, not the install wizard.

Hardware minimums: Debian runs on modest hardware. The installer will work with as little as 512MB of RAM for a text-based system, though a desktop environment needs at least 2GB — and 4GB is more comfortable. You'll want at least 10GB of disk space for a basic installation, with 20GB+ recommended for everyday use.

A USB drive (8GB or larger): This is how you'll boot the installer. The drive will be completely wiped, so back up anything on it first.

The Debian ISO file: Downloaded from debian.org. There are two main options:

  • netinst ISO — small download (~400MB), installs packages from the internet during setup
  • full DVD ISO — larger, works without an internet connection during install

For most users with a reliable internet connection, the netinst image is the practical choice.

A tool to write the ISO to USB: On Windows, Rufus is widely used. On Linux or macOS, tools like dd, Balena Etcher, or GNOME Disks work well.

Creating the Bootable USB Drive

Once you have the ISO, write it to your USB drive using your tool of choice. In Rufus, select your USB device, choose the Debian ISO, leave partition scheme as GPT (for modern UEFI systems) or MBR (for older BIOS systems), and click Start.

If using dd on Linux:

sudo dd if=debian-xx.x.x-amd64-netinst.iso of=/dev/sdX bs=4M status=progress 

Replace /dev/sdX with your actual USB device — double-check this with lsblk first. Writing to the wrong drive is unrecoverable.

Booting the Installer

Insert the USB drive, restart your computer, and enter the boot menu. This is usually done by pressing F2, F12, Delete, or Esc during startup — the exact key varies by manufacturer and is typically shown briefly on the POST screen.

Select your USB drive from the boot options. If your system uses UEFI, make sure Secure Boot is either disabled or set to allow third-party operating systems. Some hardware requires this; others don't.

You'll see the Debian installer welcome screen. The Graphical Install option gives you a point-and-click interface and is the easiest starting point for most users.

Walking Through the Installation 🖥️

The installer guides you through several sequential steps:

Language, location, and keyboard: Straightforward selections that set your locale and keyboard layout.

Network configuration: If you're using a wired ethernet connection, Debian usually detects it automatically. Wi-Fi during installation can be trickier — some wireless cards require non-free firmware that may not be included in the standard ISO. The Debian project offers a separate non-free firmware image specifically for this.

User accounts: You'll create a root (administrator) password and a standard user account. Some Debian setups give root full system access; others suggest using sudo from your user account. Setting up sudo access for your user is generally the better practice for daily use.

Disk partitioning: This is where most beginners pause. Options include:

OptionBest For
Guided – use entire diskSingle-OS setups, simplest path
Guided – use entire disk with LVMFlexibility to resize partitions later
Guided – separate /home partitionEasier OS reinstalls without losing user data
ManualDual-boot setups or custom configurations

If you're installing alongside Windows (dual-boot), choose Manual and resize the Windows partition carefully — or use Windows' Disk Management tool to shrink it before starting the Debian installer.

Package manager and software selection: The installer will ask you to choose a desktop environment — options include GNOME, KDE Plasma, Xfce, LXDE, and others. GNOME is full-featured and polished; Xfce and LXDE are significantly lighter on resources. If you're on older hardware, this choice meaningfully affects day-to-day performance.

GRUB bootloader: Near the end, Debian will install GRUB — the boot manager that lets you choose between operating systems at startup. On a single-OS machine, this runs silently in the background. On a dual-boot setup, GRUB displays a menu each time you start.

After Installation: First Steps 🔧

Once Debian reboots into your new system, a few immediate steps are worth doing:

  • Update the system: Open a terminal and run sudo apt update && sudo apt upgrade to pull in any patches since the ISO was built.
  • Install non-free firmware if you skipped it earlier and have hardware (particularly Wi-Fi cards or GPU drivers) that needs it.
  • Add the contrib and non-free repositories if you need software that doesn't meet Debian's strict free-software guidelines — things like certain media codecs or proprietary drivers.

The Variables That Shape Your Experience

Debian is highly configurable, which is both its strength and the source of most installation complexity. Several factors determine how smooth — or involved — the process turns out to be:

Hardware compatibility varies considerably. Recent laptops with cutting-edge Wi-Fi chips or integrated graphics may need extra steps to install firmware. Older or more mainstream hardware often works out of the box.

Debian release channel matters too. Debian Stable prioritizes reliability and long-term support over having the newest software versions. Debian Testing and Unstable (Sid) have newer packages but less predictable behavior — not ideal for production machines or users who want a set-it-and-forget-it system.

Desktop vs. server install is a meaningful fork in the road. A headless server setup with no desktop environment is leaner and faster but requires comfort with the command line for ongoing administration.

Dual-boot configurations add complexity that a single-OS install doesn't have — particularly around partitioning and ensuring GRUB correctly detects Windows.

The experience for someone installing Debian on a decade-old ThinkPad with an ethernet cable looks very different from someone setting it up on a new laptop with a proprietary Wi-Fi card, a Windows dual-boot, and a preference for a specific desktop environment. Both are absolutely doable — the steps and potential friction points just aren't the same.