opmhash command not found

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

Introduction

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

opmhash: command not found

or when using sudo you get the following error message

sudo: opmhash: command not found

Solutions to opmhash: command not found

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

In Ubuntu opmhash is provided by libopm-common-bin package.

libopm-common-bin is:

The Open Porous Media (OPM) software suite provides libraries and tools for modeling and simulation of porous media processes, especially for simulating CO2 sequestration and improved and enhanced oil recovery.

The Eclipse file format is widely used in the reservoir simulation community. This package provides utility programs to process files in this format, like for comparing two files, converting between binary version and formatted text file format, etc.

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

sudo apt-get -y install libopm-common-bin

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

You can also use apt command to install libopm-common-bin.

sudo apt -y install libopm-common-bin

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

sudo aptitude install libopm-common-bin

Summary

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