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

各操作系统查软件信息(openssl)

时间:2015-08-19 18:02:58      阅读:153      评论:0      收藏:0      [点我收藏+]

标签:

redhat/centos/suse

    rpm -qa --qf %{N}\\t%{E}:%{V}-%{R}:%{installtime:day}:%{summary}\\n

    rpm -qa --qf %{N}\\t%{E}:%{V}-%{R}:%{installtime:day}:%{description}\\n

# rpm -qa | grep openssl
openssl-0.9.8e-26.el5_9.1

debian/ubuntu

    dpkg-query -W -f=‘${Status}\t${Package}\t${Architecture}\t${Version}\t${Description}\n‘

$ dpkg-query -W | grep openssl
openssl 1.0.1e-2+deb7u13

Aix

# lslpp -l | grep openssl
  openssl.base             0.9.8.410  COMMITTED  Open Secure Socket Layer
  openssl.license          0.9.8.410  COMMITTED  Open Secure Socket License
  openssl.man.en_US        0.9.8.410  COMMITTED  Open Secure Socket Layer
  openssl.base             0.9.8.410  COMMITTED  Open Secure Socket Layer

Solaris

# pkginfo -l | grep openssl
   PKGINST:  SUNWopenssl-commands
   PKGINST:  SUNWopenssl-include
   PKGINST:  SUNWopenssl-libraries
   PKGINST:  SUNWopenssl-man
   PKGINST:  SUNWopensslr

Hp-ux

#swlist -l fileset | grep openssl
# openssl                               A.00.09.08l.003 Secure Network Communications Protocol 
  openssl.OPENSSL-CER                   A.00.09.08l.003 OpenSSL Certs Files 
  openssl.OPENSSL-CONF                  A.00.09.08l.003 OpenSSL Configure File 
  openssl.OPENSSL-DOC                   A.00.09.08l.003 OpenSSL Document Files


各操作系统查软件信息(openssl)

标签:

原文地址:http://my.oschina.net/h2do/blog/494591

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