lsb_release: command not found 解决

Posted weifeng1463

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了lsb_release: command not found 解决相关的知识,希望对你有一定的参考价值。

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

[[email protected] ~]# lsb_release -a
-bash: lsb_release: command not found

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

[[email protected]]:~# 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 解决的主要内容,如果未能解决你的问题,请参考以下文章

CentOS 7 命令lsb_release: command not found解决方案

lsb_release: command not found 解决

Command 'lsb_release -a' returned non-zero exit status 1.

ubuntu 安装python3.7 以及安装pip3 出现Command '('lsb_release', '-a')' returned non-z

-bash: yarn: command not found/-bash: cnpm: command not found

libtoolize: command not found