anu-nq command not found

In this troubleshooting guide we learn how to fix anu-nq command not found error message

Introduction

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

anu-nq: command not found

or when using sudo you get the following error message

sudo: anu-nq: command not found

Solutions to anu-nq: command not found

How To Fix anu-nq: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu anu-nq is provided by gap-nq package.

gap-nq 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 provides access to the ANU nilpotent quotient program for computing nilpotent factor groups of finitely presented groups.

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

sudo apt-get -y install gap-nq

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

You can also use apt command to install gap-nq.

sudo apt -y install gap-nq

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

sudo aptitude install gap-nq

Summary

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