# yum list installed\n<\/pre>\nThe output should be a long list of packages. This isn’t very usefully to us, unless we are preparing an internal documentation for reference purposes. So let’s go further and filter\u00a0out the results a bit. We wish to find out all of the PHP-related packages.<\/p>\n
#\u00a0yum list installed | grep php\n\nphp71w-cli.x86_64 7.1.0-1.w7 @webtatic\nphp71w-common.x86_64 7.1.0-1.w7 @webtatic\nphp71w-devel.x86_64 7.1.0-1.w7 @webtatic\nphp71w-fpm.x86_64 7.1.0-1.w7 @webtatic\nphp71w-gd.x86_64 7.1.0-1.w7 @webtatic\nphp71w-imap.x86_64 7.1.0-1.w7 @webtatic\nphp71w-mbstring.x86_64 7.1.0-1.w7 @webtatic\nphp71w-mcrypt.x86_64 7.1.0-1.w7 @webtatic\nphp71w-mysql.x86_64 7.1.0-1.w7 @webtatic\nphp71w-pdo.x86_64 7.1.0-1.w7 @webtatic\nphp71w-pear.noarch 1:1.10.1-1.w7 @webtatic\nphp71w-pecl-apcu.x86_64 5.1.7-1.w7 @webtatic\nphp71w-pecl-apcu-devel.x86_64 5.1.7-1.w7 @webtatic\nphp71w-pecl-mongodb.x86_64 1.2.1-1.w7 @webtatic\nphp71w-process.x86_64 7.1.0-1.w7 @webtatic\nphp71w-snmp.x86_64 7.1.0-1.w7 @webtatic\nphp71w-xml.x86_64 7.1.0-1.w7 @webtatic\n<\/pre>\nThis is much better, and it will allow us to see all of the php*<\/code> packages on our system. The output above is as follows. The first column is the package name. The second column is the package version and the third column is the repository from where the package has been installed.<\/p>\n<\/span>3. Install additional PHP modules<\/span><\/h2>\nNow let’s install some additional PHP modules.\u00a0We already know that our system uses php71<\/code>, so we will need to look for php71*<\/code> available modules.<\/p>\n# yum search php71\n\nmod_php71w.x86_64 : PHP module for the Apache HTTP Server\nphp71w-bcmath.x86_64 : A module for PHP applications for using the bcmath library\nphp71w-cli.x86_64 : Command-line interface for PHP\nphp71w-common.x86_64 : Common files for PHP\nphp71w-dba.x86_64 : A database abstraction layer module for PHP applications\nphp71w-devel.x86_64 : Files needed for building PHP extensions\nphp71w-embedded.x86_64 : PHP library for embedding in applications\nphp71w-enchant.x86_64 : Enchant spelling extension for PHP applications\nphp71w-fpm.x86_64 : PHP FastCGI Process Manager\nphp71w-gd.x86_64 : A module for PHP applications for using the gd graphics library\nphp71w-imap.x86_64 : A module for PHP applications that use IMAP\nphp71w-interbase.x86_64 : A module for PHP applications that use Interbase\/Firebird databases\nphp71w-intl.x86_64 : Internationalization extension for PHP applications\nphp71w-ldap.x86_64 : A module for PHP applications that use LDAP\nphp71w-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling\nphp71w-mcrypt.x86_64 : Standard PHP module provides mcrypt library support\nphp71w-mysql.x86_64 : A module for PHP applications that use MySQL databases\nphp71w-mysqlnd.x86_64 : A module for PHP applications that use MySQL databases\nphp71w-odbc.x86_64 : A module for PHP applications that use ODBC databases\nphp71w-opcache.x86_64 : An opcode cache Zend extension\nphp71w-pdo.x86_64 : A database access abstraction module for PHP applications\nphp71w-pdo_dblib.x86_64 : MSSQL database module for PHP\nphp71w-pear.noarch : PHP Extension and Application Repository framework\nphp71w-pecl-apcu.x86_64 : APCu - APC User Cache\nphp71w-pecl-apcu-devel.x86_64 : APCu developer files (header)\nphp71w-pecl-igbinary.x86_64 : Replacement for the standard PHP serializer\nphp71w-pecl-igbinary-devel.x86_64 : Igbinary developer files (header)\nphp71w-pecl-mongodb.x86_64 : PECL package MongoDB driver\nphp71w-pecl-redis.x86_64 : Extension for communicating with the Redis key-value store\nphp71w-pecl-xdebug.x86_64 : PECL package for debugging PHP scripts\nphp71w-pgsql.x86_64 : A PostgreSQL database module for PHP\nphp71w-phpdbg.x86_64 : Interactive PHP debugger\nphp71w-process.x86_64 : Modules for PHP script using system process interfaces\nphp71w-pspell.x86_64 : A module for PHP applications for using pspell interfaces\nphp71w-recode.x86_64 : A module for PHP applications for using the recode library\nphp71w-snmp.x86_64 : A module for PHP applications that query SNMP-managed devices\nphp71w-soap.x86_64 : A module for PHP applications that use the SOAP protocol\nphp71w-tidy.x86_64 : Standard PHP module provides tidy library support\nphp71w-xml.x86_64 : A module for PHP applications which use XML\nphp71w-xmlrpc.x86_64 : A module for PHP applications which use the XML-RPC protocol\n<\/pre>\nNow let’s find out how can we retrieve\u00a0some package information. This implies to both installed and not yet installed packages.<\/p>\n