How To Install ncbi-blast+ on Ubuntu 20.04

In this tutorial we learn how to install ncbi-blast+ on Ubuntu 20.04. ncbi-blast+ is next generation suite of BLAST sequence search tools

Introduction

In this tutorial we learn how to install ncbi-blast+ on Ubuntu 20.04.

What is ncbi-blast+

ncbi-blast+ is:

The Basic Local Alignment Search Tool (BLAST) is the most widely used sequence similarity tool. There are versions of BLAST that compare protein queries to protein databases, nucleotide queries to nucleotide databases, as well as versions that translate nucleotide queries or databases in all six frames and compare to protein databases or queries. PSI-BLAST produces a position-specific-scoring-matrix (PSSM) starting with a protein query, and then uses that PSSM to perform further searches. It is also possible to compare a protein or nucleotide query to a database of PSSM’s. The NCBI supports a BLAST web page at blast.ncbi.nlm.nih.gov as well as a network service.

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

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

sudo apt-get update

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

sudo apt-get -y install ncbi-blast+

Install ncbi-blast+ Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ncbi-blast+ using apt by running the following command:

sudo apt -y install ncbi-blast+

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

sudo aptitude -y install ncbi-blast+

How To Uninstall ncbi-blast+ on Ubuntu 20.04

To uninstall only the ncbi-blast+ package we can use the following command:

sudo apt-get remove ncbi-blast+

Uninstall ncbi-blast+ And Its Dependencies

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

sudo apt-get -y autoremove ncbi-blast+

Remove ncbi-blast+ Configurations and Data

To remove ncbi-blast+ configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge ncbi-blast+

Remove ncbi-blast+ configuration, data, and all of its dependencies

We can use the following command to remove ncbi-blast+ configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ncbi-blast+

References

Summary

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