473,396 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 6512
numberwhun
3,509 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,509 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

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

Similar topics

0
by: Vitaliy | last post by:
I've installed perl 5.8.0 on my FreeBSD 4.8. The installation ran smoothly and without any problems. After I've tried to upgrade CPAN from shell (cpan> install Bundle::CPAN) as it was suggested...
0
by: Art Werschulz | last post by:
Hi. I am running MacOS X 10.3.1 (Panther) on a G4 iMac. I am installing some Perl modules using the CPAN shell, i.e., I issue the command # perl -MCPAN -e shell and then type commands to the...
3
by: gusmeister | last post by:
Is there a command that allows me to list all the installed Perl modules on my machine?
2
by: Hugh Lutley | last post by:
I'm having some problems with installing modules with the MCPAN shell. When I first ran it I let it auto configure and now I cannot install anything. Is there a way I can force it to run the...
4
by: Firewalker | last post by:
Hey guys, I am newbie to perl. I am trying to deal with dates ( such trying to find what the date would be after month). Is therea function or date class( I am a java programmer, I couldnt find...
0
by: Fred | last post by:
I need to install perl modules on some new servers that use an FTP proxy server. To manually FTP to a remote host, you need to use your active directory (ntid) in conjunction with the remote...
1
by: Angus Comber | last post by:
I have set a password for the mysql root user so when I do this: shell> perl -MCPAN -e shell cpan> install DBI cpan> install DBD::mysql install DBD::mysql fails Is there a way I can run...
3
by: Shiraz | last post by:
Updated to the latest version of DBD-mysql using perl -MCPAN -e "install DBD-mysql" and now the calling mysql function r2() within perl work > $SQL_Text = "select r2() from dual " ; >...
7
numberwhun
by: numberwhun | last post by:
**NOTE: This article is written using the 5.8.8 Alpha2 release of Strawberry Perl. I am writing this article with much joy and glee. This is due to the fact that Active State no longer has a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.