Appendix B. Installing gawk

This appendix provides instructions for installing gawk on Unix-like systems and on PC operating systems.[1] The primary developer supports GNU/Linux (and Unix), whereas the other ports are contributed. See Section B.4 later in this chapter for the electronic mail addresses of the people who maintain the respective ports.

The gawk Distribution

This section describes how to get the gawk distribution, how to extract it, and then what is in the various files and subdirectories.

Getting the gawk Distribution

There are three ways to get GNU software:

  • Copy it from someone else who already has it.

  • Order gawk directly from the Free Software Foundation. Software distributions are available for Unix, MS-DOS, and VMS, on tape and CD-ROM. Their address is:

    Free Software Foundation
    59 Temple Place, Suite 330
    Boston, MA 02111-1307 USA
    Phone: (617) 542-5942
    Fax (including Japan): (617) 542-2652

    Ordering from the FSF directly contributes to the support of the foundation and to the production of more free software.

  • Retrieve gawk by using anonymous ftp to the Internet host, in the directory /gnu/gawk.

The GNU software archive is mirrored around the world. The up-to-date list of mirror sites is available at the main FSF web site Try to use one of the mirrors; they will be less busy, and you can usually find one closer to your site.

Extracting the Distribution

gawk is distributed ...

Get Effective awk Programming, 3rd 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.