Installation on Linux and Unix carry same process–

  • Open your browser and hit this URL https://www.perl.org/get.html.
  • Here you are supposed to download the zipped file.
  • To install this file prompt below commands on cmd.
    $tar -xzf perl-5.x.y.tar.gz
    $cd perl-5.x.y
    $./Configure -de
    $make
    $make test
    $make install

Perl has a standard location to install it in /usr/local/bin and its libraries will be installed in /usr/local/lib/perlXX, XX is the version of Perl that you have installed. Once you have done with all this process then you can check Perl version typing Perl –v on cmd.

BY Best Interview Question ON 13 Jan 2019