Debian 发行版对照
版本名及内核版本
更多可参考官方页面Debian 发行版本
版本号 | 版本名 | 内核版本 |
---|---|---|
7.x | Wheezy | 3.2.x |
8.x | Jessie | 3.16.x |
9.x | Stretch | 4.9.x |
10.x | Buster | 4.19.x |
11.x | Bullseye | 5.10.x |
12.x | Bookworm | 6.1.x |
13.x | Trixie | 待定 |
查看系统版本
有以下多种方式查看当前系统版本信息:
~ cat /etc/debian_version
12.5
~ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
~ cat /proc/version
Linux version 6.1.0-18-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01)
~ uname -a
Linux h1501359791275118982 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux
~ lsb_release -a # 需要安装 lsb-release 包,apt install lsb-release
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
~ cat /etc/issue
Debian GNU/Linux 12 \n \l