How To Install libpbbam-dev on Debian 12

Learn how to install libpbbam-dev on Debian 12 with this tutorial. libpbbam-dev is Pacific Biosciences binary alignment/map (BAM) library (headers)

Introduction

In this tutorial we learn how to install libpbbam-dev on Debian 12.

What is libpbbam-dev

libpbbam-dev is:

The BAM format is a binary, compressed, record-oriented container format for raw or aligned sequence reads. The associated SAM format is a text representation of the same data. The specifications for BAM/SAM are maintained by the SAM/BAM Format Specification Working Group.

PacBio-produced BAM files are fully compatible with the BAM specification, but makes use of the extensibility mechanisms of the BAM specification to encode PacBio-specific information. The pbbam library provides tools to work with these files

This package contains the library header files.

There are three methods to install libpbbam-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 libpbbam-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 libpbbam-dev using apt-get by running the following command:

sudo apt-get -y install libpbbam-dev

Install libpbbam-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libpbbam-dev using apt by running the following command:

sudo apt -y install libpbbam-dev

Install libpbbam-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 libpbbam-dev using aptitude by running the following command:

sudo aptitude -y install libpbbam-dev

How To Uninstall libpbbam-dev on Debian 12

To uninstall only the libpbbam-dev package we can use the following command:

sudo apt-get remove libpbbam-dev

Uninstall libpbbam-dev And Its Dependencies

To uninstall libpbbam-dev and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libpbbam-dev

Remove libpbbam-dev Configurations and Data

To remove libpbbam-dev configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libpbbam-dev

Remove libpbbam-dev configuration, data, and all of its dependencies

We can use the following command to remove libpbbam-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libpbbam-dev

Dependencies

libpbbam-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libpbbam-dev package on Debian 12 using different package management tools: apt, apt-get and aptitude.