How To Install libgf-complete-dev on Ubuntu 18.04

In this tutorial we learn how to install libgf-complete-dev on Ubuntu 18.04. libgf-complete-dev is Galois Field Arithmetic - development files

Introduction

In this tutorial we learn how to install libgf-complete-dev on Ubuntu 18.04.

What is libgf-complete-dev

libgf-complete-dev is:

Galois Field arithmetic forms the backbone of erasure-coded storage systems, most famously the Reed-Solomon erasure code. A Galois Field is defined over w-bit words and is termed GF(2w). As such, the elements of a Galois Field are the integers 0, 1, . . ., 2^w − 1. Galois Field arithmetic defines addition and multiplication over these closed sets of integers in such a way that they work as you would hope they would work. Specifically, every number has a unique multiplicative inverse. Moreover, there is a value, typically the value 2, which has the property that you can enumerate all of the non-zero elements of the field by taking that value to successively higher powers.

This package contains the development files needed to build against the shared library.

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

sudo apt-get -y install libgf-complete-dev

Install libgf-complete-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgf-complete-dev

Install libgf-complete-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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libgf-complete-dev

How To Uninstall libgf-complete-dev on Ubuntu 18.04

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

sudo apt-get remove libgf-complete-dev

Uninstall libgf-complete-dev And Its Dependencies

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

sudo apt-get -y autoremove libgf-complete-dev

Remove libgf-complete-dev Configurations and Data

To remove libgf-complete-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libgf-complete-dev

Remove libgf-complete-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libgf-complete-dev

References

Summary

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