Rate This Document
Findability
Accuracy
Completeness
Readability

Querying the OS Version Information

Run the uname -r command to query the CPU hardware architecture. The tool supports only x86 servers or servers powered by Kunpeng 916 or 920 processors.

Query the OS version information.

  • If you do not know the OS type, try the following commands one by one to check the OS version.

    According to Table 1, the following four commands are used to query the OSs compatible with the tool.

    • cat /etc/os-release
    • cat /etc/issue
    • cat /etc/redhat-release
    • nkvers
  • If you know the OS type, find the corresponding command in Table 1, and then run the command to query the OS version.
Table 1 Querying the OS version information

Compatible OS

Version Query Command

Full Name of the OS

BC-Linux 7.6/7.7

cat /etc/os-release

BC-Linux 7.6: BigCloud Enterprise Linux 7.6 (Core)

BC-Linux 7.7: BigCloud Enterprise Linux 7.7 (AltArch)

CentOS 7.4/7.5/7.6/7.7/8.0/8.1/8.2

cat /etc/redhat-release

CentOS 7.4: CentOS Linux release 7.4.1708 (AltArch)

CentOS 7.5: CentOS Linux release 7.5.1804 (AltArch)

CentOS 7.6: CentOS Linux release 7.6.1810 (AltArch)

CentOS 7.7: CentOS Linux release 7.7.1908 (AltArch)

CentOS 8.0: CentOS Linux release 8.0.1905 (Core)

CentOS 8.1: CentOS Linux release 8.1.1911 (Core)

CentOS 8.2: CentOS Linux release 8.2.2001 (Core)

Deepin V15.2

cat /etc/issue

Deepin GNU/Linux 15.2

Debian 10

cat /etc/os-release

Debian GNU/Linux 10 (buster)

EulerOS 2.8

cat /etc/redhat-release

EulerOS release 2.0 (SP8)

iSoft 5.1

cat /etc/os-release

iSoft Server OS V5.1 (AArch64)

Kylin V10 SP1/SP2

cat /etc/os-release

Kylin Linux Advanced Server V10 (Tercel)

LinxOS 6.0.90

cat /etc/os-release

Linx GNU/Linux 6.0.90 (stretch)

Neokylin V7U5/V7U6

nkvers

NeoKylin V7U5: NeoKylin Linux Advanced Server release V7Update5 (Vanadium)

NeoKylin V7U6: NeoKylin Linux Advanced Server release V7Update6 (Chromium)

openEuler 20.03/20.03 SP1/20.03 SP2/20.03 SP3/22.03

cat /etc/os-release

openEuler 20.03: openEuler release 20.03 (LTS)

openEuler 20.03 SP1: openEuler release 20.03 (LTS-SP1)

openEuler 20.03 SP2: openEuler release 20.03 (LTS-SP2)

openEuler 20.03 SP3: openEuler release 20.03 (LTS-SP3)

openEuler 22.03: openEuler release 22.03 (LTS)

SUSE SLES 15.1

cat /etc/os-release

SUSE Linux Enterprise Server 15 SP1

Ubuntu 18.04.x/20.04.x

cat /etc/issue

Ubuntu 18.04.x: Ubuntu 18.04.x LTS

Ubuntu 20.04.x: Ubuntu 20.04.x LTS

UOS 20 SP1

cat /etc/os-release

UOS 20 SP1

uosEuler 20

cat /etc/os-release

UOS Server Euler 20

UOS 20-1020e

cat /etc/os-release

UnionTech OS Server 20 uos 1020e