How To Install meryl on Ubuntu 18.04
Introduction
In this tutorial we learn how to install meryl on Ubuntu 18.04.
What is meryl
meryl is:
meryl computes the kmer content of genomic sequences. Kmer content is represented as a list of kmers and the number of times each occurs in the input sequences. The kmer can be restricted to only the forward kmer, only the reverse kmer, or the canonical kmer (lexicographically smaller of the forward and reverse kmer at each location). Meryl can report the histogram of counts, the list of kmers and their counts, or can perform mathematical and set operations on the processed data files.
This package is part of the Kmer suite.
There are three methods to install meryl 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 meryl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install meryl using apt-get by running the following command:
sudo apt-get -y install meryl
Install meryl Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install meryl using apt by running the following command:
sudo apt -y install meryl
Install meryl 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 meryl using aptitude by running the following command:
sudo aptitude -y install meryl
How To Uninstall meryl on Ubuntu 18.04
To uninstall only the meryl package we can use the following command:
sudo apt-get remove meryl
Uninstall meryl And Its Dependencies
To uninstall meryl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove meryl
Remove meryl Configurations and Data
To remove meryl configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge meryl
Remove meryl configuration, data, and all of its dependencies
We can use the following command to remove meryl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge meryl
References
Summary
In this tutorial we learn how to install meryl package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.