首页 > 其他 > 详细

解决-bash: lsb_release: command not found

时间:2019-07-31 20:45:46      阅读:84      评论:0      收藏:0      [点我收藏+]

系统:centos 6.4
1.先检查有没有lsb_release
[root@test ~]# lsb_release -r
-bash: lsb_release: command not found

2.使用yum安装lsb
[root@localhost ~]#yum install -y redhat-lsb

3.验证lsb是否已经安装上了
[root@localhost ~]# lsb_release -r
Release: 6.4

 

可以看到已经成功安装上了lsb了.

[root@localhost ~]# lsb_release -a
LSB Version: :base-4.0-amd64:base-4.0-noarch: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.4 (Final)
Release: 6.4
Codename: Final

解决-bash: lsb_release: command not found

原文:https://www.cnblogs.com/qianjinyan/p/11278821.html

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