Server Administration & Management

How to install threaded Perl

Perl is normally installed without thread support, but you may need to install threaded perl on your server to fulfill requirement for any application or for perl based software development.

This require additional -Dusethreads parameter used during the configuration step of installation. Below are the exact steps that you can follow to install threaded perl on your server :

# wget http://www.cpan.org/src/perl-5.8.8.tar.gz

# tar -xzvf stable.tar.gz

# cd perl-5.8.8

# ./Configure -Dprefix=/usr -Dusethreads

# make

# make test

# make install

and you are done !

May 26, 2012 Posted by | Tips & Tricks, Unix/Linux | , , , | Leave a comment