To see if you have Perl installed on your computer you need to get to a command prompt. To get this, it depends on your operating system.
If you have Unix or Linux, simple log in and you’ll have access to the command prompt. If you have a graphical interface instead, after the log in you need to open a terminal window in order to have access to the command prompt.
and you’ll receive either the message "command not found" which means perhaps you must install Perl, or Perl’s version number.
Install Perl on Linux
First, you need a copy of Perl source bundle and you can download a stable version from the site "http://www.perl.com". At the moment I am writing these words, I found available the archive perl-5.8.8.tar.gz. You also need an ANSI C compiler, but don’t worry about this, Perl’s configuration program will check for one. If it will not find it, you can install a prebuilt version or install the C compiler supplied by your OS vendor, or for a free C compiler try "http://gcc.gnu.org/".
Now, get a command prompt and enter the following commands:
and wait the end of decompression. If you don’t have the gunzip decompression program, you can download gzip bundle from http://www.gnu.org.
The next step is to launch the configure program of the Perl bundle. The installation shell script will examine your system and ask you questions to determine how perl5 package should be installed. If you want to bypass all the questions and use the computed defaults or the previous answers if there was already a config.sh file, you can run "Configure –d":
After the Perl configuration step, you must build Perl by typing in the following command:
After this step, you can verify Perl’s installation, running again the following command at the command prompt:
Install Perl on Windows
The best idea for installing Perl under Windows is to use ActivePerl – the worldwide standard for Perl on Windows. The free ActivePerl binary distribution includes core Perl, popular modules, the Perl Package Manager (PPM), and complete documentation.
You can download it from "http://www.activestate.com" and install it on your computer – the distribution is self-installing and the installation process is just the same as the one you used for other similar windows applications.
Table of Contents:
Hit the Alarm Clock!