Søren Lund (slu) wrote,
Søren Lund
slu

Installing Strawberry Perl on Windows 7

(This is part two of my Perl for Java programmers guide)

Below is a simple step-by-step guide on how to install Strawberry Perl on Microsoft Windows 7. The instructions should work on most versions of Windows from XP and up.

The instructions are supported by a series of screenshots. I've made all the (uncropped) screenshots available for easy reference/download.

Start Internet Explorer and open the Strawberry Perl website:

win7-strawberry-perl-install-01

Click on one of the recommended download links, based on whether you're using 32 bit or 64 bit Windows. A dialog will ask you if you want to run or save the file. Just click Run:

win7-strawberry-perl-install-02-crop

The download will start:

win7-strawberry-perl-install-03-crop

When download is ready, the installation will start:

win7-strawberry-perl-install-04-crop

Click Next:

win7-strawberry-perl-install-05-crop

Strawberry Perl is Open Source and you'll need to accept the terms by clicking the checkmark before clicking Next:

win7-strawberry-perl-install-06-crop

The default location to install is c:\strawberry\, you should not need to change that, unless you have another disk and want to use that. Do not use directory names with spaces like c:\Program Files\. Click Next:

win7-strawberry-perl-install-07-crop

Now we're ready to install, click Install:

win7-strawberry-perl-install-08-crop

The installation will start:

win7-strawberry-perl-install-09-crop

You might get a warning from Windows, asking you if you want to install third party software, just click Yes:

win7-strawberry-perl-install-10-crop

Now the installation will really start:

win7-strawberry-perl-install-11-crop

After a short time it's ready, click Finish:

win7-strawberry-perl-install-12-crop

The README will open, you might want to read it:

win7-strawberry-perl-install-13

Notice that new programs have been installed. There's a "Perl (command line)" entry on the Start Menu, click on that:

win7-strawberry-perl-install-14-crop

A terminal (or DOS Prompt if you like) will open. Try writing perl --version followed by Return (note there are two dashes before "version"). Perl should print out a short version and copyright statement:

win7-strawberry-perl-install-15-crop

That's it! You now have Perl installed on your Windows computer.

You might want to try the classic Hello World program in Perl.
Tags: howto, install, perl, strawberry perl, win7, windows
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded 

  • 0 comments