473,549 Members | 3,017 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

36 New Member
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 6520
numberwhun
3,509 Recognized Expert Moderator Specialist
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
mdshafi01
36 New Member
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 Recognized Expert Moderator Specialist
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 Recognized Expert Specialist
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
mdshafi01
36 New Member
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 Recognized Expert Contributor
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(Window s login)

name: http_proxy_pass
value: user password
Feb 11 '08 #7
KevinADC
4,059 Recognized Expert Specialist
try:

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

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

Similar topics

0
1567
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 I've stumbled upon Segmentation fault and core dump. Now, everytime I try to install something through the CPAN shell, I get the same error. I can't...
0
1506
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 cpan> prompt. When I have done this on a Linux box, the .cpan directory is placed in root's home directory /root, and the manified documentation...
3
12156
by: gusmeister | last post by:
Is there a command that allows me to list all the installed Perl modules on my machine?
2
18362
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 configure script again?? Thankx...
4
9038
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 the right word instead of class) to do the job? Thanks for any help.
0
7797
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 hosts user name and password like this: Username: remoteusername@ntid@remotehost Password: remotepassword@ntpassword
1
1972
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 install DBD::mysql and supply the password as a parameter - or get it to prompt me for it? Otherwise anyone know how I can remove the password temporarily...
3
4385
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 " ; > $sth=$dbh->prepare($SQL_Text); > $sth->execute(); > while ( ($tt) = $sth->fetchrow_array( ) ) { print $tt; } for reference here is the mysql...
7
55081
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 monopoly on the issue of Perl on the Windows platform As anyone who code's Perl on the Windows platform knows, the choice that you have (had) for Perl...
0
7487
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7998
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7517
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7844
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6098
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5401
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5126
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1978
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
800
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.