Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 5e1854624d3bc613bdd0dd13d1ef9ac7 > files > 1738

gap-system-4.4.12-5mdv2010.0.i586.rpm

<html><head><title>[Example] 4 Installation</title></head>
<body text="#000000" bgcolor="#ffffff">
[<a href = "chapters.htm">Up</a>] [<a href ="CHAP003.htm">Previous</a>] [<a href = "theindex.htm">Index</a>]
<h1>4 Installation</h1><p>
<P>
<H3>Sections</H3>
<oL>
<li> <A HREF="CHAP004.htm#SECT001">Installing this package</a>
<li> <A HREF="CHAP004.htm#SECT002">Loading the Guarana package</a>
<li> <A HREF="CHAP004.htm#SECT003">Running the test suite</a>
</ol><p>
<p>

<p>
<h2><a name="SECT001">4.1 Installing this package</a></h2>
<p><p>
The Guarana package is part of the standard distribution of <font face="Gill Sans,Helvetica,Arial">GAP</font> and
so normally there should be no need to install it separately.
If by any chance it is not part of your <font face="Gill Sans,Helvetica,Arial">GAP</font> distribution, then 
the standard method is to unpack	 the package into the <code>pkg</code>
directory  of your <font face="Gill Sans,Helvetica,Arial">GAP</font> distribution.  This will create a <code>guarana</code>
subdirectory. 
For other non-standard options please see  Chapter&nbsp;<a href="../../../doc/htm/ref/CHAP075.htm#SECT001">Installing a GAP Package</a> of the <font face="Gill Sans,Helvetica,Arial">GAP</font> Reference Manual.
<p>
Note that the GAP-Packages Polycyclic and Polenta
are needed for this package.
Normally they should be contained in your distribution. If not, 
they can be obtained at
<pre>
               www.gap-system.org/Packages/packages.html             

</pre>
<p>
<p>
<h2><a name="SECT002">4.2 Loading the Guarana package</a></h2>
<p><p>
<a name = "I0"></a>

If the <font face="Gill Sans,Helvetica,Arial">Guarana</font> Package is not already loaded 
then you have to request it explicitly. 
This  can be 
done by <code>LoadPackage("guarana")</code>.
The <code>LoadPackage</code> command is described in Section&nbsp;<a href="../../../doc/htm/ref/CHAP075.htm#SSEC002.1">LoadPackage</a>
in the <font face="Gill Sans,Helvetica,Arial">GAP</font> Reference Manual.
<p>
<p>
<h2><a name="SECT003">4.3 Running the test suite</a></h2>
<p><p>
    Once the package is installed, it is possible to check the correct
    installation by running the test suite of the package.
<p>
<pre>
    gap&gt; Read(Filename(DirectoriesPackageLibrary("guarana","tst")[1],"testall.g"));
</pre>
    For more details on  Test Files see 
    Section&nbsp;<a href="../../../doc/htm/ref/CHAP007.htm#SECT009">Test Files</a> of the 
    <font face="Gill Sans,Helvetica,Arial">GAP</font> Reference Manual.
<p>
    If the test suite runs into an error, 
    then please send a message
    to <code>bjoern@mcs.st-and.ac.uk</code> including the error message.
<p>
<p>
[<a href = "chapters.htm">Up</a>] [<a href ="CHAP003.htm">Previous</a>] [<a href = "theindex.htm">Index</a>]
<P>
<address>Example manual<br>June 2007
</address></body></html>