Skip to content

Debian 12 vs 13

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

  • 12 Security fixes only · until Jun 2028
  • 13 Supported · until Jun 2030
On this page

12 or 13: which should you use?

Both releases are supported. Debian 13 is newer and gets updates 2 years longer (until 30 Jun 2030, against 30 Jun 2028 for Debian 12). Choose Debian 13 for new installs. Debian 12 is fine where it already runs; plan the upgrade before 30 Jun 2028.

Debian 12 vs Debian 13 at a glance

DetailDebian 12Debian 13
Release date10 Jun 20239 Aug 2025
CodenameBookwormTrixie
StatusSecurity fixes onlySupported
Latest update12.1513.8
Active support until11 Jul 20269 Aug 2028
Security support until30 Jun 202830 Jun 2030
Extended (paid) support until30 Jun 203330 Jun 2035
Free support length5.1 years4.9 years
Time left1.5 years3.5 years
Release pageDebian 12 →Debian 13 →

Package versions: 12 vs 13

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

Package1213
Linux kernel6.1.1926.12.118 ↑
GCC12.2.014.2.0 ↑
glibc2.362.41 ↑
systemd252.39257.13 ↑
Bash5.2.155.2.37 ↑
OpenSSL3.0.223.5.9 ↑
OpenSSH9.2p110.0p1 ↑
Python3.11.23.13.5 ↑
PHP8.28.4 ↑
Perl5.36.05.40.1 ↑
Node.js18.20.420.19.2 ↑
Java (default JDK)1721 ↑
Go1.191.24 ↑
Rust1.63.01.85.1 ↑
Ruby3.13.3 ↑
Git2.39.52.47.3 ↑
Nginx1.22.11.26.3 ↑
Apache HTTP Server2.4.712.4.71
MariaDB10.11.1911.8.9 ↑
PostgreSQL1517 ↑
Redis7.0.158.0.2 ↑
Docker (docker.io)20.10.2426.1.5 ↑
GNOME Shell43.948.7 ↑

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

How to upgrade from 12 to 13

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

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

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

    sudo sed -i 's/bookworm/trixie/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 13 before you start, and remove third-party repositories that have no trixie packages yet.

Frequently asked questions

What is the difference between Debian 12 and Debian 13?

Debian 13 came out 2.2 years after Debian 12 (Aug 2025 vs Jun 2023). Support ends Jun 2028 for Debian 12 and Jun 2030 for Debian 13. Package versions change too: Linux kernel 6.1.192 → 6.12.118, GCC 12.2.0 → 14.2.0, glibc 2.36 → 2.41, systemd 252.39 → 257.13, Bash 5.2.15 → 5.2.37.

Should I upgrade from Debian 12 to Debian 13?

Both releases are supported. Debian 13 is newer and gets updates 2 years longer (until 30 Jun 2030, against 30 Jun 2028 for Debian 12). Choose Debian 13 for new installs. Debian 12 is fine where it already runs; plan the upgrade before 30 Jun 2028.

More Debian comparisons

All Debian releases →

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

Back to top