[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.3 Installation

Any questions and any comments on this manual are welcome by e-mails to the following address.

noro@math.kobe-u.ac.jp

[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.3.1 UNIX binary version

A file ‘asir.tgz’ suitable for the target machine/architecture is required. After getting it, you have to unpack it by gzip. First of all, determine a directory where binaries and library files are installed. We call the directory the library directory. The following installs the files in ‘/usr/local/lib/asir’.

# gzip -dc asir.tgz | ( cd /usr/local/lib; tar xf - )

In this case you don’t have to set any environment variable.

You can install them elsewhere.

% gzip -dc asir.tgz | ( cd $HOME; tar xf - )

In this case you have to set the name of the library directory to the environment variable ASIR_LIBDIR.

% setenv ASIR_LIBDIR $HOME/asir

Asir itself is in the library directory. It will be convenient to create a symbolic link to it from ‘/usr/local/bin’ or the user’s search path.

# ln -s /usr/local/lib/asir/asir /usr/local/bin/asir

Then you can start ‘asir’.

% /usr/local/bin/asir
This is Risa/Asir, Version 20000821.
Copyright (C) FUJITSU LABORATORIES LIMITED.
1994-2000. All rights reserved.
[0]

[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.3.2 UNIX source code version

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

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

[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.3.3 Windows version

The installers are ‘asirwin32.msi’ (32bit version) and ‘asirwin64.msi’ (64bit version). These installers set the installed folder to the environmental variable ‘ASIR_ROOTDIR’. (If you install Risa/Asir by the zip version, you need to set the environmental variable ‘ASIR_ROOTDIR’ by hand. You also need to unlock the security block before unzipping. The zip version is for developers.) Double click the “asirgui” on the desktop, then the asir starts. To use a unified environment with text editors, follow the instruction in ‘%ASIR_ROOTDIR%\share\editor’. If the folder name to which you install asir or your home folder name contain non-ascii characters, some functions of asir may not work properly. For example, in the Japense locale, names which may cause troubles can be checked by “damemoji checker”.

ChangeLog


[ << ] [ < ] [ Up ] [ > ] [ >> ]

This document was generated on December 21, 2024 using texi2html 5.0.