How To Install libpll-dev on Ubuntu 18.04

In this tutorial we learn how to install libpll-dev on Ubuntu 18.04. libpll-dev is Phylogenetic Likelihood Library (development)

Introduction

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

What is libpll-dev

libpll-dev is:

PLL is a highly optimized, parallelized software library to ease the development of new software tools dealing with phylogenetic inference.

Among the functions included in PLL are parsing multiple sequence alignments (MSA) from PHYLIP and FASTA files, reading Newick trees, performing topological moves such as SPR and NNI, model optimization, likelihood evaluation and partitioned analysis by assigning different substitution models to each partition of the MSA. PLL fully implements the GTR nucleotide substitution model for DNA data and a number of models for aminoacid data.

This package contains the static library and the header file.

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

sudo apt-get -y install libpll-dev

Install libpll-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libpll-dev

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

sudo aptitude -y install libpll-dev

How To Uninstall libpll-dev on Ubuntu 18.04

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

sudo apt-get remove libpll-dev

Uninstall libpll-dev And Its Dependencies

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

sudo apt-get -y autoremove libpll-dev

Remove libpll-dev Configurations and Data

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

sudo apt-get -y purge libpll-dev

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

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

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

References

Summary

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