lsb_release: command not found 解决方法(转)
Posted 沧海一滴
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了lsb_release: command not found 解决方法(转)相关的知识,希望对你有一定的参考价值。
问题:通过lsb_release -a 是查看linux系统版本时报错,具体的解决办法如下:
[[email protected] ~]# lsb_release -a
-bash: lsb_release: command not found
解决方法:yum install redhat-lsb -y
安装完之后再查看版本信息:
[[email protected] 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 解决方法(转)的主要内容,如果未能解决你的问题,请参考以下文章
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