Rocky Linux 8にバージョンを確認する方法

2021年12月17日

方法1
# cat /etc/redhat-release
Rocky Linux release 8.5 (Green Obsidian)

方法2
# cat /etc/rocky-release
Rocky Linux release 8.5 (Green Obsidian)

方法3

# sudo dnf install redhat-lsb
# lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: Rocky
Description:    Rocky Linux release 8.5 (Green Obsidian)
Release:        8.5
Codename:       GreenObsidian

 

Rocky Linux 8

Posted by arkgame