gfan_genericlinearchange command not found

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

Introduction

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

gfan_genericlinearchange: command not found

or when using sudo you get the following error message

sudo: gfan_genericlinearchange: command not found

Solutions to gfan_genericlinearchange: command not found

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

In Ubuntu gfan_genericlinearchange is provided by gfan package.

gfan is:

Gfan is a software package for computing Groebner fans and tropical varieties. These are polyhedral fans associated to polynomial ideals. The maximal cones of a Groebner fan are in bijection with the marked reduced Groebner bases of its defining ideal. The software computes all marked reduced Groebner bases of an ideal. Their union is a universal Groebner basis. The tropical variety of a polynomial ideal is a certain subcomplex of the Groebner fan. Gfan contains algorithms for computing this complex for general ideals and specialized algorithms for tropical curves, tropical hypersurfaces and tropical varieties of prime ideals. In addition to the above core functions the package contains many tools which are useful in the study of Groebner bases, initial ideals and tropical geometry. Among these are an interactive traversal program for Groebner fans and programs for graphical renderings.

For ordinary Groebner basis computations Gfan is not competitive in speed compared to programs such as CoCoA, Singular and Macaulay2.

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

sudo apt-get -y install gfan

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

You can also use apt command to install gfan.

sudo apt -y install gfan

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

sudo aptitude install gfan

Summary

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