By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,838 Members | 1,434 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,838 IT Pros & Developers. It's quick & easy.

how to use perl -MCPAN -e'install Net::SFTP'

P: 36
hello,
I am trying to install this package from cpan using perl -MCPAN -e'install Net::SFTP' this command.
but i am unable to instlal this package.


I guess to use this comman on command probmp we need to have some configurations we have to do.

please can any one tell me before using this command really what configurations are required.


shafi
Feb 8 '08 #1
Share this Question
Share on Google+
7 Replies


numberwhun
Expert Mod 2.5K+
P: 3,503
hello,
I am trying to install this package from cpan using perl -MCPAN -e'install Net::SFTP' this command.
but i am unable to instlal this package.


I guess to use this comman on command probmp we need to have some configurations we have to do.

please can any one tell me before using this command really what configurations are required.


shafi
First, what OS are you using Perl on? Second, have you run the CPAN shell before this? If not, then you might need to just run "perl -MCPAN -e shell" and go through the initial configuration. What options you choose will depend on your system and what you are doing. You should read everything on the screen and if you don't know what something is, then just take the default. There is one question where it asks you if you want to ask, follow or something else. I would choose "follow" to make your life easier. That will install dependencies for the modules you are installing, automatically.

Regards,

Jeff
Feb 8 '08 #2

P: 36
I am trying to install this package on windows plat form.
please can any one tell what commands we should used to install this packages.

what configurations we have to do.

when i use ppm install package name i am getting following error.

[IMG]D:\ccp\ppm error.bmp[/IMG]


please tell me how to configure this


i am getting failed 500 connt connect to active.... 80 some error i am getting.
Feb 8 '08 #3

numberwhun
Expert Mod 2.5K+
P: 3,503
I am trying to install this package on windows plat form.
please can any one tell what commands we should used to install this packages.

what configurations we have to do.

when i use ppm install package name i am getting following error.

[IMG]D:\ccp\ppm error.bmp[/IMG]


please tell me how to configure this


i am getting failed 500 connt connect to active.... 80 some error i am getting.
Ok, so you are on Windows using the Active State version of Perl. It would be easier for you if you ran the PPM gui from the start menu. You search for the module you want to install and install it. Its pretty easy and no configuration really needed from what I remember. I haven't used it on the command line so I cannot help you there.

Regards,

Jeff
Feb 8 '08 #4

KevinADC
Expert 2.5K+
P: 4,059
I am trying to install this package on windows plat form.
please can any one tell what commands we should used to install this packages.

what configurations we have to do.

when i use ppm install package name i am getting following error.

[IMG]D:\ccp\ppm error.bmp[/IMG]


please tell me how to configure this


i am getting failed 500 connt connect to active.... 80 some error i am getting.
You may need to turn off any firwall software running or try and add ppm to the list of programs that can access the internet.
Feb 8 '08 #5

P: 36
Now i have executed ppm on run one windows apperard. But it is not showing any package names so that i can install that package one my system. It is required to do any invironemt variables to be configured or what.

Because i am exectuing this comman on my windows xp operating sytem.

shafi

Ok, so you are on Windows using the Active State version of Perl. It would be easier for you if you ran the PPM gui from the start menu. You search for the module you want to install and install it. Its pretty easy and no configuration really needed from what I remember. I haven't used it on the command line so I cannot help you there.

Regards,

Jeff
Feb 11 '08 #6

nithinpes
Expert 100+
P: 410
Now i have executed ppm on run one windows apperard. But it is not showing any package names so that i can install that package one my system. It is required to do any environemt variables to be configured or what.

Because i am exectuing this comman on my windows xp operating sytem.

shafi
If you are using this in your office/if there is any proxy settings, add the following three environment variables under system variables:

name: http_proxy
value: your proxy server(e.g http://internet:8085)

name: http_proxy_user
value: your username(Windows login)

name: http_proxy_pass
value: user password
Feb 11 '08 #7

KevinADC
Expert 2.5K+
P: 4,059
try:

c:\>ppm help
Feb 11 '08 #8

Post your reply

Sign in to post your reply or Sign up for a free account.