How To Install python3-dendropy on Kali Linux

In this tutorial we learn how to install python3-dendropy on Kali Linux. python3-dendropy is DendroPy Phylogenetic Computing Library (Python 3)

Introduction

In this tutorial we learn how to install python3-dendropy on Kali Linux.

What is python3-dendropy

python3-dendropy is:

DendroPy is a Python library for phylogenetic computing. It provides classes and functions for the simulation, processing, and manipulation of phylogenetic trees and character matrices, and supports the reading and writing of phylogenetic data in a range of formats, such as NEXUS, NEWICK, NeXML, Phylip, FASTA, etc. Application scripts for performing some useful phylogenetic operations, such as data conversion and tree posterior distribution summarization, are also distributed and installed as part of the library. DendroPy can thus function as a stand-alone library for phylogenetics, a component of more complex multi-library phyloinformatic pipelines, or as a scripting ??glue?? that assembles and drives such pipelines.

This package provides python3 modules.

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

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

sudo apt-get update

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

sudo apt-get -y install python3-dendropy

Install python3-dendropy Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-dendropy

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

sudo aptitude -y install python3-dendropy

How To Uninstall python3-dendropy on Kali Linux

To uninstall only the python3-dendropy package we can use the following command:

sudo apt-get remove python3-dendropy

Uninstall python3-dendropy And Its Dependencies

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

sudo apt-get -y autoremove python3-dendropy

Remove python3-dendropy Configurations and Data

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

sudo apt-get -y purge python3-dendropy

Remove python3-dendropy configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python3-dendropy

Dependencies

python3-dendropy have the following dependencies:

References

Summary

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