How To Install libmodhmm-dev on Ubuntu 18.04

In this tutorial we learn how to install libmodhmm-dev on Ubuntu 18.04. libmodhmm-dev is library for constructing, training and scoring hidden Markov models (dev)

Introduction

In this tutorial we learn how to install libmodhmm-dev on Ubuntu 18.04.

What is libmodhmm-dev

libmodhmm-dev is:

Library for constructing, training and scoring hidden Markov models. It is provided with PSORTb but might be used separately.

PSORTb enables prediction of bacterial protein subcellular localization (SCL) and provides a quick and inexpensive means for gaining insight into protein function, verifying experimental results, annotating newly sequenced bacterial genomes, detecting potential cell surface/secreted drug targets, as well as identifying biomarkers for microbes.

This library needed by PSORTb is distributed separately by upstream.

This package contains the static library which is needed to link PSORTb.

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

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

sudo apt-get update

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

sudo apt-get -y install libmodhmm-dev

Install libmodhmm-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmodhmm-dev

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

sudo aptitude -y install libmodhmm-dev

How To Uninstall libmodhmm-dev on Ubuntu 18.04

To uninstall only the libmodhmm-dev package we can use the following command:

sudo apt-get remove libmodhmm-dev

Uninstall libmodhmm-dev And Its Dependencies

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

sudo apt-get -y autoremove libmodhmm-dev

Remove libmodhmm-dev Configurations and Data

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

sudo apt-get -y purge libmodhmm-dev

Remove libmodhmm-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libmodhmm-dev

References

Summary

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