Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 91213ddcfbe7f54821d42c2d9e091326 > files > 713

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

  
  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.
  
  -----------------------------  Log  ------------------------------
    
    $ 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.
  
  -----------------------------  Log  ------------------------------
    
    $ 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.
  
  -----------------------------  Log  ------------------------------
    
    $ 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.
  
  ---------------------------  Example  ----------------------------
    
    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..