0.2. Test the installation

You can consult the official documentation to test the installation. This step is not mandatory but recommended if you suspect something might have gone wrong at some point. See https://www.gap-system.org/install/#testing-the-installation.

To test the installation, run GAP and wait until it loads all the packages. If something went wrong, you will get a message in the terminal pointing to the error that was found. Here, we recommend you take a look at the packages and see if they are compiled. Sometimes, the problem might be related to some missed program that is needed to run GAP, so be sure that your computer meets the requirements before the installation. In case everything goes well, you should see all packages loaded by GAP and below that a new line starting with

gap>

where you can start typing commands. Then, you can execute the following commands:

gap> 3^80;

147808829414345923316083210206383297601

gap> tst := Filename( DirectoriesLibrary("tst"), "testinstall.g" );;

gap> Read(tst);

The last command returns a larger output running several tests (together with their running times), and if everything is fine, then it should finish displaying something like the following message:

total     34300 ms (14129 ms GC) and 10.1GB allocated

              0 failures in 296 files



#I  No errors detected while testing

If something goes wrong with the installation or the tests, you can visit the section “If things go wrong" in https://github.com/gap-system/gap/blob/master/INSTALL.md for more details. If you cannot find the solution there or in online forums, you can also reach the GAP support team by sending an email to support@gap-system.org.

© 2025 Ilaria Colazzo and Kevin Piterman.