本文主要是介绍如何解决centos报错lsb_release: command not found?,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
lsb_release 是查看系统版本信息的工具,在使用的时候突然出现报错lsb_release: command not found?
[root@localhost ~]# lsb_release -a
-bash: lsb_release: command not found
解决方法: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
这篇关于如何解决centos报错lsb_release: command not found?的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!