PDF download Download Article
Download and install Debian Linux on any PC
PDF download Download Article

Debian, like most other Linux distributions, is a free and open-source operating system for both desktop and server use, spawning several notable offshoots such as the Ubuntu operating system . This wikiHow tutorial teaches you how to install the latest version of Debian Linux on your PC.

Debian Linux Installation Instructions

  1. Download the latest Debian image from https://www.debian.org/distrib/netinst .
  2. Create a bootable USB drive or CD/DVD-R using Balena Etcher or Rufus.
  3. Change your boot order in the BIOS to boot from a USB or CD/DVD drive.
  4. Boot from the USB drive or CD/DVD.
  5. Follow the prompts to Install Debian.
Part 1
Part 1 of 4:

Before You Begin

PDF download Download Article
  1. Debian is a lightweight operating system that should run on most modern computers meeting the minimum system requirements:
    • A Pentium 4 1GHz processor or better.
    • 512 MB RAM (without a GUI desktop) or 2 GB (with GUI).
    • 2 GB hard drive space (without GUI) or 10 GB (with GUI).
    • Bootable USB/CD/DVD drive. [1]
  2. Whether you plan to wipe out another operating system like Windows and replace it with Debian or set up a dual boot situation, back up any existing data on your computer in case something goes wrong. [2]
    • If you're going to dual-boot Debian with Windows or another operating system, make sure you have that operating system's installation or recovery media in case you ever need to reinstall it . [3]
    Advertisement
  3. Since the drive will need to be bootable, everything on it will now be formatted and erased before you install Debian. Make sure to save any files you wish to keep.
    • Your USB drive should be at least 2 GB so there's enough room for the CD installer.
    • If you'd rather install Debian from a bootable CD-R or DVD-R, you can do that instead.
  4. Advertisement
Part 2
Part 2 of 4:

Creating Installation Media

PDF download Download Article
  1. Download a Debian image from https://www.debian.org/distrib/netinst . Debian 12 offers a variety of installation media for different platforms. Download the image that is best for your computer's architecture.
    • Debian installers are based on your hardware. So, if you have a 64-bit PC with an Intel or AMD processor, select amd64 under the "Small CDs or USB sticks" header. If you have a 64-bit system with an ARM processor, click arm64 instead. If you have a 32-bit system, click i386 . The ISO file will download immediately.
  2. Etcher allows you to create a bootable USB drive using an ISO file. You can download it from https://etcher.balena.io .
  3. You can insert a USB drive into any free USB port on your computer or laptop.
    • If you want to create a bootable CD or DVD instead, insert a blank CD-R or DVD-R into your optical disk drive. Right-click the Debian ISO file and click Burn Disk Image . You can burn an ISO file to a CD or DVD using Disk Utility on Mac.
  4. To do so, drag and drop the ISO file into the Balena Etcher window or click Flash from File and select the ISO file.
    • Balena Etcher should detect your USB drive automatically. If the correct USB drive is not listed below the flash drive icon, click Change and select your USB drive.
  5. This starts writing the Debian ISO file to your USB drive and makes the drive bootable. [4]
  6. Advertisement
Part 3
Part 3 of 4:

Booting from a USB Drive

PDF download Download Article
  1. Reboot your computer and press the hotkey that appears at the bottom of the screen while your computer reboots to enter the BIOS. Some common hotkeys are F2 (Acer, Asus, Lenovo, Dell, Origin PC, Samsung, Sony, Toshiba), F1 (Lenovo desktops and ThinkPad models, Sony), F10 (HP), and the Del key (Acer, Asus, MSI). If your computer boots too quickly, you can use these steps from Windows to get to the BIOS: [5]
    • Click the Windows menu and select Settings .
    • Click Update & Security on Windows 10 or System on Windows 11
    • Click Recovery
    • Click Restart now under "Advanced startup."
    • Click Troubleshoot
    • Click Advanced options
    • Click UEFI Firmware Settings .
    • Click Restart .
  2. The BIOS menu looks different depending on your computer/motherboard manufacturer. You'll want to find the "Boot order" menu or similar.
    • You can use the arrow keys to navigate the BIOS menu and press Enter to make selections.
  3. You'll need to ensure your computer is set to boot from the USB or CD/DVD drive before the hard drive. This ensures that your PC will know to boot from the Debian media you created instead of into the existing operating system.
  4. Your PC will restart and automatically boot from your Debian installation media if connected. If not, it'll boot back into your primary operating system.
  5. Advertisement
Part 4
Part 4 of 4:

Installing Debian

PDF download Download Article
  1. If your Debian flash drive or disc wasn't inserted when you rebooted, insert it now and reboot your PC.
  2. Use the arrow key to make the selection, and then press the Enter key to select it.
    • You can also select the regular Install option. The process is the same for both options.
  3. The first three screens will ask you to choose your language, location, and keyboard region. Once you've made your selections, the installer will ask you to configure your network.
  4. Depending on your computer, you may have one or two options (i.e., a wired and wireless option). Select whichever you plan on using.
    • If you're installing over the internet (this is the case if you downloaded the smaller ISO file), you'll also be walked through instructions for connecting your PC to the internet.
    • If you receive an error about your Wi-Fi adapter, connect your computer to your modem or router using an ethernet cable and use a wired connection instead.
  5. The hostname is the name that identifies your computer on the network. If you have a domain name assigned to your network, you can enter it on the line. If not, just leave that line blank and select Continue .
  6. Although you were once required to create a root (admin) account and password when installing Debian, you can now skip this step. [6]
    • Skipping the root password step means sudo will automatically be set up for your user account, giving you root access. It's safer to not have a root password since you won't need to share it with other admins. You can then elevate other accounts that also need administrative access.
    • To skip creating a root password, leave the "Set up users and passwords" screen blank and click Continue .
    • If you make a root password now, you won't have sudo access set up immediately, meaning you'll need to use "su root" whenever you want to do something administrative rather than "sudo."
  7. Now you can create your own account, which is how you'll log in to Debian. Enter your full name (or whatever name you want to use), select Continue , and create your username and secure password .
    • As long as you skipped adding a root account, this new account will be given sudo rights.
  8. This ensures your system clock is set properly.
  9. The option you choose for partitioning depends on your needs:
    • If you just want to install Debian on existing unused drive space, select Guided – use the largest continuous free space .
    • If you only want to use Debian on this drive and not anything else, select Guided – use entire disk .
    • Select Manual if you want to retain other partitions on the computer, such as your Windows installation.
  10. This process varies depending on how you're installing Debian. If you chose one of the Guided options, let the on-screen instructions walk you through the process. When given the option to choose a file system, select Ext4 journaling file system . When the partitioning is complete, Debian will start installing.
    • When asked to select a partition scheme, you can choose to have all files on one partition (recommended for new users), have a separate partition for your Home directory, or separate partitions for home, var, and tmp directories.
    • Once you make your selection, review the changes that will be made to your disk, click Finish partitioning and write changes to disk , and select Yes to confirm.
    • If you are asked to scan for another DVD or CD, select No and then Continue .
  11. Select whichever country is closest to you, then select the Debian mirror archive. The first or recommended option is the best option.
    • If you use a proxy server, enter the information when prompted. If not, leave the space blank and click Continue .
  12. Select at least one desktop environment, such as GNOME or KDE, and the option for "standard system utilities." If you want to be able to connect to your Debian system remotely through SSH, select the "SSH server" option.
    • If you do not want to use a desktop environment, unselect all desktop environment options.
    • Once you click Continue , Debian will begin the bulk of the installation process.
  13. It can take several minutes for this to appear, depending on the speed of your computer (and network speed if you installed it over the internet). This will immediately reboot the computer into the GRUB bootloader.
  14. It should be the first option. The GRUB bootloader was installed with Debian and will come up any time the computer is rebooted. Once you select this option, you'll be brought to the Debian login screen. Congratulations, you've installed Debian!
    • If you have Windows installed and want to boot into it instead, choose Windows Boot Manager .
    • To access your system BIOS from Grub, choose the System setup option.
  15. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Can Android phones use Debian?
    Community Answer
    No. The Android operating system is a version of Linux, but it is designed specifically for mobile phones. Debian, on the other hand, is made for desktop PCs and laptops, and can not handle the inputs and outputs of a smartphone.
  • Question
    How do you recover the backup from Windows onto the new Debian OS?
    Pythonmegapixel
    Community Answer
    If you backed up your files to an external storage device, then simply connect it to the computer and copy the files into your home directory.
  • Question
    How do you recover the backup from Windows onto the new Debian OS?
    A_random_reader
    Community Answer
    If you have backed up by copying the files, you can just plug the flash drive in and hope for the best that your files are ready to be copied. Linux cannot handle Windows backups, in which case you will have to browse the backup and manually copy the files back.
Ask a Question
      Advertisement

      Video

      Tips

      • If you cannot download and mount the installation images, you can buy a Debian installation disc from the Debian website.
      • If you want to try Debian before installing it, you can install it in on a virtual machine.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      Article Summary X

      1. Download an official Debian installer ISO from Debian.org.
      2. Create a bootable USB drive or CD-R from the ISO.
      3. Boot from the USB drive or CD-R.
      4. Select Graphical installation .
      5. Follow the on-screen instructions to install.

      Did this summary help you?
      Thanks to all authors for creating a page that has been read 209,678 times.

      Is this article up to date?

      Advertisement