[CentOS] Perl Libraries

Rob Kampen rkampen at kampensonline.com
Sat Feb 11 01:52:07 UTC 2012


On 02/11/2012 09:04 AM, Les Mikesell wrote:
> On Fri, Feb 10, 2012 at 11:09 AM, Matt<matt.mailinglists at gmail.com>  wrote:
>
>> 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 Net::OpenSSH really the same thing as this expects?
>
>
>
>> 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.
>>
> Generally you shouldn't have yum/rpm conflicts unless you have installed
> packages from more than one 3rd party repository. If you mix them you
> probably will.    Installing from CPAN won't satisfy rpm dependencies for
> other packages and may overwrite things the packages installed.
>
> But, is the real reason you want this package so it will supply a password
> to ssh?   If so, a better approach is to set up ssh keys so you don't need
> the password in the first place.
>
I am trying to install some perl libs and find the ones from CentOS 
mirrors are correctly loading the x86_64 versions, but the rpmforge ones 
are only i386 or i686 ones - any reason why??



More information about the CentOS mailing list