【树莓派4】操作系统版本确认
环境
(更新内容将在后续添加)
CLI连接方式
参考:使用Tera Term进行CLI连接(计划添加附加内容)
参考:使用命令提示符进行SSH连接(计划添加附加内容)
硬件信息确认的方法
查看模型
admin@TKY-RP001:~ $ cat /proc/device-tree/model
Raspberry Pi 4 Model B Rev 1.4 admin@TKY-RP001:~ $
admin@TKY-RP001:~ $
这个问题可能是一个bug,也可能是该软件的特性,导致提示信息没有换行显示。
查看CPU信息
admin@TKY-RP001:~ $ cat /proc/cpuinfo
processor : 0
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 1
(中略)
processor : 2
(中略)
processor : 3
(中略)
Hardware : BCM2835
Revision : d03114
Serial : 100000008a57c336
Model : Raspberry Pi 4 Model B Rev 1.4
admin@TKY-RP001:~ $
检查操作系统版本的方法
使用debian_version
admin@TKY-RP001:~ $ cat /etc/debian_version
11.3
admin@TKY-RP001:
使用问题
sit-admin@TKY-RP001:~ $ cat /etc/issue
Debian GNU/Linux 11 \n \l
admin@TKY-RP001:
使用lsb_release
admin@TKY-RP001:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
admin@TKY-RP001:~ $
若要使用”lsb-release”,需要安装该软件包。
如果尚未安装,请使用以下命令进行安装。
admin@TKY-RP001:~ $ sudo apt-get install lsb-release
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
lsb-release is already the newest version (11.1.0).
lsb-release set to manually installed.
The following package was automatically installed and is no longer required:
libfuse2
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
admin@TKY-RP001:
确认内核版本的方法
使用 uname
admin@TKY-RP001:~ $ uname -a
Linux TKY-RP001 5.15.32-v8+ #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022 aarch64 GNU/Linux
admin@TKY-RP001:~ $
使用hostnamectl
admin@TKY-RP001:~ $ hostnamectl
Static hostname: TKY-RP001
Icon name: computer
Machine ID: a467b64477be4c6cbc88916ec1a206a4
Boot ID: 117f2b2f45d2445bb5ed65358ef347fc
Operating System: Debian GNU/Linux 11 (bullseye)
Kernel: Linux 5.15.32-v8+
Architecture: arm64
admin@TKY-RP001:~ $