Setup Instructions for the Classroom System Administrator

Contents
  1. The Big Picture
  2. Required Software
  3. Installing Perl
  4. Making Sure Everything Works

  1. The Big Picture
  2. The Perl Jumpstart course can be adapted for a variety of classroom hardware configurations:

  3. Required Software
  4. Each student's desktop machine (or the shared Unix host if the terminal emulation hardware configuration is being used) must be equipped with:

  5. Installing Perl
    1. Installing Perl on Windows NT
      1. Using your Windows NT Explorer, create a folder called perl in your C: drive.
      2. Download the Perl interpreter self-installing software from http://www.Activestate.com/ActivePerl.
      3. Allow perl to be installed in c:\perl.
      4. Let the HTML documentation be installed unless you have a slow machine.
      5. Let it be installed in c:\perl\html.
      6. Let the root of the perl HTML tree be the default.
      7. Let the installation proceed.
      8. Follow the instructions to add Perl to your Path variable. Open the Control Panel and double-click the System icon. Click the Environment tab. Scroll down the System Variable list and highlight Path. Now scroll down to the Value input field, click in it and use the right-arrow key to move to the end. Once you are there, add the string ;c:\perl. Click Set, then Apply, then Ok.

    2. Installing Perl on Unix
      1. The tasks required here demand advanced system administration skills... don't try this at home, kids! :-)
      2. If you are building a Perl interpreter for use by any user (including the web server) you need root privilege in order to write in /usr/local/lib and related system directories.
      3. For Unix, you must download and compile the source code.
      4. Get it from CPAN's source code directory.
      5. You'll need an ANSI C compiler (such as gcc) and gzip (get them from GNU).
      6. After installing Perl, download and install the Perl module GD.pm. Find the latest version in the CPAN directory.
      7. Install the module using CPAN's installation instructions.

  6. Making Sure Everything Works
    1. Testing Perl on Windows NT
      1. Open a new DOS window.
      2. Don't use one that was opened before you changed the Path variable.
      3. Run perl -v. It should report version 5.005 or newer.

    2. Testing Perl on Unix
      1. Make sure the installation location for Perl is in your path.
      2. Run perl -v. It should report version 5.005 or newer.
      3. Run the following command:
        perl -e "use GD;"
        There should be no messages if the GD.pm module is correctly installed.

Copyright © 2020

Dan Keller Technical Services
2248 International Blvd., Oakland
California, USA 94606
tel: 415 / 861-4500