码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2016-03-12 21:18:18      阅读:163      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!