解决-bash: lsb_release: command not found

System: CentOS 6.4
1. Check if there lsb_release
[the root Test @ ~] # lsb_release -R & lt
-bash: lsb_release: Command Not found

2. installed with yum LSB
[the root @ localhost ~] #yum the install RedHat -Y-LSB

. 3 verify lsb has been installed on
[the root @ localhost ~] # lsb_release -R & lt
Release: 6.4

 

I can see has been successfully installed on the lsb.

[root@localhost ~]# lsb_release -a
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.4 (Final)
Release: 6.4
Codename: Final

Guess you like

Origin www.cnblogs.com/qianjinyan/p/11278821.html