How To Install seq-gen on Ubuntu 20.04
Introduction
In this tutorial we learn how to install seq-gen
on Ubuntu 20.04.
What is seq-gen
seq-gen is:
Seq-Gen is a program that will simulate the evolution of nucleotide or amino acid sequences along a phylogeny, using common models of the substitution process. A range of models of molecular evolution are implemented including the general reversible model. State frequencies and other parameters of the model may be given and site-specific rate heterogeneity may also be incorporated in a number of ways. Any number of trees may be read in and the program will produce any number of data sets for each tree. Thus large sets of replicate simulations can be easily created. It has been designed to be a general purpose simulator that incorporates most of the commonly used (and computationally tractable) models of molecular sequence evolution.
There are three methods to install seq-gen
on Ubuntu 20.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 seq-gen Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install seq-gen
using apt-get
by running the following command:
sudo apt-get -y install seq-gen
Install seq-gen Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install seq-gen
using apt
by running the following command:
sudo apt -y install seq-gen
Install seq-gen 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 seq-gen
using aptitude
by running the following command:
sudo aptitude -y install seq-gen
How To Uninstall seq-gen on Ubuntu 20.04
To uninstall only the seq-gen
package we can use the following command:
sudo apt-get remove seq-gen
Uninstall seq-gen And Its Dependencies
To uninstall seq-gen
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove seq-gen
Remove seq-gen Configurations and Data
To remove seq-gen
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge seq-gen
Remove seq-gen configuration, data, and all of its dependencies
We can use the following command to remove seq-gen
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge seq-gen
References
Summary
In this tutorial we learn how to install seq-gen
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.