Results 1 to 4 of 4
-
07-25-2012, 01:26 PM #1Junior Guru Wannabe
- Join Date
- Dec 2011
- Posts
- 38
How to install Perl LWP, CGI and Fcntl modules
I have a cPanel server and i wanted to install Perl with LWP, CGI and Fcntl modules.
I gues CGI is already installed on the server, but is LWP and Fcntl already installed on cPanel server? if not, can someone tell me the ssh commands to install these modules.
I will appreciate.
Thanks.
-
07-25-2012, 01:39 PM #2Newbie
- Join Date
- Mar 2012
- Location
- Los Angeles, CA
- Posts
- 18
All those modules should be installed.
You can check with these one-liners:
shell> perl -MLWP -e 1
shell> perl -e "use LWP"
A missing module, would return something like:
shell> perl -e "use Date::EzDate"
Can't locate Date/EzDate.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
-
07-25-2012, 01:41 PM #3Newbie
- Join Date
- Mar 2012
- Location
- Los Angeles, CA
- Posts
- 18
Sorry forgot you were asking about how to install:
If you're shelled into the machine, you can do it two ways:
shell> sudo cpanm LWP
shell> perl -MCPAN -e shell
cpan> force install LWP
Hope this helps...
-
07-25-2012, 04:14 PM #4WHT Addict
- Join Date
- Feb 2002
- Posts
- 121
On Centos it would be better to use rpm:
Code:yum install perl-libwww-perl perl-File-FcntlLock.x86_64
█ supportex.net: Linux server management services
█ setup, optimization, monitoring
Similar Threads
-
Common Perl Modules, RPMs, Binaries, etc.. to install?
By LiquidBlueX in forum Hosting Security and TechnologyReplies: 2Last Post: 06-20-2005, 05:31 PM -
Perl modules (bulk install??)
By GaryPPC in forum Hosting Software and Control PanelsReplies: 1Last Post: 02-08-2003, 04:23 AM -
Host won't install requested perl modules
By mop in forum Web HostingReplies: 10Last Post: 01-16-2003, 12:46 PM -
where do u install perl modules
By stephenn in forum Hosting Security and TechnologyReplies: 5Last Post: 09-08-2002, 08:08 AM -
perl modules install problem
By mpkapadia in forum Hosting Security and TechnologyReplies: 7Last Post: 07-29-2001, 02:30 AM