LSB是Linux Standard Base(Linux标准库)的缩写, lsb_release命令 用来与具体Linux发行版相关的Linux标准库信息。
注:LSB的译法有Linux标准库,Linux标准规范
CentOS最小化安装时默认没有这个命令,需要安装lsb_release使用命令
Ubuntu, Debian
sudo apt-get update && sudo apt-get install lsb-core
CentOS
sudo yum update && sudo yum install redhat-lsb-core
Fedora
sudo dnf update && sudo dnf install redhat-lsb-core
OpenSUSE
sudo zypper update && sudo zypper install lsb-core
Arch
pacman -Syu lsb-release
标签:core,lsb,sudo,install,Linux,release
From: https://www.cnblogs.com/paylove/p/18202220