How To Install libgivaro-dev on Ubuntu 18.04

In this tutorial we learn how to install libgivaro-dev on Ubuntu 18.04. libgivaro-dev is arithmetic and algebraic computations - development files

Introduction

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

What is libgivaro-dev

libgivaro-dev is:

Givaro is a C++ library for arithmetic and algebraic computations. Its main features are implementations of the basic arithmetic of many mathematical entities: Primes fields, Extensions Fields, Finite Fields, Finite Rings, Polynomials, Algebraic numbers, and Arbitrary precision integers and rationals (C++ wrappers over gmp).

Givaro also provides data-structures and templated classes for the manipulation of basic algebraic objects, such as vectors, matrices (dense, sparse, structured), univariate polynomials (and therefore recursive multivariate).

It contains different program modules and is fully compatible with the LinBox linear algebra library and the Athapascan environment, which permits parallel programming.

This package contains development files for Givaro.

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

sudo apt-get -y install libgivaro-dev

Install libgivaro-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgivaro-dev

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

sudo aptitude -y install libgivaro-dev

How To Uninstall libgivaro-dev on Ubuntu 18.04

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

sudo apt-get remove libgivaro-dev

Uninstall libgivaro-dev And Its Dependencies

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

sudo apt-get -y autoremove libgivaro-dev

Remove libgivaro-dev Configurations and Data

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

sudo apt-get -y purge libgivaro-dev

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

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

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

References

Summary

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