Pages

Monday, August 13, 2012

Install PERL Module Digest::MD5

This Post tells us about to install Digest::MD5 module of perl,

Pre-Requirements,
 We need GCC to install the perl modules into linux, please refer GCC Install Guide link to install GCC.

Steps:

  • Download Digest-MD5-2.52.tar.gz from the CPAN,
  • Uncompress the file into a Directory,
  • Change directory to Digest-MD5-2.52
    • [root@castle-hat Digest-MD5-2.52]# cd Digest-MD5-2.52
  • Run the Makefile with perl compiler,
    • [root@castle-hat Digest-MD5-2.52]# perl Makefile.PL
  • Run make -- may ignore some warnings,
    • [root@castle-hat Digest-MD5-2.52]# make
  • Run Make test, look for All tests successful.& Result : PASS
    • [root@castle-hat Digest-MD5-2.52]# make test
  • Run Make Install
    • [root@castle-hat Digest-MD5-2.52]# make install
  • To check whether the module properly installed / not, (if prompt comes without exception, then it means installed on the machine)
    • [root@castle-hat Digest-MD5-2.52]#  perl -e 'use Digest::MD5;'
    • [root@castle-hat Digest-MD5-2.52]#

No comments:

Post a Comment