使用rpm -qi gcc命令来获取gcc包的版本,安装日期等信息

来源:互联网 发布:网络情歌2015 编辑:程序博客网 时间:2024/06/06 09:32
[root@node2 ~]# rpm -qi gcc     Name        : gccVersion     : 4.8.5     ----->版本Release     : 11.el7 Architecture: x86_64    ----->架构Install Date: Wed Nov 23 17:16:49 2016 ----->安装日期Group       : Development/LanguagesSize        : 39214799License     : GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSDSignature   : RSA/SHA256, Fri Nov  4 06:57:12 2016, Key ID 72f97b74ec551f03Source RPM  : gcc-4.8.5-11.el7.src.rpmBuild Date  : Fri Nov  4 06:50:42 2016Build Host  : x86-ol7-builder-02.us.oracle.comRelocations : (not relocatable)Vendor      : Oracle America --------->>提供商URL         : http://gcc.gnu.orgSummary     : Various compilers (C, C++, Objective-C, Java, ...)Description : --------->描述The gcc package contains the GNU Compiler Collection version 4.8.You'll need this package in order to compile C code.[root@node2 ~]# 


参考链接:http://man.linuxde.net/rpm

0 0