Full Text
requires the following:
* A Windows PC (to download software needed to install Debian).
* A USB drive (or a DVD/CD, if you have an old system).
* Internet access to download the Debian ISO image.
* A computer with at least 1 GB of RAM and 10 GB of free disk space. This is a basic requirement, and more will be needed for a desktop environment.
**What is Debian?**
Debian is a very popular and influential open-source operating system based on the Linux kernel. It's known for its stability, security, and adherence to free software principles. It's often called the "universal operating system" because it supports a vast number of computer architectures and has a massive repository of pre-compiled software packages. Many other Linux distributions, like Ubuntu, are based on Debian.
**Steps to Install Debian:**
This guide will focus on installing Debian with a graphical desktop environment, which is the most common use case for new users.
---
### **Part 1: Prepare the Installation Media**
1. **Download the Debian ISO Image:**
* Go to the official Debian website: [https://www.debian.org/](https://www.debian.org/)
* Look for the "Download" section.
* You'll likely want the "Debian Live" image for a graphical installer. This allows you to try Debian before installing.
* For 64-bit systems (most modern PCs), look for `debian-live-<version>-amd64-gnome.iso` (or kde, xfce, etc., for different desktop environments). GNOME is a good default.
* Alternatively, you can download a smaller "netinst" ISO and download packages during installation, but the Live ISO is more convenient.
* Save the `.iso` file to a location you can easily find (e.g., your Downloads folder).
2. **Create a Bootable USB Drive:**
* **Download a USB Imager Tool:** On Windows, a popular and reliable tool is **Rufus**. Download it from: [https://rufus.ie/en/](https://rufus.ie/en/)
* **Insert your USB drive:** Ensure it has at least 4GB of storage (check the size of your downloaded ISO). **Back up any important data on the USB drive, as this process will erase it entirely.**
* **Open Rufus:**
* Under "Device," select your USB drive.
* Under "Boot selection," click "SELECT" and browse to your downloaded Debian `.iso` file.
* Rufus will usually automatically detect the correct settings for "Partition scheme" and "Target system."
* Click "START."
* If prompted, choose to write in "DD Image mode" (recommended for Debian Live images) or "ISO Image mode" (if DD mode isn't available or causes issues).
* Confirm that you understand the data on the USB will be destroyed.
* Wait for Rufus to complete the process. This may take several minutes.
---
### **Part 2: Configure Your PC to Boot from USB**
1. **Restart Your Computer:**
2. **Enter BIOS/UEFI Settings:** As your computer starts, you'll need to press a specific key repeatedly to enter the BIOS or UEFI firmware setup. Common keys include:
* `Del` (Delete)
* `F2`
* `F10`
* `F12`
* `Esc`
* The exact key varies by manufacturer (HP, Dell, Lenovo, Acer, Asus, etc.). Look for a message on the screen during startup, like "Press F2 for Setup" or "Press DEL to enter BIOS."
3. **Disable Secure Boot (if applicable):** If your system uses UEFI and Windows 10/11, you might need to disable "Secure Boot" in the BIOS/UEFI settings. This is often found under "Security" or "Boot Options."
4. **Change Boot Order:**
* Navigate to the "Boot" or "Boot Order" section in your BIOS/UEFI settings.
* Move your USB drive (it might be listed by brand, e.g., "Kingston USB" or "Generic USB Device") to the top of the boot priority list.
* **Save and Exit:** Look for an option like "Save Changes and Exit" (often `F10`). Your computer will restart.
---
### **Part 3: Install Debian**
1. **Boot from USB:**
* If you've configured the boot order correctly, your computer should now boot from the USB drive.
* You'll see a Debian boot menu.
* For a graphical installation, select **"Graphical install"** (or "Live" to try it first, then look for an "Install Debian" icon on the desktop).
2. **Debian Installer Steps (Graphical):**
* **Language Selection:** Choose your preferred language for the installation process. Click "Continue."
* **Location:** Select your country and region. This helps configure time zones and locales. Click "Continue."
* **Keyboard Layout:** Choose your keyboard layout. Click "Continue."
* **Network Configuration (if using netinst or issues):** If you're using a netinst ISO, or if the Live environment couldn't automatically configure your network, you might be prompted here. For Live ISOs, it often works automatically.
* **Hostname:** Enter a name for your computer (e.g., `mydebianpc`). Click "Continue."
* **Domain Name (optional):** Leave blank for home users. Click "Continue."
* **Root Password:** Enter a strong password for the `root` (administrator) user. **Remember this password!** Click "Continue."
* **New User Setup:**
* **Full name for the new user:** Enter your full name.
* **Username for your account:** This will be your login name (e.g., `john`).
* **Password for the new user:** Enter a strong password for your regular user account. Re-enter it to confirm. Click "Continue."
* **Partition Disks:** This is a critical step.
* **For most users who want to use the entire disk for Debian (erasing everything else):** Choose **"Guided - Use entire disk."**
* **For dual-booting with Windows:** This is more complex. You should have already created free unallocated space in Windows. Choose **"Guided - Use the largest continuous free space"** or **"Manual"** if you need precise control. *Dual-booting is beyond the scope of a basic guide and requires careful planning to avoid data loss.*
* Select the disk you want to install Debian on.
* Choose a partitioning scheme: **"All files in one partition (recommended for new users)"** is generally fine.
* Review the proposed partitions. If satisfied, select **"Finish partitioning and write changes to disk."**
* **Confirm writing changes to disk:** The installer will ask for final confirmation. **Be absolutely sure this is what you want, as it will erase data on the selected disk.** Select "Yes" and click "Continue."
* **Install the Base System:** The installer will now copy the base Debian system files. This can take some time.
* **Configure the Package Manager:**
* **Use a network mirror?** Select "Yes" to use a mirror for software updates. Choose a mirror close to your geographical location for faster downloads.
* **Participate in the package usage survey?** This is optional.
* **Software Selection:** This is where you choose your desktop environment and other software.
* By default, "Debian desktop environment" (with GNOME if you used that Live ISO), "web server," "SSH server," and "standard system utilities" are often selected.
* You can deselect "web server" if you don't need it. Keep "Debian desktop environment" and "standard system utilities" selected.
* Click "Continue." The installer will download and install the selected software. This will take a while, depending on your internet speed and selections.
* **Install the GRUB Boot Loader:**
* The GRUB boot loader is essential for starting Debian (and Windows if you're dual-booting).
* Select "Yes" to install GRUB to the master boot record.
* Choose the disk device for GRUB installation (usually `/dev/sda` or `/dev/nvme0n1` - the main disk, *not* the USB drive).
* Click "Continue."
* **Finish the Installation:**
* The installation is now complete.
* The installer will prompt you to remove the installation media (USB drive or DVD). **Remove it now!**
* Click "Continue" to restart your computer.
---
### **Part 4: First Boot and Post-Installation**
1. **Boot into Debian:**
* Your computer should now boot into Debian.
* You'll see the GRUB menu (if GRUB was installed successfully), where you can select "Debian GNU/Linux" (and potentially Windows if dual-booting).
* Enter your username and password at the login screen.
2. **Update Your System:**
* Once logged in, open a terminal (usually found in the applications menu).
* Run the following commands to update your package lists and install any available updates:
```bash
sudo apt update
sudo apt upgrade
```
(You'll be prompted for your user password for `sudo` commands.)
3. **Install Essential Software (Optional):**
* You can now install applications using the `apt` command. For example:
```bash
sudo apt install firefox # Install Firefox browser
sudo apt install vlc # Install VLC media player
sudo apt install libreoffice # Install LibreOffice suite
```
---
You have now successfully installed Debian! Explore your new operating system and customize it to your liking.