Thursday, 1 November 2012

Install Perl from source



 cd /opt
 tar -zxf perl-5.14.2.tar.gz
 cd perl-5.14.2
 ./Configure -h
 ./Configure -Dusethreads -Dprefix=/usr
 make
 make test
 make install
 perl -V
 which perl 

To see the status of perl installation 
make install > install.log


To install Perl modules using CPAN:
perl -MCPAN -e shell

Then install lets say if we want to install BioGraphics module.
install Bio::Graphics

Usefull command for test running jobs
fg - run jobs in the foreground

May be you will need to install following dependencies
sudo apt-get install libreadline-dev