Perl Installation on Macintosh Platform



In order to build your own version of Perl, you will need 'make', which is part of the Apple developer tools usually supplied with Mac OS install DVDs. You do not need the latest version of Xcode (which is now charged for) in order to install make.

Here are the simple steps to install Perl on Mac OS X machine.

$tar -xzf perl-5.x.y.tar.gz
$cd perl-5.x.y
$./Configure -de
$make
$make test
$make install

This will install Perl in a standard location /usr/local/bin and its libraries are installed in /usr/local/lib/perlXX, where XX is the version of Perl that you are using.

Updated on: 2019-11-28T07:16:16+05:30

374 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements