How To Install beast2-mcmc-examples on Ubuntu 22.04

In this tutorial we learn how to install beast2-mcmc-examples on Ubuntu 22.04. beast2-mcmc-examples is Bayesian MCMC phylogenetic inference - example data

Introduction

In this tutorial we learn how to install beast2-mcmc-examples on Ubuntu 22.04.

What is beast2-mcmc-examples

beast2-mcmc-examples 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 package contains the example data.

There are three methods to install beast2-mcmc-examples on Ubuntu 22.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install beast2-mcmc-examples Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install beast2-mcmc-examples using apt-get by running the following command:

sudo apt-get -y install beast2-mcmc-examples

Install beast2-mcmc-examples Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install beast2-mcmc-examples using apt by running the following command:

sudo apt -y install beast2-mcmc-examples

Install beast2-mcmc-examples Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install beast2-mcmc-examples using aptitude by running the following command:

sudo aptitude -y install beast2-mcmc-examples

How To Uninstall beast2-mcmc-examples on Ubuntu 22.04

To uninstall only the beast2-mcmc-examples package we can use the following command:

sudo apt-get remove beast2-mcmc-examples

Uninstall beast2-mcmc-examples And Its Dependencies

To uninstall beast2-mcmc-examples and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove beast2-mcmc-examples

Remove beast2-mcmc-examples Configurations and Data

To remove beast2-mcmc-examples configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge beast2-mcmc-examples

Remove beast2-mcmc-examples configuration, data, and all of its dependencies

We can use the following command to remove beast2-mcmc-examples configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge beast2-mcmc-examples

References

Summary

In this tutorial we learn how to install beast2-mcmc-examples package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.