# Downloading EZWGL 1.50

## Obtaining EZWGL

The EZWGL distribution consists of several compressed tar files.

- Source
- Documentation
- Examples and demos

The latest version is always available from here. It is also available via CVS at

cvsroot: | :pserver:anonymous@cvs.math.utexas.edu:/home/cvs/EZWGL
Password: | anonymous
Module: | EZWGL

A CVS web interface is availble from here.

Oliver Bedford maintains a rpm distribution for EZWGL. You can find the relevent rpms here.

Andrey Zakhvatov maintains the freeBSD port of EZWGL. You can find more information at the freeBSD resources page.

## Unpacking EZWGL Distribution

After downloading the distribution EZWGL-x.xx-src.tgz or EZWGL-latest.tgz, unpack the archive using the command

           gzip -dc EZWGL-x.xx-src.tgz | tar xvf -

This will create a directory EZWGL-x.xx. Change to this directory.

## Compling EZWGL

EZWGL src distribution comes with autoconf scripts. Run

             ./configure

first to create `Makefiles` for your system. 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 priviledge.
After compiling the library, use one of the following command
`make install-shared`
`make install-static`
to install the library and the header file `EZ.h`.

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.