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

lsb_release: command not found 解决

时间:2018-07-27 19:30:37      阅读:143      评论:0      收藏:0      [点我收藏+]

标签:distrib   nod   系统   color   col   node   not found   host   版本   

问题:lsb_release 是查看系统版本信息的工具

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

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

[root@compass-user-hd-node6]:~# lsb_release  -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID:    CentOS
Description:    CentOS Linux release 7.3.1611 (Core) 
Release:    7.3.1611
Codename:    Core

 

lsb_release: command not found 解决

标签:distrib   nod   系统   color   col   node   not found   host   版本   

原文地址:https://www.cnblogs.com/weifeng1463/p/9379081.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!