Go to the first, previous, next, last section, table of contents.

### UNIX source code version

First of all you have to determine the install directory. In the install directory, the following subdirectories are put:

- bin executables of PARI and Asir
- lib library files of PARI and Asir
- include header files of PARI

These subdirectories are created automatically if they does not exist. If you can be a root, it is recommended to set the install directory to ``/usr/local'`. In the following the directory is denoted by TARGETDIR.

Then, install PARI library. After getting ``pari.tgz'`, unpack and install it as follows:

    % gzip -dc pari.tgz | tar xvf -
    % cd pari
    % ./Configure --prefix=TARGETDIR
    % make all
    % su
    # make install
    # make install-lib-sta

While executing 'make install', the procedure may stop due to some error. Then try the following:

    % cd Oxxx
    % make lib-sta
    % su
    # make install-lib-sta
    # make install-include
    # exit
    %

In the above example, xxx denotes the name of the target operating system. Although GP is not built, the library necessary for building asir2000 will be generated.

After getting ``asir2000.tgz'`, unpack it and install necessary files as follows.

    % gzip -dc asir.tgz | tar xf -
    % cd asir2000
    % ./configure --prefix=TARGETDIR --with-pari --enable-plot
    % make
    % su
    # make install
    # make install-lib
    # make install-doc
    # exit

Go to the first, previous, next, last section, table of contents.