<?
xml version=
"1.0" encoding=
"UTF-8"?>
<Chapter Label=
"install">
<Heading>Installation</Heading>
<Index><Package>datastructures</Package></Index>
<Package>datastructures</Package> does not work without compiling its kernel module,
and is not loaded by &GAP; by default. To load the package run
<C>LoadPackage(
"datastructures");</C> at the &GAP; prompt.
<Section>
<Heading>Building the Kernel Module</Heading>
To build the kernel module, you will need
<List>
<Item>a C compiler, e.g. GCC or Clang</Item>
<Item>GNU Make</Item>
</List>
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;
<Verb>
git clone
https://github.com/gap-packages/datastructures
</Verb>
To build the kernel module then run the following commands in the package
's
directory.
<Verb>
./configure
make
</Verb>
</Section>
<Section>
<Heading>Building the Documentation</Heading>
To build the package documentation, run the following command in the
package
's directory
<Verb>
gap makedoc.g
</Verb>
</Section>
</Chapter>