cohomcalg command not found

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

Introduction

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

cohomcalg: command not found

or when using sudo you get the following error message

sudo: cohomcalg: command not found

Solutions to cohomcalg: command not found

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

In Ubuntu cohomcalg is provided by cohomcalg package.

cohomcalg is:

The algorithm for the computation of sheaf cohomologies for line bundles on toric varieties presented in “Cohomology of Line Bundles: A Computational Algorithm” by Ralph Blumenhagen, Benjamin Jurke, Thorsten Rahn, and Helmut Roschy has been implemented in a convenient and high-performance C/C++ application called cohomCalg.

The optional cohomCalg Koszul extension serves as a Mathematica 7 frontend and allows for the easy computation of hypersurface and complete intersection cohomologies, following the material presented in “Cohomology of Line Bundles: Applications” by the same authors.

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

sudo apt-get -y install cohomcalg

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

You can also use apt command to install cohomcalg.

sudo apt -y install cohomcalg

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

sudo aptitude install cohomcalg

Summary

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