How To Install q2cli on Kali Linux

In this tutorial we learn how to install q2cli on Kali Linux. q2cli is Click-based command line interface for QIIME 2

Introduction

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

What is q2cli

q2cli is:

QIIME 2 is a powerful, extensible, and decentralized microbiome analysis package with a focus on data and analysis transparency. QIIME 2 enables researchers to start an analysis with raw DNA sequence data and finish with publication-quality figures and statistical results. Key features:

  • Integrated and automatic tracking of data provenance
  • Semantic type system
  • Plugin system for extending microbiome analysis functionality
  • Support for multiple types of user interfaces (e.g. API, command line, graphical)

QIIME 2 is a complete redesign and rewrite of the QIIME 1 microbiome analysis pipeline. QIIME 2 will address many of the limitations of QIIME 1, while retaining the features that makes QIIME 1 a powerful and widely-used analysis pipeline.

QIIME 2 currently supports an initial end-to-end microbiome analysis pipeline. New functionality will regularly become available through QIIME 2 plugins. You can view a list of plugins that are currently available on the QIIME 2 plugin availability page. The future plugins page lists plugins that are being developed.

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

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

sudo apt-get update

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

sudo apt-get -y install q2cli

Install q2cli Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install q2cli

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

sudo aptitude -y install q2cli

How To Uninstall q2cli on Kali Linux

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

sudo apt-get remove q2cli

Uninstall q2cli And Its Dependencies

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

sudo apt-get -y autoremove q2cli

Remove q2cli Configurations and Data

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

sudo apt-get -y purge q2cli

Remove q2cli configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge q2cli

Dependencies

q2cli have the following dependencies:

References

Summary

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