gap command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gap: command not found
or when using sudo you get the following error message
sudo: gap: command not found
Solutions to gap: command not found
How To Fix gap: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gap is provided by gap-core package.
gap-core is:
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 objects. GAP is used in research and teaching for studying groups and their representations, rings, vector spaces, algebras, combinatorial structures, and more.
This package contains the core GAP system.
To fix this problem, we can install more using the command below.
sudo apt-get -y install gap-core
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install gap-core.
sudo apt -y install gap-core
Or if you have aptitude installed you can use the following command.
sudo aptitude install gap-core
Summary
In this tutorial we learn how to fix gap command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.