inhomog command not found

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

Introduction

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

inhomog: command not found

or when using sudo you get the following error message

sudo: inhomog: command not found

Solutions to inhomog: command not found

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

In Ubuntu inhomog is provided by inhomog package.

inhomog is:

The inhomog library calculates average cosmological expansion. This particular package contains an example front end program that uses the biscale_partition routines of the inhomog library, illustrating effective scale factor evolution in a universe with a T^3 spatial section that is divided into two complementary domains. The inhomog library provides Raychaudhuri integration of cosmological domain-wise average scale factor evolution using an analytical formula for kinematical backreaction Q_D evolution. The library routine lib/Omega_D_precalc.c is callable by RAMSES using ramses-scalav.

You may use this front-end program for command-line investigation of the role of virialisation as a potential replacement for dark energy (see Roukema 2017, arXiv:1706.06179).

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

sudo apt-get -y install inhomog

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

You can also use apt command to install inhomog.

sudo apt -y install inhomog

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

sudo aptitude install inhomog

Summary

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