Wednesday, September 7, 2011

Perl module installation.


Please follow the below steps to install the Perl module,

Login to server and enter the following commands,

#perl -MCPAN -e shell

>cpan

then provide below command

>install LWP::UserAgent

#perl -MCPAN -e shell

>cpan

then provide below command

>install HTML::LinkExtor

Commands to check the whether Perl module is installed in the server or not.

instmodsh or perl -MNet::Ping -e "print \"Module installed.\\n\";"

Mostly "instmodsh" this command is easy to check the whether Perl module.

perl -MNet::Ping -e "print \"Module installed.\\n\";"

instmodsh or perl -MNet::Ping -e "print \"Module installed.\\n\";"

Below commands are also used to install Perl modules.

 yum install perl-HTML-Parser.x86_64
 yum search perl-HTML-Parser.x86_64
 yum search perl-HTML-Parser
 yum search perl-LWP-UserAgent
 yum install perl-LWP-UserAgent

No comments:

Post a Comment