lsb_release:command-not-found

来源:Linux 教程 / 时间:2026-09-30

lsb_release:command not found
#lsb_release -a
bash:lsb_release:command not found…
代表Linux操作系统没有安装LSB

LSB
是
Linux Standard Base(Linux标准库)
缩写

lsb_release
用来查询与具体Linux发行版相关的Linux标准库信息

网络上常把LSB翻译成两种方式
其一:Linux标准库
其二:Linux标准规范

CentOS 最小化安装
默认没有这个命令
需要安装 lsb_release 使用命令


Ubuntu,Debian
sodu apt-get update && sudo apt-get install lsb_release

CentOS
sudo yum update && sudo yum install redhat-lsb-core

Fedora
sudo dnf update && sudo dnf install redhat-lsb-core

OpenSUSE
sudo zypper udpate && sudo zypper install lsb_core

Arch
pacman -Syu lsb_release

标签: linux Linux 手册

上一篇: Mount SMBFS

下一篇: macbook brew

客服