mb-mpi command not found

In this troubleshooting guide we learn how to fix mb-mpi command not found error message

Introduction

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

mb-mpi: command not found

or when using sudo you get the following error message

sudo: mb-mpi: command not found

Solutions to mb-mpi: command not found

How To Fix mb-mpi: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mb-mpi is provided by mrbayes-mpi package.

mrbayes-mpi is:

Bayesian inference of phylogeny is based upon a quantity called the posterior probability distribution of trees, which is the probability of a tree conditioned on the observations. The conditioning is accomplished using Bayes’s theorem. The posterior probability distribution of trees is impossible to calculate analytically; instead, MrBayes uses a simulation technique called Markov chain Monte Carlo (or MCMC) to approximate the posterior probabilities of trees.

This package offers a binary compiled for parallel computation with MPI.

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

sudo apt-get -y install mrbayes-mpi

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

You can also use apt command to install mrbayes-mpi.

sudo apt -y install mrbayes-mpi

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

sudo aptitude install mrbayes-mpi

Summary

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