Install libgap-sage-4 by entering the following commands in the terminal:
sudo apt update sudo apt install libgap-sage-4
Description:
GAP kernel as a C shared library -- lib
GAP is a system for computational group theory. LibGAP contains a shared library version of the GAP kernel, allowing you to directly talk to GAP from your own C/C++ code. . Much of the group theory in SageMath is implemented using LibGAP. . This package provides the dynamic library.
Homepage: https://bitbucket.org/vbraun/libgap
Version: 4.8.8+3+20160327g69a66f0+dsx-1
Section: universe/libs