CentOS, openSuSE
rpm -qa | grep <program>
A <program> helyére a program nevét írja.
Példa a fenti parancs kimenetére:
-bash-3.2# rpm -qa | grep php
php-common-5.1.6-20.el5_2.1
php-cli-5.1.6-20.el5_2.1
php-pdo-5.1.6-20.el5_2.1
php-imap-5.1.6-20.el5_2.1
php-odbc-5.1.6-20.el5_2.1
php-ncurses-5.1.6-20.el5_2.1
php-devel-5.1.6-20.el5_2.1
php-pear-1.4.9-4.el5.1
php-xmlrpc-5.1.6-20.el5_2.1
php-snmp-5.1.6-20.el5_2.1
php-mbstring-5.1.6-20.el5_2.1
php-mcrypt-5.1.6-15.el5.centos.1
psa-php5-configurator-1.4.0-cos5.build86080722.00
php-5.1.6-20.el5_2.1
php-xml-5.1.6-20.el5_2.1
php-gd-5.1.6-20.el5_2.1
php-ldap-5.1.6-20.el5_2.1
php-mysql-5.1.6-20.el5_2.1
Debian, Ubuntu
dpkg -l | grep <program>
A <program> helyére a program nevét írja.
Példa a fenti parancs kimenetére:
-bash-3.2# dpkg -l | grep php
ii libapache2-mod-php5 5.2.0-8+etch13 server-side, HTML-embedded scripting language (
ii php5 5.2.0-8+etch13 server-side, HTML-embedded scripting language (
ii php5-cgi 5.2.0-8+etch13 server-side, HTML-embedded scripting language (
ii php5-cli 5.2.0-8+etch13 command-line interpreter for the php5 scripting
ii php5-common 5.2.0-8+etch13 Common files for packages built from the php5 s
ii php5-gd 5.2.0-8+etch13 GD module for php5
ii php5-imap 5.2.0-8+etch13 IMAP module for php5
ii php5-ldap 5.2.0-8+etch13 LDAP module for php5
ii php5-mhash 5.2.0-8+etch13 MHASH module for php5
ii php5-odbc 5.2.0-8+etch13 ODBC module for php5
ii php5-recode 5.2.0-8+etch13 recode module for php5
ii php5-snmp 5.2.0-8+etch13 SNMP module for php5
ii php5-sybase 5.2.0-8+etch13 Sybase / MS SQL Server module for php5