输入如下命令:

rpm -qa | grep 软件名

例如:

<pre>[root@localhost ~]# rpm -qa | grep mysql
mysql-libs-5.1.73-3.el6_5.x86_64
[root@localhost ~]# rpm -qa | grep squid
squid-3.1.10-20.el6_5.x86_64
[root@localhost ~]# rpm -qa | grep mysql^C
[root@localhost ~]# </pre>