Archive

Posts Tagged ‘net sftp’

Install perl Net::SFTP module in linux

June 20th, 2008

When installing perl Net::SFTP module in CentOS 5 box:

# perl -MCPAN -e 'install Net::SSH::Perl'

It got stuck at:

t/01-compile.t…..ok
t/02-buffer.t……ok
t/03-packet.t……1/10

then I tried installation with force so that it can skip tests if any of them failed:

# perl -MCPAN -e 'force install Net::SSH::Perl'

The module seems installed ok but while using in a script, error occured:
Can’t locate Net/SSH/Perl/Buffer.pm in @INC …

that means, the module still not installed/configured properly. To get it done, I searched for rpms and found rpmforge repository http://dag.wieers.com/rpm/packages/rpmforge-release/ have all the sufficient rpms:

# rpm -ivh /usr/src/rpmforge-release-0.3.4-1.el4.rf.i386.rpm
# yum install perl-Net-SSH-Perl --enablerepo=rpmforge

and its done.

General , ,

Get Adobe Flash playerPlugin by wpburn.com wordpress themes