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

### UNIX source code version

First of all you have to install PARI library. The following is a sample of installation of PARI on FreeBSD.

    % su
    # gzip -dc pari-2.0.17.beta.tgz | tar xf -
    # cd pari-2.0.17.beta
    # ./Configure
    # make install
    # make install-lib-sta

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

    % gzip -dc asir.tgz | tar xf -
    % cd asir2000
    % ./configure -oxhome /usr/local -pari -plot
    % xmkmf -a
    % make
    % su
    # make install
    # make install-lib
    # make install-doc

In the above example, ``/usr/local'` indicates the destination of the installation. That is, the binary file ``asir'` is installed in ``/usr/local/bin'` and the library and documentation files are installed in ``/usr/local/lib'`. The directory name specified as an argument of `-oxhome` also indicates that PARI files are installed in that directory. If you change the destination directory, you have to modify the values of `PARIINC` and `PARILIB` in ``include/Risa.tmpl'` appropriately.

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