# Install from Source

It's possible the Wizard's Toolkit is already installed on your computer. Type

      WizardsToolkit-config --version

If the WizardsToolkit-config script executes and returns a version number, you may not need to install the Wizard's Toolkit from source unless you want to upgrade to a newer version. You also have the option of installing a pre-compiled binary release. However, if you still want to install from source, choose a platform, Unix or Windows. Before installing from source, you may want to review recent changes to the the Wizard's Toolkit distribution.

## Install from Unix Source

The Wizard's Toolkit builds on a variety of Unix and Unix-like operating systems including Linux, Solaris, FreeBSD, Mac OS X, and others. A compiler is required and fortunately almost all modern Unix systems have one. Download WizardsToolkit.tar.gz from ftp.wizards-toolkit.org or a mirror and verify its message digest.

Unpack the distribution with this command:

      tar xvfz WizardsToolkit.tar.gz

Next configure and compile the Wizard's Toolkit:

      cd WizardsToolkit-1.?.?
      ./configure
      make

If the Wizard's Toolkit configured and compiled without complaint, you are ready to install it on your system. Administrator privileges are required to install. To install, type

      make install

Finally, verify the the Wizard's Toolkit install worked properly, type

      WizardsToolkit-config --version

Congratulations, you have a working Wizard's Toolkit distribution and you are ready to use the Wizard's Toolkit to use the Application Program Interfaces for C.

## Install from Windows Source

Building the Wizard's Toolkit source for Windows requires a modern version of Microsoft Visual Studio IDE. Users have reported success with the Borland C++ compiler as well. If you don't have a compiler you can still install a self-installing binary release.

Download WizardsToolkit.zip from ftp.wizards-toolkit.org or a mirror and verify its message digest. You can unpack the distribution with WinZip or type the following from any MS-DOS Command Prompt window:

      unzip WizardsToolkit.zip

The Wizard's Toolkit requires BZip2 for Windows and ZLib for Windows. Be sure to install the development headers along with the DLL's. Edit `zconf.h` and exclude the `unistd.h` include statement since this file is not available under Windows.

Next, launch your Visual Studio IDE and choose `Open->Project`. Select the workspace from the `WizardsToolkit-1.?.?/windows` folder and press Open. Choose `Build->Build Solution` to compile the program and on completion run the program.

Congratulations, you have a working Wizard's Toolkit distribution under Windows and you are ready to use the Wizard's Toolkit Application Program Interfaces for C.