< Perl Tutorial

Perl installation

← Previous Next →

PERL Installation

1. For Windows

  • First we must make sure that we do not have any version of perl already installed. If we do have one, then it must be uninstalled to begin a clean install.
  • Download and install Padre, the perl IDE from here.
  • Once the setup is complete, close the installer.
  • We can check whether is PERL is installed properly cy opening command prompt and typing the following:
    perl -v

    If perl is installed correctly then it will show the current version installed on the system.

  • Now open the Padre IDE which shows a screen like following:

2. For Linux

  • Install a compiler , through gcc using system package management.
  • Open a terminal and copy - paste the following command into it:
    curl -L http://xrl.us/installperlnix | bash
  • To  build perl and install it in Linux/Unix we need to have many thousands of perl modules and  we need to have a compiler.
  • To interact with command line and run perl commands , a terminal application is needed.
  • Once installed we can check if perl is successfully installed by typing the following command in the terminal:
    perl -v


← Previous Next →