1. 程式人生 > >lsb_release: command not found 解決

lsb_release: command not found 解決

not amd 版本信息 pre style int node yum entos

問題:lsb_release 是查看系統版本信息的工具

[root@localhost ~]# lsb_release -a
-bash: lsb_release: command not found

解決方法:yum install redhat-lsb -y

[root@compass-user-hd-node6]:~# 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: CentOS Description: CentOS Linux release 7.3.1611 (Core) Release: 7.3.1611 Codename: Core

lsb_release: command not found 解決