美文网首页
centos下使用lsb_release

centos下使用lsb_release

作者: jiaxiaolei | 来源:发表于2017-09-05 14:41 被阅读439次

    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

    相关文章

      网友评论

          本文标题:centos下使用lsb_release

          本文链接:https://www.haomeiwen.com/subject/rtiujxtx.html