rpm -qi 软件名
例如:# rpm -qi httpd
Name : httpd
Version : 2.4.6
Release : 45.el7.centos
Architecture: x86_64
Install Date: Thu 12 Jan 2017 10:46:12 AM CST
Group : System Environment/Daemons
Size : 9807149
License : ASL 2.0
Signature : RSA/SHA256, Mon 21 Nov 2016 02:14:03 AM CST, Key ID 24c6a8a7f4a80eb5
Source RPM : httpd-2.4.6-45.el7.centos.src.rpm
Build Date : Tue 15 Nov 2016 02:06:40 AM CST
Build Host : c1bm.rdu2.centos.org
Relocations : (not relocatable)
Packager : CentOS BuildSystem
Vendor : CentOS
URL : http://httpd.apache.org/
Summary : Apache HTTP Server
Description :
The Apache HTTP Server is a powerful, efficient, and extensible
web server.