How To Install garli on Ubuntu 18.04
Introduction
In this tutorial we learn how to install garli
on Ubuntu 18.04.
What is garli
garli 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.
There are three methods to install garli
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 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
using apt-get
by running the following command:
sudo apt-get -y install garli
Install garli Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install garli
using apt
by running the following command:
sudo apt -y install garli
Install garli 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
using aptitude
by running the following command:
sudo aptitude -y install garli
How To Uninstall garli on Ubuntu 18.04
To uninstall only the garli
package we can use the following command:
sudo apt-get remove garli
Uninstall garli And Its Dependencies
To uninstall garli
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove garli
Remove garli Configurations and Data
To remove garli
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge garli
Remove garli configuration, data, and all of its dependencies
We can use the following command to remove garli
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge garli
References
Summary
In this tutorial we learn how to install garli
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.