upscale_cap command not found

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

Introduction

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

upscale_cap: command not found

or when using sudo you get the following error message

sudo: upscale_cap: command not found

Solutions to upscale_cap: command not found

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

In Ubuntu upscale_cap is provided by libopm-upscaling-bin package.

libopm-upscaling-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-upscaling provides tools for single phase and relative permeability upscaling. During upscaling effective parameters (like porosity, permeability, and capillary pressure) for a simulation on a coarser scale are computed from properties of a simulation on a fine scale.

Package provides the upscaling applications.

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

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

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

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

sudo apt -y install libopm-upscaling-bin

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

sudo aptitude install libopm-upscaling-bin

Summary

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