How To Install libflint-arb2 on Ubuntu 18.04

In this tutorial we learn how to install libflint-arb2 on Ubuntu 18.04. libflint-arb2 is C library for arbitrary-precision ball arithmetic, shared library

Introduction

In this tutorial we learn how to install libflint-arb2 on Ubuntu 18.04.

What is libflint-arb2

libflint-arb2 is:

FLINT-ARB is a C library for high-performance arbitrary-precision floating-point ball (mid-rad interval) arithmetic. It supports complex numbers, polynomials, matrices, and evaluation of special functions, all with rigorous error bounding.

This package contains the shared library.

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

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

sudo apt-get update

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

sudo apt-get -y install libflint-arb2

Install libflint-arb2 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libflint-arb2

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

sudo aptitude -y install libflint-arb2

How To Uninstall libflint-arb2 on Ubuntu 18.04

To uninstall only the libflint-arb2 package we can use the following command:

sudo apt-get remove libflint-arb2

Uninstall libflint-arb2 And Its Dependencies

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

sudo apt-get -y autoremove libflint-arb2

Remove libflint-arb2 Configurations and Data

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

sudo apt-get -y purge libflint-arb2

Remove libflint-arb2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libflint-arb2

References

Summary

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