How to Upgrade Debian to Latest Version 12

Are you using Debian and want to upgrade to the latest version, 12 Bookworm? This excellent OS is one of the oldest and most popular Linux systems, offering a stable and safe computing setup. Upgrading to the newest release is easy and fast with Debian’s package system.

In this guide, we’ll walk you through the steps to boost your Debian 10 Buster or 11 Bullseye to the latest Debian 12 Bookworm, making sure your system stays stable and secure. Let’s begin!

Upgrading Debian

Credit: Debian

Exploring Debian: A Safe, Secure, and Flexible Operating System

Debian is a free and open-source operating system platform that uses the Linux kernel. It was started back in 1996 by Ian Murdock and is one of the most aged Linux OSes out there. It’s popular because it’s reliable and safe, with lots of free software.

One of Debian’s best specialties is its package system. It makes it super straightforward to add, remove, and update software on your computer. People love it because it’s stable, safe, and simple to use.

Another cool thing about this OS is its vast collection of free software. You can find all sorts of programs in its repository, from essential tools to advanced stuff for developers. Plus, you have the freedom to use, change, and share the software however you want because of the different licenses.

Plus, it is the foundation for Ubuntu, which is one of the most popular versions of Linux for desktops today. So, a lot of what you see in Ubuntu comes from it. Overall, It is a top choice for people who want a safe, stable, and free operating system.

What’s New in Debian 12 Bookworm Upgrade?

Debian 12, also known as Bookworm, is the newest version of the well-liked Linux-based operating system. It came out on June 10, 2023, and brings in lots of new stuff that makes it suitable for both desktop and server use.

One significant change in version 12 is switching to the Wayland display server instead of the old Xorg. This makes things work better and safer and gives the system more modern graphics. Also, there are new tools for people with disabilities, like text-to-speech and high-contrast themes, to make it easier to use.

It also has the latest versions of many popular programs, like the GNOME desktop, LibreOffice, and Firefox browser. It works better with new hardware, too, like the latest CPUs and graphics cards.

Another big thing in version 12 is the new “AppArmor” security tool. It adds extra protection by limiting what software can do on the OS. This makes it more challenging for lousy software to mess things up.

Lastly, it has other improvements, like updated OS parts, better support for things like Docker containers, and faster work with virtual machines.

Overall, it is a big step up from older versions, with lots of new features and improvements that make it great for both regular computers and servers.

Upgrading Debian PC to Latest Release

Suppose you’re using version 11 or an older one on your computer. In that case, it’s a good idea to update to the newest version. This helps make sure your system is more stable and safe and you get all the latest features and improvements.

To upgrade from Debian 10 or 11 to Debian 12, you can either watch our video tutorial or follow a set of steps. Whichever way you go, make sure to pay attention and follow the instructions closely to avoid any problems or mistakes during the upgrade. Once it’s all done, you’ll have a system that’s more current and secure, ready for whatever you need to do.

  1. Before you update your computer, make sure to update all the packages and software on your OS. Just open the terminal console and type “sudo apt update” and “sudo apt upgrade” to do it.
    sudo apt update
    sudo apt upgrade
  2. Once your OS is ready, it’s time to upgrade. But first, you need to swap out the old version’s repository addresses with the new one’s codename. To do this automatically, just type “sudo sed -i ‘s/bullseye/bookworm/g’ /etc/apt/sources.list” in the terminal.
    sudo sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list
  3. After you’ve edited the repository file, update the package list by typing “sudo apt update” in the terminal. This will use the new addresses you just put in.
    sudo apt update
  4. Now that your PC is ready, you can start the upgrade. To complete a Debian upgrade, just type “sudo apt full-upgrade” into the terminal.
    sudo apt full-upgrade
  5. Depending on your internet speed connection, it might take a while to download the packages. Once your system is updated, use the “sudo apt –purge autoremove” command in the terminal screen to get rid of any unnecessary packages.
    sudo apt --purge autoremove
  6. To make sure the changes work, restart your computer by typing “sudo reboot” in the terminal.
    sudo reboot
  7. After you log in to your system, open the terminal and type “lsb_release -a” and “uname -r” to see the new version and kernel of Debian.
    lsb_release -a
    uname -r


To sum it up, updating your Debian computer to the newest version, 12 Bookworm, can make it more stable and safe. By using its innovative program system, updates can happen quickly and easily.

Just follow the steps we talked about in this article, and you’ll be able to upgrade your Debian 10 or 11 to the newest Debian 12 Bookworm. And remember to back up your important files before you start updating anything. It’s always a good idea to be safe!

If you want to learn more about Linux, we’ve got something for you. Please take a look at our guide on how to upgrade Kali Linux. It is a prevalent type of Linux that’s easy to use and can do lots of things. Our guide gives you clear steps to follow, so upgrading your system will be easy. Then, you can enjoy all the new stuff and improvements it brings.

Copyright © 2018 - 2024