Install perl Net::SFTP module in linux
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: