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

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

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



2teez
Novice

Jul 28, 2013, 1:39 PM


Views: 12256
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

Code
 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

Code
perl -MCPAN -eshell 

cpan> install Net::SSH::Perl

Checking the module on https://metacpan.org/module/Net::SSH::Perl 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

Code
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 https://metacpan.org/module/App::cpanminus.


(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