GAP (datastructures) - Chapter 2: Installation

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

[MathJax off]

2 Installation
2.1 Building the Kernel Module
2.2 Building the Documentation

### 2 Installation

datastructures does not work without compiling its kernel module, and is not loaded by GAP by default. To load the package run `LoadPackage("datastructures");` at the GAP prompt.

#### 2.1 Building the Kernel Module

To build the kernel module, you will need

- a C compiler, e.g. GCC or Clang

- GNU Make

To install a released version of this package, extract the package's archive file into GAP's `pkg` folder.

To install the current development version of this package, obtain the most recent code from GitHub

          git clone https://github.com/gap-packages/datastructures

To build the kernel module then run the following commands in the package's directory.

          ./configure
          make

#### 2.2 Building the Documentation

To build the package documentation, run the following command in the package's directory

          gap makedoc.g

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

generated by GAPDoc2HTML