How To Install libsavvy-dev on Debian 12

Learn how to install libsavvy-dev on Debian 12 with this tutorial. libsavvy-dev is C++ interface for the SAV file format

Introduction

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

What is libsavvy-dev

libsavvy-dev is:

Savvy is the official C++ interface for the SAV file format and offers seamless support for BCF and VCF files.

This package contains the header files for development.

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

sudo apt-get -y install libsavvy-dev

Install libsavvy-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsavvy-dev

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

sudo aptitude -y install libsavvy-dev

How To Uninstall libsavvy-dev on Debian 12

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

sudo apt-get remove libsavvy-dev

Uninstall libsavvy-dev And Its Dependencies

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

sudo apt-get -y autoremove libsavvy-dev

Remove libsavvy-dev Configurations and Data

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

sudo apt-get -y purge libsavvy-dev

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

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

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

Dependencies

libsavvy-dev have the following dependencies:

References

Summary

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