How To Install garli-examples on Ubuntu 18.04

In this tutorial we learn how to install garli-examples on Ubuntu 18.04. garli-examples is phylogenetic analysis of molecular sequence data (examples)

Introduction

In this tutorial we learn how to install garli-examples on Ubuntu 18.04.

What is garli-examples

garli-examples is:

GARLI, Genetic Algorithm for Rapid Likelihood Inference is a program for inferring phylogenetic trees. Using an approach similar to a classical genetic algorithm, it rapidly searches the space of evolutionary trees and model parameters to find the solution maximizing the likelihood score. It implements nucleotide, amino acid and codon-based models of sequence evolution, and runs on all platforms. The latest version adds support for partitioned models and morphology-like datatypes.

This package contains example data for garli.

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

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

sudo apt-get update

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

sudo apt-get -y install garli-examples

Install garli-examples Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install garli-examples

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

sudo aptitude -y install garli-examples

How To Uninstall garli-examples on Ubuntu 18.04

To uninstall only the garli-examples package we can use the following command:

sudo apt-get remove garli-examples

Uninstall garli-examples And Its Dependencies

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

sudo apt-get -y autoremove garli-examples

Remove garli-examples Configurations and Data

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

sudo apt-get -y purge garli-examples

Remove garli-examples configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge garli-examples

References

Summary

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