How To Install python-pygetdata on Ubuntu 18.04

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

Introduction

In this tutorial we learn how to install python-pygetdata on Ubuntu 18.04.

What is python-pygetdata

python-pygetdata 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 python-pygetdata 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 python-pygetdata Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install python-pygetdata

Install python-pygetdata Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-pygetdata

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

sudo aptitude -y install python-pygetdata

How To Uninstall python-pygetdata on Ubuntu 18.04

To uninstall only the python-pygetdata package we can use the following command:

sudo apt-get remove python-pygetdata

Uninstall python-pygetdata And Its Dependencies

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

sudo apt-get -y autoremove python-pygetdata

Remove python-pygetdata Configurations and Data

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

sudo apt-get -y purge python-pygetdata

Remove python-pygetdata configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-pygetdata

References

Summary

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