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

1. Installation and Loading

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://math.uic.edu/~marcus/Crime/crime-1.3.tar.gz
% tar xvzvf crime-1.3.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 http://math.uic.edu/~marcus/Crime/crime-1.3.tar.gz
$ tar xvzvf crime-1.3.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 Appendix B..

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

generated by GAPDoc2HTML