[CentOS] Perl Libraries

Matt

matt.mailinglists at gmail.com
Fri Feb 10 17:09:28 UTC 2012


Having troubles with perl libraries.  Does everyone use yum to install
perl modules on CentOS 5.x?  I have installed the rpmforge repository.
 I am having terrible luck with installing libraries though.  Needed
Mechanize for one script but had all sorts of conflicts.  Ended up
installing mechanize manually from rpm and adding it to yum exclude.
Right now I am trying to get Net::SSH::Perl installed and run this
script:

http://www.perlhowto.com/execute_commands_on_remote_machines_using_ssh

Would think it would be as simple as 'yum install perl-Net-OpenSSH'
but it does not work.  It installs but perl complains when using it.

Is it better to use CPAN instead of yum?  For those doing a good deal
of perl scripting what are you using to manage libraries?  Any
pointers would be great.



More information about the CentOS mailing list