How To Install grinder on Ubuntu 20.04
Introduction
In this tutorial we learn how to install grinder
on Ubuntu 20.04.
What is grinder
grinder is:
Grinder is a versatile program to create random shotgun and amplicon sequence libraries based on DNA, RNA or proteic reference sequences provided in a FASTA file.
Grinder can produce genomic, metagenomic, transcriptomic, metatranscriptomic, proteomic, metaproteomic shotgun and amplicon datasets from current sequencing technologies such as Sanger, 454, Illumina. These simulated datasets can be used to test the accuracy of bioinformatic tools under specific hypothesis, e.g. with or without sequencing errors, or with low or high community diversity. Grinder may also be used to help decide between alternative sequencing methods for a sequence-based project, e.g. should the library be paired-end or not, how many reads should be sequenced.
There are three methods to install grinder
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 grinder Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install grinder
using apt-get
by running the following command:
sudo apt-get -y install grinder
Install grinder Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install grinder
using apt
by running the following command:
sudo apt -y install grinder
Install grinder 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 grinder
using aptitude
by running the following command:
sudo aptitude -y install grinder
How To Uninstall grinder on Ubuntu 20.04
To uninstall only the grinder
package we can use the following command:
sudo apt-get remove grinder
Uninstall grinder And Its Dependencies
To uninstall grinder
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove grinder
Remove grinder Configurations and Data
To remove grinder
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge grinder
Remove grinder configuration, data, and all of its dependencies
We can use the following command to remove grinder
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge grinder
References
Summary
In this tutorial we learn how to install grinder
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.