flow command not found

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

Introduction

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

flow: command not found

or when using sudo you get the following error message

sudo: flow: command not found

Solutions to flow: command not found

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

In Ubuntu flow is provided by libopm-simulators-bin package.

libopm-simulators-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.

opm-simulators provides a research (ebos) and a production (flow) fully implicit black-oil simulators, supporting one to three phases and supporting solvent and polymer options. It uses cell centered finite volume schemes with two point flux approximation and automatic differentiation for the discretization and uses state of the art linear and nonlinear solvers. It supports standard and multi segment well models and reading and writing file in Eclipse format, a defacto industry standard in the oil reservoir simulation community.

Package provides the simulation programs.

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

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

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

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

sudo apt -y install libopm-simulators-bin

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

sudo aptitude install libopm-simulators-bin

Summary

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