How To Install libgetdata-perl on Ubuntu 18.04

In this tutorial we learn how to install libgetdata-perl on Ubuntu 18.04. libgetdata-perl is library to read/write dirfile data - perl bindings

Introduction

In this tutorial we learn how to install libgetdata-perl on Ubuntu 18.04.

What is libgetdata-perl

libgetdata-perl is:

The GetData Project is the reference implementation of the Dirfile Standards, a filesystem-based, column-oriented database format for time-ordered binary data. The Dirfile database format is designed to provide a fast, simple format for storing and reading data.

There are three methods to install libgetdata-perl 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 libgetdata-perl Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libgetdata-perl using apt-get by running the following command:

sudo apt-get -y install libgetdata-perl

Install libgetdata-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgetdata-perl

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

sudo aptitude -y install libgetdata-perl

How To Uninstall libgetdata-perl on Ubuntu 18.04

To uninstall only the libgetdata-perl package we can use the following command:

sudo apt-get remove libgetdata-perl

Uninstall libgetdata-perl And Its Dependencies

To uninstall libgetdata-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libgetdata-perl

Remove libgetdata-perl Configurations and Data

To remove libgetdata-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libgetdata-perl

Remove libgetdata-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libgetdata-perl

References

Summary

In this tutorial we learn how to install libgetdata-perl package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.