GAP (IO) - Chapter 2: Installation of the IO-package

Goto Chapter: Top 1 2 3 4 5 6 7 8 9 10 11 Ind
[Top of Book] [Contents] [Previous Chapter] [Next Chapter]

[MathJax off]

2 Installation of the IO-package
2.1 Recompiling the documentation

### 2 Installation of the IO-package

To get the newest version of this GAP 4 package download one of the archive files

- `io-x.x.tar.gz`

- `io-x.x.tar.bz2`

- `io-x.x.zip`

and unpack it using

    gunzip io-x.x.tar.gz; tar xvf io-x.x.tar

or

    bzip2 -d io-x.x.tar.bz2; tar xvf io-x.x.tar

or

    unzip -x io-x.x.zip

respectively.

Do this in a directory called "`pkg`", preferably (but not necessarily) in the "`pkg`" subdirectory of your GAP 4 installation. It creates a subdirectory called "`io`".

The package will not work without the following compilation step.

To compile the C part of the package do (in the `pkg` directory)

        cd io
        ./configure
        make

If you installed the package in another "`pkg`" directory than the standard "`pkg`" directory in your GAP 4 installation, then you have to do two things. Firstly during compilation you have to use the option `--with-gaproot=PATH` of the `configure` script where "PATH" is a path to the main GAP root directory (if not given the default "`../..`" is assumed).

Secondly you have to specify the path to the directory containing your "`pkg`" directory to GAP's list of directories. This can be done by starting GAP with the "`-l`" command line option followed by the name of the directory and a semicolon. Then your directory is prepended to the list of directories searched. Otherwise the package is not found by GAP. Of course, you can add this option to your GAP startup script.

#### 2.1 Recompiling the documentation

Recompiling the documentation is possible by the command "`gap makedoc.g`" in the `io` directory. But this should not be necessary.

[Top of Book] [Contents] [Previous Chapter] [Next Chapter]
Goto Chapter: Top 1 2 3 4 5 6 7 8 9 10 11 Ind

generated by GAPDoc2HTML