GAP (crime) - Chapter 1: Installation and Loading

Goto Chapter: | Top | 1 | 2 | 3 | Bib | Ind

### 1. Installation and Loading

Like other GAP packages, you download and unpack this package into GAP's `pkg` directory. For example, if you were using some Unix derivative and GAP were installed in the directory `/usr/local/gap4r4`, then you would do the following.

    $ cd /usr/local/gap4r4/pkg
    $ su
    % wget 'http://mad.epfl.ch/~bishop/Crime/crime-1.0.tar.gz'
    % tar xvzvf crime-1.0.tar.gz

In this situation, users would then load the package with the `LoadPackage` command.

    $ gap
    gap> LoadPackage("crime");

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 `/tmp` as follows.

    $ mkdir /tmp/pkg
    $ cd /tmp/pkg
    $ wget 'http://mad.epfl.ch/~bishop/Crime/crime-1.0.tar.gz'
    $ tar xvzvf crime-1.0.tar.gz
    $ gap -l ';/tmp'
    gap> LoadPackage("crime");

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

    gap> ReadPackage("crime","tst/test.g");

You can count yourself lucky if GAP doesn't complain about anything. There is also a longer running test file for those having ample free time described in Chapter 3..

Top of Book | Previous Chapter | Next Chapter

Goto Chapter: | Top | 1 | 2 | 3 | Bib | Ind

generated by GAPDoc2HTML