Sunday, March 6, 2011

Yum Install Perl Modules

An example of Perl Module Date::Format
yum provides "perl(Date::Format)"   returned:

perl-TimeDate.noarch : A Perl module for time and date manipulation

Then 'yum list perl-TimeDate.noarch'  returned:

Available Packages
perl-TimeDate.noarch                     1:1.16-5.el5           base
yum install perl-TimeDate.noarch 
Another example 
yum provides "perl(Config::IniFiles)" 

 returned:

perl-Config-IniFiles-2.39-1.2.el5.rf.noarch : Module for reading .ini-style configuration files
Repo        : rpmforge
Matched from:
Other       : perl(Config::IniFiles)



perl-Config-IniFiles-2.47-1.el5.rf.noarch : Module for reading .ini-style configuration files
Repo        : rpmforge
Matched from:
Other       : perl(Config::IniFiles)



perl-Config-IniFiles-2.47-2.el5.rf.noarch : Module for reading .ini-style configuration files
Repo        : rpmforge
Matched from:
Other       : perl(Config::IniFiles)



perl-Config-IniFiles-2.52-1.el5.rf.noarch : Module for reading .ini-style configuration files
Repo        : rpmforge
Matched from:
Other       : perl(Config::IniFiles)



perl-Config-IniFiles-2.56-1.el5.rf.noarch : Module for reading .ini-style configuration files
Repo        : rpmforge
Matched from:
Other       : perl(Config::IniFiles)



perl-Config-IniFiles-2.56-1.el5.rf.noarch : Module for reading .ini-style configuration files
Repo        : installed
Matched from:
Other       : Provides-match: perl(Config::IniFiles)



Yum install perl-Config-IniFiles-2.56-1.el5.rf.noarc
As easy as that!


No comments:

Post a Comment