gphelp command not found

In this troubleshooting guide we learn how to fix gphelp command not found error message

Introduction

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

gphelp: command not found

or when using sudo you get the following error message

sudo: gphelp: command not found

Solutions to gphelp: command not found

How To Fix gphelp: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gphelp is provided by pari-doc package.

pari-doc is:

PARI/GP is a widely used computer algebra system designed for fast computations in number theory (factorizations, algebraic number theory, elliptic curves…), but also contains a large number of other useful functions to compute with mathematical entities such as matrices, polynomials, power series, algebraic numbers etc., and a lot of transcendental functions. PARI is also available as a C library to allow for faster computations.

Originally developed by Henri Cohen and his co-workers (University Bordeaux I, France), PARI is now under the GPL and maintained by Karim Belabas with the help of many volunteer contributors.

This package contains the documentation and the extended online help.

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

sudo apt-get -y install pari-doc

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

You can also use apt command to install pari-doc.

sudo apt -y install pari-doc

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

sudo aptitude install pari-doc

Summary

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