标签:and font 解决方案 dha not found hvm jsb man redhat
昨天安装了CentOS7,在使用 lsb_release -a命令查询linux系统版本的时候,发现lsb_release这个没装,提示错误是:
[root@localhost Desktop]# lsb_release -a
bash: lsb_release: command not found...
这里,分享一下查询linux系统版本提示bash:lsb_release:command not found错误解决办法.
[root@localhost Desktop]# lsb_release -a
bash: lsb_release: command not found...
这就说明没有安装。
使用yum安装lsb,具体命令如下:
[root@localhost Desktop]# yum install -y redhat-lsb
然后进如自动安装阶段,直到安装命令自动运行完毕。如下图所示:
执行命令,发现可以查看系统版本。
[root@localhost Desktop]# 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.2.1511 (Core)
Release: 7.2.1511
Codename: Core
CentOS 7 命令lsb_release: command not found解决方案
标签:and font 解决方案 dha not found hvm jsb man redhat
原文地址:https://www.cnblogs.com/SDYiHeng/p/9655306.html