Perl 5.8.1 installation frm source


Preparation :
  
   i.  Download Perl 5.8.1 from :
         http://www.perl.com/CPAN/src/stable.tar.gz
   ii. Remove the old Perl from the system before building
         # rm -rf /usr/lib/perl5
   p/s : Suggestion from jeremy
         # mv /usr/lib/perl5 /root/perl5backup

Installation :

   i.   # tar xvzf stable.tar.gz
   ii.  # cd perl-5.8.1
   iii. For more information , # ./Configure --help
        # ./Configure -de \
            -Dprefix=/usr \
            -Dcccdlflags='-fPIC' \
            -Darchname=i386-linux
   iv.  # make
   v.   # make test
   vi.  # make install

Post Installation :

   i.   # perl -MCPAN -e shell
        Just Follow step by step. Use all the Default Answer.
   ii.  install Bundle::CPAN
   iii. install Bundle::LWP
   iv.  install Bundle::DBI
   v.   install DBD::mysql

To Test :

   i.   # perl -v
   ii.  # GET -ed www.yahoo.com


--

No comments:

Other Articles

Enter your email address: