How To Install sollya on Ubuntu 18.04

In this tutorial we learn how to install sollya on Ubuntu 18.04. sollya is library for safe floating-point code development – tool

Introduction

In this tutorial we learn how to install sollya on Ubuntu 18.04.

What is sollya

sollya is:

Sollya is both a tool environment and a library for safe floating-point code development. It offers a convenient way to perform computations with multiple precision interval arithmetic. It is particularly targeted to the automated implementation of mathematical floating-point libraries.

Initially, Sollya was intended more specifically for people implementing numerical functions in mathematical libraries (e.g., exp, arccos, tanh, etc.). Since then, the tool has evolved and has now become interesting not only to developers of mathematical libraries, but also to everyone who needs to perform numerical experiments in an environment that is safe with respect to round-off errors.

This package provides the command-line tool sollya.

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

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

sudo apt-get update

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

sudo apt-get -y install sollya

Install sollya Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install sollya using apt by running the following command:

sudo apt -y install sollya

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

sudo aptitude -y install sollya

How To Uninstall sollya on Ubuntu 18.04

To uninstall only the sollya package we can use the following command:

sudo apt-get remove sollya

Uninstall sollya And Its Dependencies

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

sudo apt-get -y autoremove sollya

Remove sollya Configurations and Data

To remove sollya configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge sollya

Remove sollya configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge sollya

References

Summary

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