Goto Chapter: Top 1 2 A B Bib Ind
 [Top of Book]  [Contents]   [Previous Chapter]   [Next Chapter] 

1 Introduction
 1.1 Installation and Loading
 1.2 For Further Information

1 Introduction

1.1 Installation and Loading

Like other GAP packages, you download and unpack this package into GAP's pkg directory. For example, if you were running GAP on some machine with a Unix-based operating system and GAP were installed in the directory /usr/local/gap then you would do the following to install CRIME.

$ cd /usr/local/gap/pkg
$ su
% wget https://github.com/gap-packages/crime/releases/download/v1.5/crime-1.5.tar.gz
% tar xvzf crime-1.5.tar.gz

In this situation, users would 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 and load the package as follows.

$ mkdir /tmp/pkg
$ cd /tmp/pkg
% wget https://github.com/gap-packages/crime/releases/download/v1.5/crime-1.5.tar.gz
$ tar xvzf crime-1.5.tar.gz
$ gap -l ';/tmp'
gap> LoadPackage("crime");

Even simpler, users can simply install the package in the ~/.gap directory as follows.

$ mkdir -p ~/.gap/pkg
$ cd ~/.gap/pkg
% wget https://github.com/gap-packages/crime/releases/download/v1.5/crime-1.5.tar.gz
% tar xvzf crime-1.5.tar.gz
$ gap
gap> LoadPackage("crime");

Finally, it would be a good idea to run the test file to confirm that all the functions work properly. This can be accomplished as follows.

gap> ReadPackage("crime", "tst/testall.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 Appendix B.

1.2 For Further Information

The file doc/example.* contains the step-by-step CRIME calculation of the cohomology ring of the quaternion group. The file doc/explanation.* contains a theoretical description of how the package calculates the various cohomology products. Users wishing to read the source code can print all the programs in the gap directory with the program gap/print.pl which should be executed in the gap directory.

 [Top of Book]  [Contents]   [Previous Chapter]   [Next Chapter] 
Goto Chapter: Top 1 2 A B Bib Ind

generated by GAPDoc2HTML