6.33.1. Installation of Perl

To have full control over the way Perl is set up, run the
interactive Configure
script and hand-pick the way this package is built. If the defaults
it auto-detects are suitable, prepare Perl for compilation with:

./configure.gnu --prefix=/usr -Dpager="/bin/less -isR"

The meaning of the configure options:

-Dpager="/bin/less
-isR"

This corrects an error in the perldoc code with the invocation of
the less
program.

Compile the package:

make

To run the test suite, first create a basic /etc/hosts file which is needed by a couple of the
tests to resolve the network name localhost: