How To Install libminimap2-dev on Debian 12
Introduction
In this tutorial we learn how to install libminimap2-dev
on Debian 12.
What is libminimap2-dev
libminimap2-dev is:
Minimap2 is a versatile sequence alignment program that aligns DNA or mRNA sequences against a large reference database. Typical use cases include: (1) mapping PacBio or Oxford Nanopore genomic reads to the human genome; (2) finding overlaps between long reads with error rate up to ~15%; (3) splice-aware alignment of PacBio Iso-Seq or Nanopore cDNA or Direct RNA reads against a reference genome; (4) aligning Illumina single- or paired-end reads; (5) assembly-to-assembly alignment; (6) full- genome alignment between two closely related species with divergence below ~15%.
This package contains the C library headers for using minimap in custom tools, along with a static library.
There are three methods to install libminimap2-dev
on Debian 12. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libminimap2-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libminimap2-dev
using apt-get
by running the following command:
sudo apt-get -y install libminimap2-dev
Install libminimap2-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libminimap2-dev
using apt
by running the following command:
sudo apt -y install libminimap2-dev
Install libminimap2-dev 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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libminimap2-dev
using aptitude
by running the following command:
sudo aptitude -y install libminimap2-dev
How To Uninstall libminimap2-dev on Debian 12
To uninstall only the libminimap2-dev
package we can use the following command:
sudo apt-get remove libminimap2-dev
Uninstall libminimap2-dev And Its Dependencies
To uninstall libminimap2-dev
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove libminimap2-dev
Remove libminimap2-dev Configurations and Data
To remove libminimap2-dev
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge libminimap2-dev
Remove libminimap2-dev configuration, data, and all of its dependencies
We can use the following command to remove libminimap2-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libminimap2-dev
Dependencies
libminimap2-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libminimap2-dev
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.