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
时间: 2024-10-12 05:31:41