How To Install rdp-classifier on Ubuntu 20.04

In this tutorial we learn how to install rdp-classifier on Ubuntu 20.04. rdp-classifier is extensible sequence classifier for fungal lsu, bacterial and archaeal 16s

Introduction

In this tutorial we learn how to install rdp-classifier on Ubuntu 20.04.

What is rdp-classifier

rdp-classifier is:

The RDP Classifier is a naive Bayesian classifier which was developed to provide rapid taxonomic placement based on rRNA sequence data. The RDP Classifier can rapidly and accurately classify bacterial and archaeal 16s rRNA sequences, and Fungal LSU sequences. It provides taxonomic assignments from domain to genus, with confidence estimates for each assignment. The RDP Classifier likely can be adapted to additional phylogenetically coherent bacterial taxonomies.

There are three methods to install rdp-classifier on Ubuntu 20.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 rdp-classifier Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install rdp-classifier

Install rdp-classifier Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install rdp-classifier

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

sudo aptitude -y install rdp-classifier

How To Uninstall rdp-classifier on Ubuntu 20.04

To uninstall only the rdp-classifier package we can use the following command:

sudo apt-get remove rdp-classifier

Uninstall rdp-classifier And Its Dependencies

To uninstall rdp-classifier and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove rdp-classifier

Remove rdp-classifier Configurations and Data

To remove rdp-classifier configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge rdp-classifier

Remove rdp-classifier configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge rdp-classifier

References

Summary

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