How To Install ncbi-blast+-legacy on Ubuntu 18.04

In this tutorial we learn how to install ncbi-blast+-legacy on Ubuntu 18.04. ncbi-blast+-legacy is NCBI Blast legacy call script

Introduction

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

What is ncbi-blast+-legacy

ncbi-blast+-legacy is:

This package adds some fake scripts to call NCBI+ programs with the NCBI blast command line. It makes use of the legacy_blast script in ncbi-blast+ package.

There are three methods to install ncbi-blast+-legacy on Ubuntu 18.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+-legacy 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+-legacy using apt-get by running the following command:

sudo apt-get -y install ncbi-blast+-legacy

Install ncbi-blast+-legacy Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ncbi-blast+-legacy

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

sudo aptitude -y install ncbi-blast+-legacy

How To Uninstall ncbi-blast+-legacy on Ubuntu 18.04

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

sudo apt-get remove ncbi-blast+-legacy

Uninstall ncbi-blast+-legacy And Its Dependencies

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

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

Remove ncbi-blast+-legacy Configurations and Data

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

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

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

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

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

References

Summary

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