centos下使用lsb_release
2017-09-05 本文已影响439人
jiaxiaolei
centos下很多安装包名和使用时的命令名不一致。比如lsb_release
。
Yes
$ yum install redhat-lsb -y
NO
$ yum install lsb_release -y
$ 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.3.1611 (Core)
Release: 7.3.1611
Codename: Core
扩展阅读:
lsb_release: command not found 解决
http://blog.csdn.net/gg296231363/article/details/6906025