How To Install tree-puzzle on Ubuntu 18.04

In this tutorial we learn how to install tree-puzzle on Ubuntu 18.04. tree-puzzle is Reconstruction of phylogenetic trees by maximum likelihood

Introduction

In this tutorial we learn how to install tree-puzzle on Ubuntu 18.04.

What is tree-puzzle

tree-puzzle is:

TREE-PUZZLE (the new name for PUZZLE) is an interactive console program that implements a fast tree search algorithm, quartet puzzling, that allows analysis of large data sets and automatically assigns estimations of support to each internal branch. TREE-PUZZLE also computes pairwise maximum likelihood distances as well as branch lengths for user specified trees. Branch lengths can also be calculated under the clock-assumption. In addition, TREE-PUZZLE offers a novel method, likelihood mapping, to investigate the support of a hypothesized internal branch without computing an overall tree and to visualize the phylogenetic content of a sequence alignment.

There are three methods to install tree-puzzle on Ubuntu 18.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 tree-puzzle Using apt-get

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

sudo apt-get update

After updating apt database, We can install tree-puzzle using apt-get by running the following command:

sudo apt-get -y install tree-puzzle

Install tree-puzzle Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install tree-puzzle using apt by running the following command:

sudo apt -y install tree-puzzle

Install tree-puzzle 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 tree-puzzle using aptitude by running the following command:

sudo aptitude -y install tree-puzzle

How To Uninstall tree-puzzle on Ubuntu 18.04

To uninstall only the tree-puzzle package we can use the following command:

sudo apt-get remove tree-puzzle

Uninstall tree-puzzle And Its Dependencies

To uninstall tree-puzzle and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove tree-puzzle

Remove tree-puzzle Configurations and Data

To remove tree-puzzle configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge tree-puzzle

Remove tree-puzzle configuration, data, and all of its dependencies

We can use the following command to remove tree-puzzle configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge tree-puzzle

References

Summary

In this tutorial we learn how to install tree-puzzle package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.