How to use downloaded Net::SSH2 module in Perl?

673 views Asked by At

I have downloaded Net-SSH2-0.43 to be able to use Net::SSH2 Perl module. But I don't know what I need to do after that, just include paths or something else. Please help.

1

There are 1 answers

0
user1126070 On

you could use perlbrew to install Perl in your home or in any directories wo. root rights: http://perlbrew.pl/

wget -O - http://install.perlbrew.pl | bash

perlbrew install perl-5.16.0
perlbrew switch perl-5.16.0

you could call your perl from shell (scripts) like this: http://perlbrew.pl/Perlbrew-In-Shell-Scripts.html

If your servers are identical enough then you could rsync/rdist this directory to every host and you are done.