How To Install bali-phy on Kali Linux

In this tutorial we learn how to install bali-phy on Kali Linux. bali-phy is Bayesian Inference of Alignment and Phylogeny

Introduction

In this tutorial we learn how to install bali-phy on Kali Linux.

What is bali-phy

bali-phy is:

BAli-Phy estimates multiple sequence alignments and evolutionary trees from unaligned DNA, amino acid, or codon sequences. BAli-Phy uses MCMC to estimate evolutionary trees, positive selection, and branch lengths while averaging over alternative alignments. BAli-Phy can display alignment ambiguity graphically in an alignment uncertainty (AU) plot.

BAli-Phy can also estimate phylogenies from a fixed alignment (like MrBayes and BEAST) using substitution models like GTR+gamma. BAli-Phy automatically estimates relative rates for each gene.

There are three methods to install bali-phy on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install bali-phy Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install bali-phy

Install bali-phy Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install bali-phy

Install bali-phy Using aptitude

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

sudo aptitude update

After updating apt database, We can install bali-phy using aptitude by running the following command:

sudo aptitude -y install bali-phy

How To Uninstall bali-phy on Kali Linux

To uninstall only the bali-phy package we can use the following command:

sudo apt-get remove bali-phy

Uninstall bali-phy And Its Dependencies

To uninstall bali-phy and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove bali-phy

Remove bali-phy Configurations and Data

To remove bali-phy configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge bali-phy

Remove bali-phy configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge bali-phy

Dependencies

bali-phy have the following dependencies:

References

Summary

In this tutorial we learn how to install bali-phy package on Kali Linux using different package management tools: apt, apt-get and aptitude.