Skip to content

Debian 11 vs 12

Support dates, package versions, which one to use and how to upgrade.

  • 11 Extended support (paid) · ended Aug 2026
  • 12 Security fixes only · until Jun 2028
On this page

11 or 12: which should you use?

Debian 11 reached end of life on 31 Aug 2026 and no longer gets security fixes unless you pay for extended support. Use Debian 12, which is supported until 30 Jun 2028.

Debian 11 vs Debian 12 at a glance

DetailDebian 11Debian 12
Release date14 Aug 202110 Jun 2023
CodenameBullseyeBookworm
StatusExtended support (paid)Security fixes only
Latest update11.1112.15
Active support until14 Aug 202411 Jul 2026
Security support until31 Aug 202630 Jun 2028
Extended (paid) support until30 Jun 203130 Jun 2033
Free support length5.1 years5.1 years
Time left4.5 years1.5 years
Release pageDebian 11 →Debian 12 →

Package versions: 11 vs 12

23 of the 23 packages below have a different version in 12. Versions are what the official repositories install today, including updates.

Package1112
Linux kernel5.10.2626.1.192 ↑
GCC10.2.112.2.0 ↑
glibc2.312.36 ↑
systemd247.3252.39 ↑
Bash5.15.2.15 ↑
OpenSSL1.1.1w3.0.22 ↑
OpenSSH8.4p19.2p1 ↑
Python3.9.23.11.2 ↑
PHP7.48.2 ↑
Perl5.32.15.36.0 ↑
Node.js12.22.1218.20.4 ↑
Java (default JDK)1117 ↑
Go1.151.19 ↑
Rust1.48.01.63.0 ↑
Ruby2.73.1 ↑
Git2.30.22.39.5 ↑
Nginx1.18.01.22.1 ↑
Apache HTTP Server2.4.672.4.71 ↑
MariaDB10.5.2910.11.19 ↑
PostgreSQL1315 ↑
Redis6.0.167.0.15 ↑
Docker (docker.io)20.10.520.10.24 ↑
GNOME Shell3.38.643.9 ↑

Source: the distribution's package archive (madison). Upstream versions only.

How to upgrade from 11 to 12

Back up your data (or take a snapshot) before a major upgrade.

  1. Install every pending update for Debian 11 and reboot.

    sudo apt update && sudo apt full-upgrade && sudo reboot
  2. Point APT at Debian 12 ("bookworm") instead of "bullseye". This edits both the classic and the deb822 source files.

    sudo sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list /etc/apt/sources.list.d/*
  3. Refresh the package lists and do a minimal upgrade first.

    sudo apt update && sudo apt upgrade --without-new-pkgs
  4. Finish the full upgrade, then reboot.

    sudo apt full-upgrade && sudo reboot
  5. Confirm the new version.

    cat /etc/debian_version

Read the release notes for Debian 12 before you start, and remove third-party repositories that have no bookworm packages yet.

Frequently asked questions

What is the difference between Debian 11 and Debian 12?

Debian 12 came out 1.8 years after Debian 11 (Jun 2023 vs Aug 2021). Support ends Aug 2026 for Debian 11 and Jun 2028 for Debian 12. Package versions change too: Linux kernel 5.10.262 → 6.1.192, GCC 10.2.1 → 12.2.0, glibc 2.31 → 2.36, systemd 247.3 → 252.39, Bash 5.1 → 5.2.15.

Should I upgrade from Debian 11 to Debian 12?

Debian 11 reached end of life on 31 Aug 2026 and no longer gets security fixes unless you pay for extended support. Use Debian 12, which is supported until 30 Jun 2028.

More Debian comparisons

All Debian releases →

Release data: endoflife.date and vendor announcements. Spotted a mistake? Tell us.

Back to top