# Installation

Japanese version

## Installation of a binary package

1. Download the latest package for your particular platform (enju-X.Y-PLATFORM.tar.gz).
2. Untar the archive into a directory where you would like to install Enju ($DIR indicates the directory in what follows).

       % cd $DIR; tar xvzf enju-X.Y-PLATFORM.tar.gz

"enju" will be installed in "$DIR/enju-X.Y/".

## Installation of a source package

The compilation of Enju requires the following software.

- g++ version 3.2 or higher
- zlib
- regex library

1. Download the package of Enju, "enju-X.Y.Z.tar.gz", (X.Y.Z is a version number), and untar it.

       % tar xvzf enju-X.Y.Z.tar.gz

2. Run "configure".

       % ./configure

   By default, Enju will be installed in "/usr/local/". If you want to install it in a different directory (e.g. in $INSTALL_DIR), specify "prefix" as follows.

       % ./configure --prefix=$INSTALL_DIR

3. Install Enju.

       % make install

### For those who took the package from CVS

flex and yacc are necessary.

First, run the following commands to make "configure" script.

    % libtoolize --force --automake; aclocal; autoheader; automake --add-missing --foreign; autoconf
    % cd ll; libtoolize --force --automake; aclocal; autoheader; automake --add-missing --foreign; autoconf

Then, follow the same procedure as "Installation of a source package."

Enju Manual Enju Home Page Tsujii Laboratory