How To Install fastani on Ubuntu 22.04
Introduction
In this tutorial we learn how to install fastani
on Ubuntu 22.04.
What is fastani
fastani is:
ANI is defined as mean nucleotide identity of orthologous gene pairs shared between two microbial genomes. FastANI supports pairwise comparison of both complete and draft genome assemblies.
There are three methods to install fastani
on Ubuntu 22.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 fastani Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install fastani
using apt-get
by running the following command:
sudo apt-get -y install fastani
Install fastani Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install fastani
using apt
by running the following command:
sudo apt -y install fastani
Install fastani 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 fastani
using aptitude
by running the following command:
sudo aptitude -y install fastani
How To Uninstall fastani on Ubuntu 22.04
To uninstall only the fastani
package we can use the following command:
sudo apt-get remove fastani
Uninstall fastani And Its Dependencies
To uninstall fastani
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove fastani
Remove fastani Configurations and Data
To remove fastani
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge fastani
Remove fastani configuration, data, and all of its dependencies
We can use the following command to remove fastani
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge fastani
References
Summary
In this tutorial we learn how to install fastani
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.