gap.sh command not found

In this troubleshooting guide we learn how to fix gap.sh command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

gap.sh: command not found

or when using sudo you get the following error message

sudo: gap.sh: command not found

Solutions to gap.sh: command not found

How To Fix gap.sh: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gap.sh is provided by wims package.

wims is:

The WWW Interactive Multipurpose Server is an educational platform originally developed for mathematics but now also supporting subjects such as physics, chemistry, biology, and languages.

WIMS features a rich set of resources and exercises either for autodidactical use or for training classes, including:

  • exercises with automatic feedback and correction, allowing the learners to work at their own pace;
  • interactive exercises with randomly assigned data, allowing the learners to work on the same type of exercise but with different data and as often as they wish;
  • exercises with an automatic scoring system, which enhances learner motivation;
  • user-friendly graphics and calculation tools;
  • courses and documents with hyperlinks to the exercise pool; examples in the courses can be made random, so the student can get more than one instance of an illustration for tricky concepts;
  • support for exams with pre-published contents. As each individual exam will have randomly chosen data, training is possible but writing each response in advance is not.

This package contains the WIMS FastCGI server, serving Open Exercise Format (OEF) documents. OEF is a very high-level language which allows authors to focus on pedagogical issues.

To fix this problem, we can install more using the command below.

sudo apt-get -y install wims

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install wims.

sudo apt -y install wims

Or if you have aptitude installed you can use the following command.

sudo aptitude install wims

Summary

In this tutorial we learn how to fix gap.sh command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.