# Perl Installation on Unix and Linux Platform

PERLServer Side ProgrammingProgramming Scripts

#### Perl Online Training

46 Lectures 4.5 hours

#### COMPLETE PERL Programming

11 Lectures 1.5 hours

#### Perl for Beginners: Learn A to Z of Perl Scripting Hands-on

30 Lectures 6 hours

Here are the simple steps to install Perl on Unix/Linux machine.

• Open a Web browser and go to  https://www.perl.org/get.html.

• Follow the link to download the zipped source code available for Unix/Linux.

• Download the perl-5.x.y.tar.gz file and issue the following commands at $prompt. $tar -xzf perl-5.x.y.tar.gz
$cd perl-5.x.y$./Configure -de
$make$make test
$make install NOTE − Here$ is a Unix prompt where you type your command, so make sure you are not typing $while typing the above-mentioned commands. 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. It will take a while to compile the source code after issuing the make command. Once the installation is done, you can issue Perl -v command at$ prompt to check Perl installation. If everything is fine, then it will display a message as we have shown above.

Updated on 28-Nov-2019 07:08:25

Advertisements