# Downloading EZWGL

## Obtaining EZWGL

The EZWGLdistribution is a compressed tar file containing the source code, makefiles, examples, man pages, a manual in postscript format and a html version of the documentation.

The current release is EZWGL V1.3 . It is available via anonymous ftp from ftp.ma.utexas.edu. The latest version is always available from here.

## Unpacking EZWGL Distribution

After downloading the distribution EZWGL-1.3.tgz or EZWGL-latest.tgz, unpack the archive using the command

           gzip -dc EZWGL-1.3.tgz | tar xvf -

This will create a directory EZWGL-version. Change to this directory.

## Compling EZWGL

First, you need to browse over `Makefile` and modify it for your system. EZWGL needs `gcc` to compile. Then use the command

             make shared

to build a shared library or use the command

             make static

to build a static library. Both commands compile the examples also.

## Installing EZWGL

Installing the library in a public place needs root privilege. After compiling the library, use the command `" make install-shared "` or `" make install-static "` to install the library and the header file `EZ.h`. If you want to install the man pages, run the command `" make install-man "`

If you install the shared library in your home directory, you'll have to set your `LD_LIBRARY_PATH` environment accordingly so that the loader can find it.