Search for Perl modules with yum

I was about to install OTRS on a CentOS6 and for this I have to install several Perl modules. It’s always annoying to find the right packages for this, so I asked Google and found this pretty possibility to search for Perl modules directly in yum.

For example:

yum provides "perl(XML::Parser)"

The output would be:

Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
 * base: mirror.its.sfu.ca
 * epel: linux.mirrors.es.net
 * extras: mirror.its.sfu.ca
 * rpmforge: fr2.rpmfind.net
 * updates: mirror.its.sfu.ca
perl-XML-Parser-2.36-7.el6.i686 : Perl module for parsing XML files
Repo        : base
Matched from:
Other       : perl(XML::Parser)

Really nice!

Leave a Reply

Your email address will not be published. Required fields are marked *