GAP is a system for computational discrete algebra, with particular emphasis on Computational Group Theory. GAP provides a programming language, a library of thousands of functions implementing algebraic algorithms written in the GAP language as well as large data libraries of algebraic The objects.
The information is taken from Compilation
Step 1: Download the GAP Software
Download the GAP Software at http://www.gap-system.org/Releases/index.html Current version at point of writing is 4.5.6
# tar -zxvf gap4r5p6_2012_11_04-18_46.tar.gz
# cd gap4r5p6
Step 2: Configure and Install (Default Installation)
Step 3: Optional Installation – GMP packages.
If you wish to use the GAP internal GMP Packges, then the version of GMP bundled with this GAP will be used. This is the default.
# ./configure --with-gmp=yes|no|system|"path"
Step 4: Optional Installation – Readline Editing for better command-line Editing.
If the argument you supply is yes, then GAP will look in standard locations for a Readline installed on your system. Or you can specify a path to a Readline installation.
# ./configure --with-readline=yes|no|"path"
For more information,
See INSTALL when you unpacked the GAP.