Sophie

Sophie

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

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

<?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>
<title>GAP (crime) - Chapter 1: Installation and Loading</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" />
</head>
<body>


<div class="chlinktop"><span class="chlink1">Goto Chapter: </span><a href="chap0.html">Top</a>  <a href="chap1.html">1</a>  <a href="chap2.html">2</a>  <a href="chapA.html">A</a>  <a href="chapB.html">B</a>  <a href="chapBib.html">Bib</a>  <a href="chapInd.html">Ind</a>  </div>

<div class="chlinkprevnexttop">&nbsp;<a href="chap0.html">Top of Book</a>&nbsp;  &nbsp;<a href="chap0.html">Previous Chapter</a>&nbsp;  &nbsp;<a href="chap2.html">Next Chapter</a>&nbsp;  </div>

<p><a id="X86C437C47F3988E8" name="X86C437C47F3988E8"></a></p>
<div class="ChapSects"><a href="chap1.html#X86C437C47F3988E8">1. <span class="Heading">Installation and Loading</span></a>
</div>

<h3>1. <span class="Heading">Installation and Loading</span></h3>

<p>Like other <strong class="pkg">GAP</strong> packages, you download and unpack this package into <strong class="pkg">GAP</strong>'s <code class="keyw">pkg</code> directory. For example, if you were using some Unix derivative and <strong class="pkg">GAP</strong> were installed in the directory <code class="keyw">/usr/local/gap4r4</code>, then you would do the following.</p>


<table class="example">
<tr><td><pre>

$ cd /usr/local/gap4r4/pkg
$ su
% wget http://math.uic.edu/~marcus/Crime/crime-1.3.tar.gz
% tar xvzvf crime-1.3.tar.gz 

</pre></td></tr></table>

<p>In this situation, users would load the package with the <code class="keyw">LoadPackage</code> command.</p>


<table class="example">
<tr><td><pre>

$ gap
gap&gt; LoadPackage("crime");

</pre></td></tr></table>

<p>Users not having root access, using someone else's computer, or having bad relationships with their network administrators, could install the package into their home directories or into some other writable directory such as <code class="keyw">/tmp</code>, and load the package as follows.</p>


<table class="example">
<tr><td><pre>

$ mkdir /tmp/pkg
$ cd /tmp/pkg
$ wget http://math.uic.edu/~marcus/Crime/crime-1.3.tar.gz
$ tar xvzvf crime-1.3.tar.gz 
$ gap -l ';/tmp'
gap&gt; LoadPackage("crime");
</pre></td></tr></table>

<p>Finally, it would be a good idea to run the test file to confirm that all the functions work.</p>


<table class="example">
<tr><td><pre>

gap&gt; ReadPackage("crime","tst/test.g");
</pre></td></tr></table>

<p>You can count yourself lucky if <strong class="pkg">GAP</strong> doesn't complain about anything. There is also a longer running test file for those having ample free time described in Appendix <a href="chapB.html#X7BC2C62E7A8CC2B9"><b>B.</b></a>.</p>


<div class="chlinkprevnextbot">&nbsp;<a href="chap0.html">Top of Book</a>&nbsp;  &nbsp;<a href="chap0.html">Previous Chapter</a>&nbsp;  &nbsp;<a href="chap2.html">Next Chapter</a>&nbsp;  </div>


<div class="chlinkbot"><span class="chlink1">Goto Chapter: </span><a href="chap0.html">Top</a>  <a href="chap1.html">1</a>  <a href="chap2.html">2</a>  <a href="chapA.html">A</a>  <a href="chapB.html">B</a>  <a href="chapBib.html">Bib</a>  <a href="chapInd.html">Ind</a>  </div>

<hr />
<p class="foot">generated by <a href="http://www.math.rwth-aachen.de/~Frank.Luebeck/GAPDoc">GAPDoc2HTML</a></p>
</body>
</html>