{{description>Рассматриваются способы определения версии ОС и ядра }}
====== Определение версии ОС и ядра ======
[[ http://wiki.mihanik.net/doku.php?id=операционные_системы:linux:astra_linux:astra_linux_1.8:определение_версии_ос_и_ядра&do=export_pdf | Экспорт в PDF ]] ~~ODT~~
Дата создания: 2025/07/14 03:15 (C) mihanik
===== Название и версия дистрибутива =====
==== Способ 1 ====
cat /etc/astra_version
root@my-astra:~# cat /etc/astra_version
1.8.1
==== Способ 2 ====
lsb_release -a
root@my-astra:~# lsb_release -a
No LSB modules are available.
Distributor ID: Astra
Description: Astra Linux
Release: 1.8_x86-64
Codename: 1.8_x86-64
==== Способ 3 ====
cat /etc/os-release
root@my-astra:~# cat /etc/os-release
PRETTY_NAME="Astra Linux"
NAME="Astra Linux"
ID=astra
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="https://astralinux.ru"
SUPPORT_URL="https://astralinux.ru/support"
LOGO=astra
VERSION_ID=1.8_x86-64
VERSION_CODENAME=1.8_x86-64
==== Способ 4 ====
hostnamectl status
root@my-astra:~# hostnamectl status
Static hostname: my-astra
Icon name: computer-vm
Chassis: vm 🖴
Machine ID: ca6387bea25a43898e2091f301a79005
Boot ID: 96ea862e88234d80ba6b3adf3a9331b5
Virtualization: kvm
Operating System: Astra Linux
Kernel: Linux 6.1.90-1-generic
Architecture: x86-64
Hardware Vendor: QEMU
Hardware Model: Standard PC _Q35 + ICH9, 2009_
Firmware Version: edk2-20241117-5.fc41
===== Версия ядра =====
==== Способ 1 ====
uname -r
root@my-astra:~# uname -r
6.1.90-1-generic
==== Способ 2. ====
hostnamectl status
root@my-astra:~# hostnamectl status
Static hostname: my-astra
Icon name: computer-vm
Chassis: vm 🖴
Machine ID: ca6387bea25a43898e2091f301a79005
Boot ID: 96ea862e88234d80ba6b3adf3a9331b5
Virtualization: kvm
Operating System: Astra Linux
Kernel: Linux 6.1.90-1-generic
Architecture: x86-64
Hardware Vendor: QEMU
Hardware Model: Standard PC _Q35 + ICH9, 2009_
Firmware Version: edk2-20241117-5.fc41
===== Версия основной системной библиотеки =====
/lib/x86_64-linux-gnu/libc.so.6
root@my-astra:~# /lib/x86_64-linux-gnu/libc.so.6
GNU C Library (Debian GLIBC 2.36-9+deb12u7+ci202405171200+astra5+b1) stable release version 2.36.
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 12.2.0.
libc ABIs: UNIQUE IFUNC ABSOLUTE
Minimum supported kernel: 3.2.0
For bug reporting instructions, please see:
.
[[#top|⇑ Наверх ⇑]]