Debian GNU/Linux 12 Codename Bookworm Installation Guide with Screenshots

Debian GNU/Linux 12 Codename “bookworm” was released on June 10th, 2023. Debian GNU/Linux is a highly regarded and widely used operating system known for its stability, security, and commitment to open-source principles. Debian GNU/Linux is the oldest and most respected Linux distributions, it provides a versatile and customizable platform for various applications and also offers a vast collection of software packages through its repositories, covering diverse domains such as desktop environments, productivity tools, multimedia, web servers, and databases. Debian’s strong community of dedicated volunteers ensures continuous development, extensive testing, and reliable updates. With its reputation for reliability and adherence to free and open-source software, Debian remains a popular choice among Linux users seeking a stable and flexible operating system.

In this post, we will see How to Install Debian 12 GNU/Linux Bookworm with new debian-installer.

You may also like – Debian Linux 11 (Bullseye) Installation Guide

# Desktop Environment Supported by Debian GNU/Linux 12 Bookworm

  • Gnome 43
  • KDE Plasma 5.27
  • LXDE 11
  • LXQt 1.2.0
  • MATE 1.26
  • Xfce 4.18

# Debian GNU/Linux 12 Bookworm Updated Applications

  • Apache 2.4.57
  • BIND DNS Server 9.18
  • Cryptsetup 2.6
  • Dovecot MTA 2.3.19
  • Emacs 28.2
  • Exim (default email server) 4.96
  • GIMP 2.10.34
  • GNU Compiler Collection 12.2
  • GnuPG 2.2.40
  • Inkscape 1.2.2
  • The GNU C Library 2.36
  • lighthttpd 1.4.69
  • LibreOffice 7.4
  • Linux kernel 6.1 series
  • LLVM/Clang toolchain 13.0.1, 14.0 (default), and 15.0.6
  • MariaDB 10.11
  • Nginx 1.22
  • OpenJDK 17
  • OpenLDAP 2.5.13
  • OpenSSH 9.2p1
  • Perl 5.36
  • PHP 8.2
  • Postfix MTA 3.7
  • PostgreSQL 15
  • Python 3, 3.11.2
  • Rustc 1.63
  • Samba 4.17
  • systemd 252
  • Vim 9.0

# Download Debian GNU/Linux 12

Links to Download Debian GNU/Linux 12 Bookworm

# Boot Your System with CD/DVD or Bootable Media

Once downloaded, burn CD/DVD or make bootable media. Boot your system with the bootable media, you may need to change your BIOS/UEFI configuration. You will be presented below Installer menu, choose Graphical Install to start Debian GNU/Linux 12 Linux installation. Refer:  Pre-installation BIOS/UEFI setup 

Debian 12 Linux Boot Menu

# Language Selection

Select the Language of your choice for installation and click on “Continue“.

Language Selection

# Select Location

Location basically to set the correct time zone to help the system locale and a Debian mirror appropriate for that country. Ideally you should select the country where you are living.

# Choosing Keyboard

Select the keyboard layout to conforms to the keyboard you are using. Move the highlight to the keyboard selection you wish and press “Enter“.


# Configuring the Network

Here, system will detect the network interfaces if more than one device is available on the system and will be asked to choose primary interface. You may configure additional network interface post installation.

# Network Autoconfigure

debian-installer tries to autoconfigure the network. However, it fails because of many reasons. As per below snippet, you may continue without a default route as this may be configure after the installation. So select “Yes” to continue.

# Name Server Configuration

Enter Name Server / DNS IP Addresses in blank space up to 3 name servers, separated by spaces. You may leave this field blank.

# Set Hostname

Enter hostname to identify your system by the network.

# Setting Up Root Users and Passwords

Set root account password. The root account should only be used to perform system administration tasks. Keep password in safe vault.

# Setting Up Non-Administrative Username and Passwords

Non-administrative user will be created for you. Follow below snippets to enter full name, create user and set password for a user and click on “Continue“.

# Disk Partitioning

There are four partitioning options to choose.
1. Guided – user entire disk : [Choose this option to automatically partition entire drive or available free space on a drive]
2. Guideduse entire disk and setup LVM : [This option to automatically partition entire disk with LVM]
3. Guided – user entire disk and setup encrypted LVM : [This option to automatically partition entire disk with encrypted LVM]
4. Manual : [This option to partition disk manually as per your specific requirements ]
Here, i have selected manual partition. Click on “Continue“.

Disk Partition

Select free space to create partitions and initialize it.

Select “Yes” and Click on “Continue

# Partition overview.

Below snippet shows the created partitions, select “Finish partitioning and write changes to disk” and click on “Continue“.

Write changes to disk ? Click on “Yes” to continue.

Installing the base system started.

#Configure The Package Manager

Here, simply click on “No” to skip media scanning and proceed for next step.

Click on “Yes” to configure network mirror.

Installer will prompt to select the nearby mirror from a list as per below.

Also select available Debian archive mirrors list below and click on “Continue“.

Enter the proxy details like IP Address and Port number on below blank area to access internet. You may leave the blank if the details are not available by pressing on “Continue“.

If you would like to participate the popularity-contest select “Yes” else “No” to proceed further.

# Software Selection

Select the predefined collections of software of your choice and click on “Continue“.

Now, installer will start installing the selected software.

# Grub Installation

You will be prompted to install the GRUB bootloader on the primary disk. Click on “Yes” to install grub and press “Continue“.

Select the disk to install the boot loader and click on “Continue“.

This may take sometime to finish the installation after the bootloader is installed. Remove the installation media and reboot. Click on “Continue” to reboot.

You will be presented the following login screen after your system is rebooted.

# Post Initial Setup

Post Installation you will be prompted the following initial setup welcome screen, click on “Next“.

Select your keyboard layout and click on “Next

You will be prompted to select the location which will be enabled your geographical location.

You may connect your accounts with Google, Microsoft for your email, contacts, documents and photos etc. skip it if not required.

GNOME initial setup is complete. Click on “Start Using Debian GNU/Linux” to close initial setup wizard and start using Debian GNU/Linux 12.

# How to check Debian GNU/Linux 12 Installed Version

Following are the commands to check the Debian GNU/Linux 12 version. Open terminal window and execute the command below.

$ lbs_release -a

$ cat /etc/os-release

# Things to Do After Debian GNU/Linux 12 Installation

# Sudo Access to The User

As we have created the user as teclues during the installation steps above. Provide the sudo privileges to the user to perform administrative tasks.
Warnings: Avoid accessing the system with root user, as we know root user has unlimited system access which may damage your system.

Check user teclues has sudo privilege. If you get something like below that means user don’t have sudo privilege. Follow below steps for sudo privilege to the user.

$ sudo -l

Now, follow the below steps to assign sudo privilege to the user.
Switch or login with root user.
$ su – root
Add user teclues in sudo group with below command.
# usermod -aG sudo teclues

usermod command

Reboot your system to affect above changes and verify changes with following command. If get the something like below that means user has sudo privileges.

$ sudo – l


# Install Available updates

Below command to update the package repo index.

$ sudo apt update

Run the following command to install available updates

$ sudo apt dist-upgrade

That’s it! In this post, we have seen steps by steps installation of Debian GNU/Linux 12 Installation Codename Bookworm. Kindly share it and let’s know if you have any query through comment box below. Also follow us on Facebook Official Page.

Leave a Comment