查询linux系统版本提示bash:lsb_release:command not found错误解决
2016-12-05 00:00
966 查看
查询linux系统版本提示bash:lsb_release:command not found错误解决
查询linux系统版本的时候提示错误,发现lsb_release这个没装,没办法,装一下吧。这里,分享一下查询linux系统版本提示bash:lsb_release:command not found错误解决办法,也就是安装lsb_release:1.先检查有没有lsb_release
[root@test ~]# lsb_release -r
-bash: lsb_release: command not found
2.使用yum安装lsb
yum install -y redhat-lsb
3.验证lsb是否已经安装上了
[root@unfvo ~]# 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.5 (Final) Release: 6.5 Codename: Final [root@unfvo ~]#
这里不再提示错误,即说明已安装成功
相关文章推荐
- linux系统中shell中执行命令是报:bash: ifconfig: command not found错误的解决办法
- Linux:-bash: ***: command not found,系统很多命令都用不了,均提示没有此命令
- Linux 出现-bash: grunt: command not found 错误解决
- 在linux中执行wget命令提示 -bash: wget: command not found 解决方法
- 解决-bash: lsb_release: command not found
- 解决Linux调试中提示信息:bash: groupadd: command not found
- 解决找不到ifconfig命令,更改路径并重启系统后进入命令行界面以及各个命令无法执行Linux:-bash: ***: command not found
- 【Linux】Linux下输入ifconfig提示bash: ifconfig: command not found解决办法
- 解决Linux系统安装后,root用户无法登录,提示“无法验证用户”的错误问题
- 解决Linux系统安装后,root用户无法登录,提示“无法验证用户”的错误问题
- linux下提示bash:command not found
- 孙其功陪你学之--解决QT Creator交叉编译提示make:arm-linux-g++:Command not found 命令找不到
- 解决在ubuntu上Qt creator提示unicore32-linux-g++:Command not found
- 列出Linux系统版本信息的命令 lsb_release
- linux下提示bash:command not found
- lsb_release: command not found 解决
- bash: vim: command not found错误解决方法
- 遇到Your version is: /bin/bash: java: command not found.错误的解决
- linux下使用shutdown命令关机,提示: -bash:shutdown:command not found
- bash: service: command not found(service命令未找到的) 错误的解决方法