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
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
| Detail | Debian 11 | Debian 12 |
|---|---|---|
| Release date | 14 Aug 2021 | 10 Jun 2023 |
| Codename | Bullseye | Bookworm |
| Status | Extended support (paid) | Security fixes only |
| Latest update | 11.11 | 12.15 |
| Active support until | 14 Aug 2024 | 11 Jul 2026 |
| Security support until | 31 Aug 2026 | 30 Jun 2028 |
| Extended (paid) support until | 30 Jun 2031 | 30 Jun 2033 |
| Free support length | 5.1 years | 5.1 years |
| Time left | 4.5 years | 1.5 years |
| Release page | Debian 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.
| Package | 11 | 12 |
|---|---|---|
| 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 ↑ |
| OpenSSL | 1.1.1w | 3.0.22 ↑ |
| OpenSSH | 8.4p1 | 9.2p1 ↑ |
| Python | 3.9.2 | 3.11.2 ↑ |
| PHP | 7.4 | 8.2 ↑ |
| Perl | 5.32.1 | 5.36.0 ↑ |
| Node.js | 12.22.12 | 18.20.4 ↑ |
| Java (default JDK) | 11 | 17 ↑ |
| Go | 1.15 | 1.19 ↑ |
| Rust | 1.48.0 | 1.63.0 ↑ |
| Ruby | 2.7 | 3.1 ↑ |
| Git | 2.30.2 | 2.39.5 ↑ |
| Nginx | 1.18.0 | 1.22.1 ↑ |
| Apache HTTP Server | 2.4.67 | 2.4.71 ↑ |
| MariaDB | 10.5.29 | 10.11.19 ↑ |
| PostgreSQL | 13 | 15 ↑ |
| Redis | 6.0.16 | 7.0.15 ↑ |
| Docker (docker.io) | 20.10.5 | 20.10.24 ↑ |
| GNOME Shell | 3.38.6 | 43.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.
Install every pending update for Debian 11 and reboot.
sudo apt update && sudo apt full-upgrade && sudo rebootPoint 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/*Refresh the package lists and do a minimal upgrade first.
sudo apt update && sudo apt upgrade --without-new-pkgsFinish the full upgrade, then reboot.
sudo apt full-upgrade && sudo rebootConfirm 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
Release data: endoflife.date and vendor announcements. Spotted a mistake? Tell us.
