Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
| Download
GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
Project: cocalc-sagemath-dev-slelievre
Views: 418346#!/bin/sh1#############################################################################2##3## gap.sh GAP Martin Schoenert4##5## This is a shell script for the UNIX operating system that starts GAP.6## This is the place where you make all the necessary customizations.7## Then copy this file to a directory in your search path, e.g., '~/bin'.8## If you later move GAP to another location you must only change this file.9##101112#############################################################################13##14## GAP_DIR . . . . . . . . . . . . . . . . . . . . directory where GAP lives15##16## Set 'GAP_DIR' to the name of the directory where you have installed GAP,17## i.e., the directory with the subdirectories 'lib', 'grp', 'doc', etc.18## The default is '/home/user/gap4r8', which is where you installed GAP.19## You won't have to change this unless you move the installation.20##21if [ "x$GAP_DIR" = "x" ]; then22GAP_DIR="/home/user/gap4r8"23fi242526#############################################################################27##28## GAP_MEM . . . . . . . . . . . . . . . . . . . amount of initial workspace29##30## Set 'GAP_MEM' to the amount of memory GAP shall use as initial workspace.31## The default depends on whether GAP is compiled with in 32-bit or 64-bit32## mode. You have to uncomment and change the following if you want GAP33## to use a larger initial workspace. If you are not going to run GAP34## in parallel with other programs you may want to set this value close35## to the amount of memory your computer has.36##37#if [ "x$GAP_MEM" = "x" ]; then38#GAP_MEM="-m 256m"39#fi404142#############################################################################43##44## GAP_PRG . . . . . . . . . . . . . . . . . name of the executable program45##46## Set 'GAP_PRG' to the name of the executable program of the GAP kernel.47## The default is '<target>/XX-bit/gap' where <target> is the target you48## have selected during compilation and XX is 32 or 64 - set automatically49## according to your system architecture, unless specified by you at the50## './configure' stage.51##52if [ "x$GAP_PRG" = "x" ]; then53GAP_PRG=x86_64-pc-linux-gnu-gcc-default64/gap54fi555657#############################################################################58##59## GAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . run GAP60##61## You probably should not change this line, which finally starts GAP.62##63exec "$GAP_DIR/bin/$GAP_PRG" $GAP_MEM -l "$GAP_DIR" "$@"646566