Obtaining Perl

To install Perl on your system, you have three choices:

  • Install a vendor package

  • Download and install a prebuilt binary version

  • Download, compile, and install the source-code version

Installing a Vendor Package

If you're using a free variety of Unix (Linux, FreeBSD, or OpenBSD) your vendor probably supplies a vendor-created package designed for your system. Usually, when you install these operating systems, you have the option of installing Perl along with the rest of the operating system. They also provide tools that enable you to download and install updated packages. For example, Red Hat provides many third-party applications as RPM files. You can use any RPM tool to download and install Perl on your system. Most free Unixes have ...

Get Sams Teach Yourself Perl in 21 Days, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.