Debian

How to Install Debian 12 Server Operating System on Your Computer

Debian 12 “Bookworm” is the latest version of the Debian operating system. It comes with a lot of new features and updated software. To learn more about the new features of Debian 12 “Bookworm”, read this article.

In this article, we will show you how to install the Debian 12 server operating system on your computer.

Topic of Contents:

  1. Downloading the Debian 12 ISO Image
  2. Creating a Bootable USB Thumb Drive of Debian 12
  3. Booting Debian 12 from a USB Thumb Drive
  4. Installing the Debian 12 Server on Your Computer
  5. Running the Debian 12 Server for the First Time
  6. Conclusion

Downloading the Debian 12 ISO Image

You can download the ISO image of Debian 12 from the official website of Debian. If you need any assistance on that, read this article.

Creating a Bootable USB Thumb Drive of Debian 12

Once you downloaded the ISO image of Debian 12, you have to create a bootable USB thumb drive of Debian 12 so that you can boot the Debian 12 installer and install Debian 12 on your computer. If you need any assistance on that, read this article.

Booting Debian 12 from a USB Thumb Drive

Once you prepared a bootable USB thumb drive of Debian 12, you have to boot your computer from it. The process of booting from a USB thumb drive depends on the motherboard that you installed on your computer.

If you need any assistance in booting your computer from the USB thumb drive of Debian 12, read the article on How to Boot Your Computer From a USB Thumb Drive.

Once you boot your computer from the bootable USB thumb drive of Debian 12, you will see the following boot menu:

A screenshot of a computer Description automatically generated

Installing the Debian 12 Server on Your Computer

To install the Debian 12 server operating system on your computer, select “Graphical install” from the Debian 12 installers boot menu and press <Enter>.

A screenshot of a computer Description automatically generated

Select the language that you want to use for the Debian 12 installer as well as for the installed Debian 12 system from the list and click on “Continue”.

A screenshot of a computer Description automatically generated

Select your location from the list of countries[1] and click on “Continue”[2].

A screenshot of a computer Description automatically generated

If your country is not on the list, choose “other”[1] and click on “Continue”[2].

A screenshot of a computer Description automatically generated

If you selected “other” from the country list, you will see a list of continents/regions[1]. Select the continent/region that you’re in and click on “Continue”[2].

A screenshot of a computer Description automatically generated

Select your country from the list[1] and click on “Continue”[2].

A screenshot of a computer Description automatically generated

Select the language that you want to use on Debian 12 and click on “Continue”.

A screenshot of a computer Description automatically generated

Select your keyboard language[1] and click on “Continue”[2].

A screenshot of a computer Description automatically generated

The Debian 12 installer scans the USB thumb drive for available packages. It takes a few seconds.

A screenshot of a computer Description automatically generated

Type in a Hostname for your Debian 12 installation[1] and click on “Continue”[2].

A screenshot of a computer Description automatically generated

If you have a domain name, you can enter it here[1]. It’s optional.

If you don’t have a domain name or don’t want to set a domain name for your Debian 12 installation, just leave it blank[1].

Once you’re done, click on “Continue”[2].

A screenshot of a computer Description automatically generated

If you want to setup a root account for your Debian 12 installation, set a root password here.

If you want to setup an ordinary user account and use sudo to gain the temporary superuser privileges when required only, don’t set a root password. Just leave it blank.

Once you’re done, click on “Continue”.

A screenshot of a computer Description automatically generated

Type in your full name[1] and click on “Continue”[2].

A screenshot of a computer Description automatically generated

Type in your login username[1] and click on “Continue”[2].

A screenshot of a computer Description automatically generated

Type in the password for your Debian 12 login user account and click on “Continue”.

A screenshot of a computer Description automatically generated

The Debian 12 installer scans the disks that are installed on your computer. It takes a few seconds to complete.

A screenshot of a computer Description automatically generated

If you have an operating system installed on the disk in BIOS compatibility mode on your UEFI-based motherboard, you will see this prompt.

If you want to install the Debian 12 in BIOS compatibility mode as well so that you can dual boot your existing operating system easily, select “No”[1].

If you want to replace the previously installed operating system with Debian 12 or you don’t want to boot into it and install Debian 12 in UEFI mode instead, select “Yes”[1].

Once you’re done, click on “Continue”[2].

A screenshot of a computer Description automatically generated

Now, you have to partition the disk for the Debian 12 installation. We have a separate article on partitioning the disk for the Debian 12 installation. Please read the article on How to Partition the Disks while Installing the Debian 12 Bookworm for an in-depth explanation of partitioning the disks for your Debian 12 installation.

A screenshot of a computer Description automatically generated

Once you partitioned the disks for Debian 12 installation, the Debian 12 installer should start installing Debian 12 on your computer. It takes a while to complete.

A screenshot of a computer Description automatically generated

Select “No”[1] and click on “Continue”[2].

A screenshot of a computer Description automatically generated

To configure the Debian 12 package manager, select a country where you live so that you can select a package mirror that’s closest to you[1]. Selecting a Debian 12 package mirror closest to you facilitates faster downloads of the Debian package files from the Debian 12 package repositories.

Once you’re done, click on “Continue”[2].

A screenshot of a computer Description automatically generated

Select “deb.debian.org” (if you don’t have any preferences) or any of the Debian 12 package mirrors from the list[1] and click on “Continue”[2].

A screenshot of a computer Description automatically generated

If you want to use an HTTP proxy for the Debian 12 package manager, type in the HTTP proxy information[1].

If you don’t want to use any proxy for the Debian 12 package manager, just leave it blank[1].

Once you’re done, click on “Continue”[2].

A screenshot of a computer Description automatically generated

The Debian 12 package manager is being configured. It takes a few seconds to complete.

A screenshot of a computer Description automatically generated

Select “No”[1] and click on “Continue”[2].

A screenshot of a computer Description automatically generated

To install the Debian 12 server on your computer, uncheck everything from the Software selection prompt and check only the “SSH server” and “standard system utilities”[1].

Once you’re done, click on “Continue”[2].

The Debian 12 server installation should continue. It takes a while to download the additional software packages that you selected and install them on your Debian 12 system.

The GRUB bootloader is being installed on the Debian 12 system so that it can boot itself.

A screenshot of a computer Description automatically generated

The Debian 12 installation is about to be finished.

A screenshot of a computer Description automatically generated

At this point, the Debian 12 server should be installed on your computer. To experience the newly installed Debian 12 server operating system, click on “Continue”. Your computer should reboot into your newly installed Debian 12 server operating system.

A screenshot of a computer Description automatically generated

Running the Debian 12 Server for the First Time

Once your computer boots, you will see the Debian 12 server GRUB boot menu. Select “Debian GNU/Linux” from the list and press <Enter>.

You will see the Debian 12 server login screen. You can log in to your Debian 12 server system from here.

A black screen with white text Description automatically generated

Once you’re logged in, you should be able to use your Debian 12 server operating system in any way you like.

A screenshot of a computer error Description automatically generated

As you can see, we are running the Debian 12 server operating system on our computer.

A screen shot of a computer Description automatically generated

Conclusion

Debian 12 “Bookworm” is the latest version of the Debian operating system. In this article, we showed you how to install the Debian 12 server operating system on your computer.

About the author

Shahriar Shovon

Freelancer & Linux System Administrator. Also loves Web API development with Node.js and JavaScript. I was born in Bangladesh. I am currently studying Electronics and Communication Engineering at Khulna University of Engineering & Technology (KUET), one of the demanding public engineering universities of Bangladesh.