469,349 Members | 1,596 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,349 developers. It's quick & easy.

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

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
7 6265
numberwhun
3,503 Expert Mod 2GB
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
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
3,503 Expert Mod 2GB
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
4,059 Expert 2GB
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
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
410 Expert 256MB
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
4,059 Expert 2GB
try:

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

Post your reply

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

Similar topics

reply views Thread by Vitaliy | last post: by
reply views Thread by Art Werschulz | last post: by
3 posts views Thread by gusmeister | last post: by
2 posts views Thread by Hugh Lutley | last post: by
4 posts views Thread by Firewalker | last post: by
3 posts views Thread by Shiraz | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.