<?xml version=
"1.0" encoding=
"UTF-8"?>
<!
DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<
html xmlns=
"http://www.w3.org/1999/xhtml" xml:lang=
"en">
<
head>
<
script type=
"text/javascript"
src=
"https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</
script>
<
title>GAP (datastructures) - Chapter
2: Installation</
title>
<
meta http-equiv=
"content-type" content=
"text/html; charset=UTF-8" />
<
meta name=
"generator" content=
"GAPDoc2HTML" />
<
link rel=
"stylesheet" type=
"text/css" href=
"manual.css" />
<
script src=
"manual.js" type=
"text/javascript"></
script>
<
script type=
"text/javascript">overwriteStyle();</
script>
</
head>
<
body class=
"chap2" onload=
"jscontent()">
<
div class=
"chlinktop"><
span class=
"chlink1">Goto Chapter: </
span><
a href=
"chap0_mj.html">Top<
/a> <a href="chap1_mj.html">1</a> <a href="chap2_mj.html">2</a> <a href="chap3_mj.html">3</a> <a href="chap4_mj.html">4</a> <a href="chap5_mj.html">5</a> <a href="chap6_mj.html">6</a> <a href="chap7_mj.html">7</a> <a href="chap8_mj.html">8</a> <a href="chap9_mj.html">9</a> <a href="chap10_mj.html">10</a> <a href="chap11_mj.html">11</a> <a href="chap12_mj.html">12</a> <a href="chapBib_mj.html">Bib</a> <a href="chapInd_mj.html">Ind</a> </div>
<div class="chlinkprevnexttop"> <a href="chap0_mj.html">[Top of Book]</a> <a href="chap0_mj.html#contents">[Contents]</a> <a href="chap1_mj.html">[Previous Chapter]</a> <a href="chap3_mj.html">[Next Chapter]</a> </div>
<p id="mathjaxlink" class="pcenter"><a href="chap2.html">[MathJax off]</a></p>
<p><a id="X8360C04082558A12" name="X8360C04082558A12"></a></p>
<div class="ChapSects"><a href="chap2_mj.html#X8360C04082558A12">2 <span class="Heading">Installation</span></a>
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap2_mj.html#X8584FE1F8248F0A4">2.1 <span class="Heading">Building the Kernel Module</span></a>
</span>
</div>
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap2_mj.html#X7F7AE6058776DF06">2.2 <span class="Heading">Building the Documentation</span></a>
</span>
</div>
</div>
<h3>2 <span class="Heading">Installation</span></h3>
<p><strong class="pkg">datastructures</strong> does not work without compiling its kernel module, and is not loaded by <strong class="pkg">GAP</strong> by default. To load the package run <code class="code">LoadPackage("datastructures");</code> at the <strong class="pkg">GAP</strong> prompt.</p>
<p><a id="X8584FE1F8248F0A4" name="X8584FE1F8248F0A4"></a></p>
<h4>2.1 <span class="Heading">Building the Kernel Module</span></h4>
<p>To build the kernel module, you will need</p>
<ul>
<li><p>a C compiler, e.g. GCC or Clang</p>
</li>
<li><p>GNU Make</p>
</li>
</ul>
<p>To install a released version of this package, extract the package's archive file into <strong class="pkg">GAP</strong>'s <code class="file">pkg</code> folder.</p>
<p>To install the current development version of this package, obtain the most recent code from <strong class="button">GitHub</strong></p>
<pre class="normal">
git clone https://github.com/gap-packages/datastructures
</pre>
<p>To build the kernel module then run the following commands in the package's directory.</p>
<pre class="normal">
./configure
make
</pre>
<p><a id="X7F7AE6058776DF06" name="X7F7AE6058776DF06"></a></p>
<h4>2.2 <span class="Heading">Building the Documentation</span></h4>
<p>To build the package documentation, run the following command in the package's directory</p>
<pre class="normal">
gap makedoc.g
</pre>
<div class="chlinkprevnextbot"> <a href="chap0_mj.html">[Top of Book]</a> <a href="chap0_mj.html#contents">[Contents]</a> <a href="chap1_mj.html">[Previous Chapter]</a> <a href="chap3_mj.html">[Next Chapter]</a> </div>
<div class="chlinkbot"><span class="chlink1">Goto Chapter: </span><a href="chap0_mj.html">Top</a> <a href="chap1_mj.html">1</a> <a href="chap2_mj.html">2</a> <a href="chap3_mj.html">3</a> <a href="chap4_mj.html">4</a> <a href="chap5_mj.html">5</a> <a href="chap6_mj.html">6</a> <a href="chap7_mj.html">7</a> <a href="chap8_mj.html">8</a> <a href="chap9_mj.html">9</a> <a href="chap10_mj.html">10</a> <a href="chap11_mj.html">11</a> <a href="chap12_mj.html">12</a> <a href="chapBib_mj.html">Bib</a> <a href="chapInd_mj.html">Ind</a> </div>
<hr />
<p class="foot">generated by <a href="https://www.math.rwth-aachen.de/~Frank.Luebeck/GAPDoc">GAPDoc2HTML</a></p>
</body>
</html>
¤ Dauer der Verarbeitung: 0.6 Sekunden
¤
*© Formatika GbR, Deutschland