hist command not found

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

Introduction

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

hist: command not found

or when using sudo you get the following error message

sudo: hist: command not found

Solutions to hist: command not found

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

In Ubuntu hist is provided by loki package.

loki is:

Performs Markov chain Monte Carlo multipoint linkage analysis on large, complex pedigrees. The current package supports analyses on quantitative traits only, although this restriction will be lifted in later versions. Joint estimation of QTL number, position and effects uses Reversible Jump MCMC. It is also possible to perform affected only IBD sharing analyses.

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

sudo apt-get -y install loki

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

You can also use apt command to install loki.

sudo apt -y install loki

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

sudo aptitude install loki

Summary

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