How To Install libnhgri-blastall-perl on Ubuntu 20.04

In this tutorial we learn how to install libnhgri-blastall-perl on Ubuntu 20.04. libnhgri-blastall-perl is Perl extension for running and parsing NCBIs BLAST 2.x

Introduction

In this tutorial we learn how to install libnhgri-blastall-perl on Ubuntu 20.04.

What is libnhgri-blastall-perl

libnhgri-blastall-perl is:

NHGRI::Blastall will enable usage of BLAST out of a Perl script, if BLAST2 or WU-BLAST are installed locally. Main features are:

  • run BLAST (also via network, which requires blastcl3)
  • BLAST single sequences against each other or against a given library
  • format databases
  • mask out repetitive DNA
  • read, parse and filter existing BLAST reports

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

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

sudo apt-get update

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

sudo apt-get -y install libnhgri-blastall-perl

Install libnhgri-blastall-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libnhgri-blastall-perl using apt by running the following command:

sudo apt -y install libnhgri-blastall-perl

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

sudo aptitude -y install libnhgri-blastall-perl

How To Uninstall libnhgri-blastall-perl on Ubuntu 20.04

To uninstall only the libnhgri-blastall-perl package we can use the following command:

sudo apt-get remove libnhgri-blastall-perl

Uninstall libnhgri-blastall-perl And Its Dependencies

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

sudo apt-get -y autoremove libnhgri-blastall-perl

Remove libnhgri-blastall-perl Configurations and Data

To remove libnhgri-blastall-perl configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libnhgri-blastall-perl

Remove libnhgri-blastall-perl configuration, data, and all of its dependencies

We can use the following command to remove libnhgri-blastall-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libnhgri-blastall-perl

References

Summary

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