How To Install infernal-doc on Ubuntu 18.04

In this tutorial we learn how to install infernal-doc on Ubuntu 18.04. infernal-doc is inference of RNA secondary structural alignments – documentation

Introduction

In this tutorial we learn how to install infernal-doc on Ubuntu 18.04.

What is infernal-doc

infernal-doc is:

Infernal (“INFERence of RNA ALignment”) searches DNA sequence databases for RNA structure and sequence similarities. It provides an implementation of a special case of profile stochastic context-free grammars called covariance models (CMs). A CM is like a sequence profile, but it scores a combination of sequence consensus and RNA secondary structure consensus, so in many cases, it is more capable of identifying RNA homologs that conserve their secondary structure more than their primary sequence.

This package provides the documentation which is shipped with the code of infernal.

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

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

sudo apt-get update

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

sudo apt-get -y install infernal-doc

Install infernal-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install infernal-doc

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

sudo aptitude -y install infernal-doc

How To Uninstall infernal-doc on Ubuntu 18.04

To uninstall only the infernal-doc package we can use the following command:

sudo apt-get remove infernal-doc

Uninstall infernal-doc And Its Dependencies

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

sudo apt-get -y autoremove infernal-doc

Remove infernal-doc Configurations and Data

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

sudo apt-get -y purge infernal-doc

Remove infernal-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge infernal-doc

References

Summary

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