How To Install unikmer on Ubuntu 22.04
Introduction
In this tutorial we learn how to install unikmer
on Ubuntu 22.04.
What is unikmer
unikmer is:
unikmer is a golang package and a toolkit for nucleic acid k-mer analysis, providing functions including set operation k-mers optional with TaxIDs but without count information.
K-mers are either encoded (k<=32) or hashed (arbitrary k) into uint64, and serialized in binary file with extension .unik.
TaxIDs can be assigned when counting k-mers from genome sequences, and LCA (Lowest Common Ancestor) is computed during set opertions including computing union, intersecton, set difference, unique and repeated k-mers.
There are three methods to install unikmer
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 unikmer Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install unikmer
using apt-get
by running the following command:
sudo apt-get -y install unikmer
Install unikmer Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install unikmer
using apt
by running the following command:
sudo apt -y install unikmer
Install unikmer 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 unikmer
using aptitude
by running the following command:
sudo aptitude -y install unikmer
How To Uninstall unikmer on Ubuntu 22.04
To uninstall only the unikmer
package we can use the following command:
sudo apt-get remove unikmer
Uninstall unikmer And Its Dependencies
To uninstall unikmer
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove unikmer
Remove unikmer Configurations and Data
To remove unikmer
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge unikmer
Remove unikmer configuration, data, and all of its dependencies
We can use the following command to remove unikmer
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge unikmer
References
Summary
In this tutorial we learn how to install unikmer
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.