How To Install sumtrees on Ubuntu 18.04

In this tutorial we learn how to install sumtrees on Ubuntu 18.04. sumtrees is Phylogenetic Tree Summarization and Annotation

Introduction

In this tutorial we learn how to install sumtrees on Ubuntu 18.04.

What is sumtrees

sumtrees is:

SumTrees is a program to summarize non-parameteric bootstrap or Bayesian posterior probability support for splits or clades on phylogenetic trees.

The basis of the support assessment is typically given by a set of non-parametric bootstrap replicate tree samples produced by programs such as GARLI or RAxML, or by a set of MCMC tree samples produced by programs such as Mr. Bayes or BEAST. The proportion of trees out of the samples in which a particular split is found is taken to be the degree of support for that split as indicated by the samples. The samples that are the basis of the support can be distributed across multiple files, and a burn-in option allows for an initial number of trees in each file to be excluded from the analysis if they are not considered to be drawn from the true support distribution.

There are three methods to install sumtrees 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 sumtrees Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install sumtrees

Install sumtrees Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install sumtrees using apt by running the following command:

sudo apt -y install sumtrees

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

sudo aptitude -y install sumtrees

How To Uninstall sumtrees on Ubuntu 18.04

To uninstall only the sumtrees package we can use the following command:

sudo apt-get remove sumtrees

Uninstall sumtrees And Its Dependencies

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

sudo apt-get -y autoremove sumtrees

Remove sumtrees Configurations and Data

To remove sumtrees configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge sumtrees

Remove sumtrees configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge sumtrees

References

Summary

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