Re: Perl Libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Feb 10, 2012 at 11:09 AM, Matt <matt.mailinglists@xxxxxxxxx> 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.

-- 
    Les Mikesell
      lesmikesell@xxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux