码迷,mamicode.com
首页 > 其他好文 > 详细

安装lsb_release

时间:2018-09-16 16:15:44      阅读:174      评论:0      收藏:0      [点我收藏+]

标签:rip   ges   查看系统   veh   yum   term   自动安装   https   family   

lsb_release

使用yum安装lsb,具体命令如下:

[root@localhost Desktop]# yum install -y redhat-lsb


然后进如自动安装阶段,直到安装命令自动运行完毕。如下图所示:

技术分享图片

3.验证lsb是否已经安装

执行命令,发现可以查看系统版本。

[root@localhost Desktop]# 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.2.1511 (Core) 

Release: 7.2.1511

Codename: Core

安装lsb_release

标签:rip   ges   查看系统   veh   yum   term   自动安装   https   family   

原文地址:https://www.cnblogs.com/SDYiHeng/p/9655285.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!