问题:lsb_release 是查看系统版本信息的工具
[root@localhost ~]# lsb_release -a
-bash: lsb_release: command not
found
原因:没有安装lsb
目前 Linux 的发行版非常繁多,为了促进 Linux 不同发行版间的兼容性,LSB(Linux Standards Base)开发了一系列标准,使各种软件可以很好地在兼容 LSB 标准的系统上运行,从而可以帮助软件供应商更好地在 Linux 系统上开发产品,或将已有的产品移植到 Linux 系统上。
解决方法:yum install redhat-lsb -y
[root@localhost ~]# lsb_release -a
LSB
Version:
: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 Linux release
6.0 (Final)
Release:
6.0
Codename:
Final
lsb_release: command not found 解决方法,布布扣,bubuko.com
lsb_release: command not found 解决方法
原文:http://www.cnblogs.com/liwenzhu/p/3671711.html