CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Advanced: Re: [forumrhb] How to install Net::SSH perl module: Edit Log


Jul 28, 2013, 1:39 PM

Views: 19827
Re: [forumrhb] How to install Net::SSH perl module

You probably don't have Net::SSH::Perl installed on your system. Since the module you used could not be found in the standard directory of Perl. I used the word 'probably' because you may have the module installed in another directory, and as such you need to specify such either on the CLI using "-I path_to_the_directory" or

 use lib 'path_to_the_directory';

in your script.
However, if this module is not installed on your system then you could do like so: From your CLI

perl -MCPAN -eshell 

cpan> install Net::SSH::Perl

Checking the module on I see that it has a lot of dependencies, so it might not be very funny using the above method to install.
So, if you have CPANMINUS installed on your system, then you could then just do: From the command line interface

cpanm Net::SSH::Perl

Then you can go to sleep Wink because every thing just works fine.
For cpanminus that takes all the pain away see

(This post was edited by 2teez on Jul 28, 2013, 1:41 PM)

Edit Log:
Post edited by 2teez (Novice) on Jul 28, 2013, 1:40 PM
Post edited by 2teez (Novice) on Jul 28, 2013, 1:41 PM

Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives