INSTALL PERL IN UBUNTU

 Home / Uncategorized / INSTALL PERL IN UBUNTU
03Dec, 2012
0

INSTALL PERL IN UBUNTU

1.    Download the perl from below command

wget http://www.cpan.org/src/5.0/perl-5.14.2.tar.gz

2.    Unzip it

tar -xzf perl-5.14.2.tar.gz

3.    Change working directory to perl

cd perl-5.14.2

4.    Configure it with below commands

./Configure -des -Dprefix=/usr/bin/perl

make
make test
make install

5.    Once you have done this you can check your new version of perl by typing

Perl –V or perl –v

6.    to make this the default perl, you’d probably want to add to your .bashrc

export PATH=/usr/bin/perl:$PATH


About The Author

blogadmin">Read more