How To Install librg-blast-parser-perl on Ubuntu 18.04

In this tutorial we learn how to install librg-blast-parser-perl on Ubuntu 18.04. librg-blast-parser-perl is very fast NCBI BLAST parser - binding for Perl

Introduction

In this tutorial we learn how to install librg-blast-parser-perl on Ubuntu 18.04.

What is librg-blast-parser-perl

librg-blast-parser-perl is:

This package contains Perl binding for a very fast C++ library that parses the default output of NCBI BLAST programs. BLAST results are returned in a convenient hash structure.

Evaluated on a very small test set, this parser is considerably faster than Zerg::Report from libzerg-perl.

There are three methods to install librg-blast-parser-perl 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 librg-blast-parser-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 librg-blast-parser-perl using apt-get by running the following command:

sudo apt-get -y install librg-blast-parser-perl

Install librg-blast-parser-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install librg-blast-parser-perl using apt by running the following command:

sudo apt -y install librg-blast-parser-perl

Install librg-blast-parser-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 librg-blast-parser-perl using aptitude by running the following command:

sudo aptitude -y install librg-blast-parser-perl

How To Uninstall librg-blast-parser-perl on Ubuntu 18.04

To uninstall only the librg-blast-parser-perl package we can use the following command:

sudo apt-get remove librg-blast-parser-perl

Uninstall librg-blast-parser-perl And Its Dependencies

To uninstall librg-blast-parser-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove librg-blast-parser-perl

Remove librg-blast-parser-perl Configurations and Data

To remove librg-blast-parser-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge librg-blast-parser-perl

Remove librg-blast-parser-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge librg-blast-parser-perl

References

Summary

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