How To Install libhmsbeagle-java on Ubuntu 18.04

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

Introduction

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

What is libhmsbeagle-java

libhmsbeagle-java 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 the Java interface.

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

sudo apt-get -y install libhmsbeagle-java

Install libhmsbeagle-java Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libhmsbeagle-java

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

sudo aptitude -y install libhmsbeagle-java

How To Uninstall libhmsbeagle-java on Ubuntu 18.04

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

sudo apt-get remove libhmsbeagle-java

Uninstall libhmsbeagle-java And Its Dependencies

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

sudo apt-get -y autoremove libhmsbeagle-java

Remove libhmsbeagle-java Configurations and Data

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

sudo apt-get -y purge libhmsbeagle-java

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

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

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

References

Summary

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