How To Install libvcflib-dev on Debian 10

Learn how to install libvcflib-dev on Debian 10 with this tutorial. libvcflib-dev is C++ library for parsing and manipulating VCF files (development)

Introduction

In this tutorial we learn how to install libvcflib-dev on Debian 10.

What is libvcflib-dev

libvcflib-dev is:

The Variant Call Format (VCF) is a flat-file, tab-delimited textual format intended to concisely describe reference-indexed variations between individuals. VCF provides a common interchange format for the description of variation in individuals and populations of samples, and has become the defacto standard reporting format for a wide array of genomic variant detectors.

vcflib provides methods to manipulate and interpret sequence variation as it can be described by VCF. It is both:

  • an API for parsing and operating on records of genomic variation as it can be described by the VCF format,
  • and a collection of command-line utilities for executing complex manipulations on VCF files.

This package contains the static library and the header files.

There are three methods to install libvcflib-dev on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libvcflib-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 libvcflib-dev using apt-get by running the following command:

sudo apt-get -y install libvcflib-dev

Install libvcflib-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libvcflib-dev

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

sudo aptitude -y install libvcflib-dev

How To Uninstall libvcflib-dev on Debian 10

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

sudo apt-get remove libvcflib-dev

Uninstall libvcflib-dev And Its Dependencies

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

sudo apt-get -y autoremove libvcflib-dev

Remove libvcflib-dev Configurations and Data

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

sudo apt-get -y purge libvcflib-dev

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

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

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

Dependencies

libvcflib-dev have the following dependencies:

References

Summary

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