Linux

To install development tools on a Linux system, use your preferred package manager (e.g. apt-get or aptitude or Synaptic etc.). You need a working C and C++ development environment on your system as well as GNU make.

Note that to obtain a fully functional GAP installation you need not only to compile the core system, but also some of its packages. To install GAP using the source distribution, perform the following steps:

  1. Verify that all required tools are installed. For example, on Ubuntu or Debian do this by calling
     sudo apt-get install build-essential autoconf libtool libgmp-dev libreadline-dev zlib1g-dev
    
  2. Choose your preferred archive format and download the corresponding archive.
    gap-4.16.0.tar.gz 566 MB sha256: aaa296b32a5d7bf25fd80f241d23ec1f58b74e991ae730fafe40e54eb3af6e7e
    gap-4.16.0.zip 586 MB sha256: c6bed96c99d041586fa652dccd199423f5e74d2cd4668e3f70237fbb2a3cbe76
  3. Unpack the archive.
  4. Compile the GAP core system by running
    ./configure && make
    

    in the unpacked directory.

  5. Change to the pkg subdirectory and call
    ../bin/BuildPackages.sh
    

    to run the script which will build most of the packages that require compilation (provided sufficiently many libraries, headers and tools are available). If something doesn’t work on your system, please refer to the README file provided with the corresponding package.

  6. Adjust some links/scripts/icons etc., to make the new version of GAP available to the users of your machine.
  7. Optional: run a few tests.

Alternatives

Frank Lübeck offers a Linux binary distribution via remote syncronization with a reference installation which includes all packages and some optimisations.

GAP is available for installation in several package managers. A good overview of available GAP packages is available on this repology project page.


Privacy PolicyCopyright
Edit this page

This site uses Just the Docs, a documentation theme for Jekyll.