How To Install libvcflib-tools on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libvcflib-tools
on Ubuntu 18.04.
What is libvcflib-tools
libvcflib-tools 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 several tools using the library.
There are three methods to install libvcflib-tools
on Ubuntu 18.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 libvcflib-tools 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-tools
using apt-get
by running the following command:
sudo apt-get -y install libvcflib-tools
Install libvcflib-tools Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libvcflib-tools
using apt
by running the following command:
sudo apt -y install libvcflib-tools
Install libvcflib-tools 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 libvcflib-tools
using aptitude
by running the following command:
sudo aptitude -y install libvcflib-tools
How To Uninstall libvcflib-tools on Ubuntu 18.04
To uninstall only the libvcflib-tools
package we can use the following command:
sudo apt-get remove libvcflib-tools
Uninstall libvcflib-tools And Its Dependencies
To uninstall libvcflib-tools
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libvcflib-tools
Remove libvcflib-tools Configurations and Data
To remove libvcflib-tools
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libvcflib-tools
Remove libvcflib-tools configuration, data, and all of its dependencies
We can use the following command to remove libvcflib-tools
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libvcflib-tools
References
Summary
In this tutorial we learn how to install libvcflib-tools
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.