首页 > 其他 > 详细

lsb_release: command not found 解决方法(转)

时间:2016-03-12 21:16:21      阅读:229      评论:0      收藏:0      [点我收藏+]

问题:通过lsb_release -a 是查看linux系统版本时报错,具体的解决办法如下:

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


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

安装完之后再查看版本信息:

[root@localhost upload]# 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 release 6.3 (Final)
Release: 6.3
Codename: Final

http://blog.itblood.com/lsb_release-command-not-found-solution.html

 

LSB是Linux Standard Base的缩写,lsb_release命令用来显示LSB和特定版本的相关信息。

lsb_release: command not found 解决方法(转)

原文:http://www.cnblogs.com/softidea/p/5269952.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!