B.1 Installing Perl on Your ComputerHere are the basic steps for installing Perl on your computer: Check to see if Perl is already installed; if so, check the version. Get Internet access and go to the Perl home page at http://www.perl.com. Go to the Downloads page and determine which Perl distribution to download. Download the Perl distribution. Install the distribution on your computer. B.1.1 Perl May Already Be InstalledMany computersespecially Unix and Linux computerscome with Perl already installed. (Note that Unix and Linux are essentially the same thing, as far as the operating system is concerned; Linux is a clone, or functional copy, of a Unix system.) So, first check to see if Perl is already there. On Unix and Linux, type the following at a command prompt: $ perl -v If Perl is already installed, you'll see a message something like this: This is perl, v5.8.0 built for i686-linux If Perl isn't installed, you'll get a message something like this: perl: command not found If you're on a shared Unix system, at a university or business, check with the system administrator if this fails, because although Perl may be installed, your environment may not be set to find it. (Or, the system administrator may say, "You need Perl? Okay, I'll install it for you!") On Windows or Macintosh, look at the program menus, or use the find program to search for perl. You can also try typing perl -v at an MS-DOS command window or at a shell window on the Mac OS X. (Note that the Mac OS X is a Unix system!) |