beast2-mcmc command not found

In this troubleshooting guide we learn how to fix beast2-mcmc command not found error message

Introduction

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

beast2-mcmc: command not found

or when using sudo you get the following error message

sudo: beast2-mcmc: command not found

Solutions to beast2-mcmc: command not found

How To Fix beast2-mcmc: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu beast2-mcmc is provided by beast2-mcmc package.

beast2-mcmc is:

BEAST is a cross-platform program for Bayesian MCMC analysis of molecular sequences. It is entirely orientated towards rooted, time-measured phylogenies inferred using strict or relaxed molecular clock models. It can be used as a method of reconstructing phylogenies but is also a framework for testing evolutionary hypotheses without conditioning on a single tree topology. BEAST uses MCMC to average over tree space, so that each tree is weighted proportional to its posterior probability. Included is a simple to use user-interface program for setting up standard analyses and a suit of programs for analysing the results.

This is no new upstream version of beast-mcmc (1.x) but rather a rewritten version.

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

sudo apt-get -y install beast2-mcmc

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

You can also use apt command to install beast2-mcmc.

sudo apt -y install beast2-mcmc

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

sudo aptitude install beast2-mcmc

Summary

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