How To Install libbio-asn1-entrezgene-perl on Ubuntu 18.04

In this tutorial we learn how to install libbio-asn1-entrezgene-perl on Ubuntu 18.04. libbio-asn1-entrezgene-perl is parser for NCBI Entrez Gene and NCBI Sequence records

Introduction

In this tutorial we learn how to install libbio-asn1-entrezgene-perl on Ubuntu 18.04.

What is libbio-asn1-entrezgene-perl

libbio-asn1-entrezgene-perl is:

Bio::ASN1::EntrezGene and Bio::ASN1::Sequence are regular expression-based parsers for NCBI Entrez Gene genome databases (http://www.ncbi.nih.gov/entrez/query.fcgi?db=gene).

They parse ASN.1-formatted Entrez Gene records and NCBI sequences, returning data structures that contain all data items from the gene records or the sequence records.

The parser will report error & line number if input data does not conform to the NCBI Entrez Gene genome or NCBI Sequence annotation file format.

Bio::ASN1::Sequence is basically a modified version of the high-performance Bio::ASN1::EntrezGene parser. However this standalone module exists since it is more efficient to keep Sequence-specific code out of EntrezGene.pm.

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

sudo apt-get -y install libbio-asn1-entrezgene-perl

Install libbio-asn1-entrezgene-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libbio-asn1-entrezgene-perl using apt by running the following command:

sudo apt -y install libbio-asn1-entrezgene-perl

Install libbio-asn1-entrezgene-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 libbio-asn1-entrezgene-perl using aptitude by running the following command:

sudo aptitude -y install libbio-asn1-entrezgene-perl

How To Uninstall libbio-asn1-entrezgene-perl on Ubuntu 18.04

To uninstall only the libbio-asn1-entrezgene-perl package we can use the following command:

sudo apt-get remove libbio-asn1-entrezgene-perl

Uninstall libbio-asn1-entrezgene-perl And Its Dependencies

To uninstall libbio-asn1-entrezgene-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libbio-asn1-entrezgene-perl

Remove libbio-asn1-entrezgene-perl Configurations and Data

To remove libbio-asn1-entrezgene-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libbio-asn1-entrezgene-perl

Remove libbio-asn1-entrezgene-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libbio-asn1-entrezgene-perl

References

Summary

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