How To Install libhmsbeagle-dev on Ubuntu 18.04

In this tutorial we learn how to install libhmsbeagle-dev on Ubuntu 18.04. libhmsbeagle-dev is High-performance lib for Bayesian and Maximum Likelihood phylogenetics (devel)

Introduction

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

What is libhmsbeagle-dev

libhmsbeagle-dev is:

BEAGLE is a high-performance library that can perform the core calculations at the heart of most Bayesian and Maximum Likelihood phylogenetics packages. It can make use of highly-parallel processors such as those in graphics cards (GPUs) found in many PCs.

The project involves an open API and fast implementations of a library for evaluating phylogenetic likelihoods (continuous time Markov processes) of biomolecular sequence evolution.

The aim is to provide high performance evaluation ‘services’ to a wide range of phylogenetic software, both Bayesian samplers and Maximum Likelihood optimizers. This allows these packages to make use of implementations that make use of optimized hardware such as graphics processing units.

This package contains development files needed to build against Beagle library.

There are three methods to install libhmsbeagle-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 libhmsbeagle-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 libhmsbeagle-dev using apt-get by running the following command:

sudo apt-get -y install libhmsbeagle-dev

Install libhmsbeagle-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libhmsbeagle-dev

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

sudo aptitude -y install libhmsbeagle-dev

How To Uninstall libhmsbeagle-dev on Ubuntu 18.04

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

sudo apt-get remove libhmsbeagle-dev

Uninstall libhmsbeagle-dev And Its Dependencies

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

sudo apt-get -y autoremove libhmsbeagle-dev

Remove libhmsbeagle-dev Configurations and Data

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

sudo apt-get -y purge libhmsbeagle-dev

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

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

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

References

Summary

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