Introduction
On "Enterprise Linux" variants--CentOS, CloudLinux, AlmaLinux, and RockyLinux--you can utilize the 'yum' utility to manage RPM packages installed on the system. The 'search' sub-command will report information on packages available in your configured repositories.
Procedure
You can search for a package with the 'search' sub-command, replacing '$QUERY' with your query:
yum search $QUERY
For example, to search for the intl PHP extension:
yum search intl
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
* EA4: 184.94.196.93
* EA4-experimental: 184.94.196.93
* cpanel-addons-production-feed: 184.94.196.93
* cpanel-plugins: 184.94.196.93
* epel: dfw.mirror.rackspace.com
============================================================================================================================= N/S matched: intl ==============================================================================================================================
ea-php54-php-intl.x86_64 : Internationalization extension for PHP applications
ea-php55-php-intl.x86_64 : Internationalization extension for PHP applications
ea-php56-php-intl.x86_64 : Internationalization extension for PHP applications
ea-php70-php-intl.x86_64 : Internationalization extension for PHP applications
ea-php71-php-intl.x86_64 : Internationalization extension for PHP applications
ea-php72-php-intl.x86_64 : Internationalization extension for PHP applications
ea-php73-php-intl.x86_64 : Internationalization extension for PHP applications
ea-php74-php-intl.x86_64 : Internationalization extension for PHP applications
ea-php80-php-intl.x86_64 : Internationalization extension for PHP applications
ea-php81-php-intl.x86_64 : Internationalization extension for PHP applications
intltool.noarch : Utility for internationalizing various kinds of data files
mintlocale.noarch : Language selection tool
mintlocale-set-default-locale.noarch : Language selection tool
perl-libintl.x86_64 : Internationalization library for Perl, compatible with gettext
Name and summary matches only, use "search all" for everything.
Once you've located the package you need to install, use the 'install' sub-command to download and apply it to your system:
yum install ea-php81-php-intl
Comments
0 comments
Article is closed for comments.