How To Install emboss-lib on Ubuntu 18.04

In this tutorial we learn how to install emboss-lib on Ubuntu 18.04. emboss-lib is EMBOSS Libraries

Introduction

In this tutorial we learn how to install emboss-lib on Ubuntu 18.04.

What is emboss-lib

emboss-lib is:

This package contains the core libraries of the European Molecular Biology Open Software Suite, EMBOSS.

AJAX covers standard data structures, including strings, sequences, file handles, queues, hashes, heaps, lists, dictionaries, trees and dynamic arrays. It also covers standard algorithms including comparisons, pattern matching, sorting, and iterators. AJAX will also provide a set of high level graphics functions suited to the needs of sequence analysis applications.

The NUCLEUS library provides higher-level functions specific to molecular sequence analysis, including sequence comparisons, translation, codon usage and annotation.

It also contains a eplplot, an EMBOSS, a fork of the plplot library.

In Debian, these libraries are to be considered private.

There are three methods to install emboss-lib 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 emboss-lib Using apt-get

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

sudo apt-get update

After updating apt database, We can install emboss-lib using apt-get by running the following command:

sudo apt-get -y install emboss-lib

Install emboss-lib Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install emboss-lib using apt by running the following command:

sudo apt -y install emboss-lib

Install emboss-lib 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 emboss-lib using aptitude by running the following command:

sudo aptitude -y install emboss-lib

How To Uninstall emboss-lib on Ubuntu 18.04

To uninstall only the emboss-lib package we can use the following command:

sudo apt-get remove emboss-lib

Uninstall emboss-lib And Its Dependencies

To uninstall emboss-lib and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove emboss-lib

Remove emboss-lib Configurations and Data

To remove emboss-lib configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge emboss-lib

Remove emboss-lib configuration, data, and all of its dependencies

We can use the following command to remove emboss-lib configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge emboss-lib

References

Summary

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