How To Install jmodeltest on Kali Linux

In this tutorial we learn how to install jmodeltest on Kali Linux. jmodeltest is HPC selection of models of nucleotide substitution

Introduction

In this tutorial we learn how to install jmodeltest on Kali Linux.

What is jmodeltest

jmodeltest is:

jModelTest is a tool to carry out statistical selection of best-fit models of nucleotide substitution. It implements five different model selection strategies: hierarchical and dynamical likelihood ratio tests (hLRT and dLRT), Akaike and Bayesian information criteria (AIC and BIC), and a decision theory method (DT). It also provides estimates of model selection uncertainty, parameter importances and model-averaged parameter estimates, including model-averaged tree topologies. jModelTest 2 includes High Performance Computing (HPC) capabilities and additional features like new strategies for tree optimization, model- averaged phylogenetic trees (both topology and branch length), heuristic filtering and automatic logging of user activity.

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

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

sudo apt-get update

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

sudo apt-get -y install jmodeltest

Install jmodeltest Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install jmodeltest

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

sudo aptitude -y install jmodeltest

How To Uninstall jmodeltest on Kali Linux

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

sudo apt-get remove jmodeltest

Uninstall jmodeltest And Its Dependencies

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

sudo apt-get -y autoremove jmodeltest

Remove jmodeltest Configurations and Data

To remove jmodeltest configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge jmodeltest

Remove jmodeltest configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge jmodeltest

Dependencies

jmodeltest have the following dependencies:

References

Summary

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