How To Install libdouble-conversion3 on Debian 11

In this tutorial we learn how to install libdouble-conversion3 on Debian 11. libdouble-conversion3 is routines to convert IEEE floats to and from strings

Introduction

In this tutorial we learn how to install libdouble-conversion3 on Debian 11.

What is libdouble-conversion3

libdouble-conversion3 is:

This library provides routines to convert IEEE single and double floats to and from string representations. It offers at lot of flexibility with respect to the conversion format: shortest, fixed, precision or exponential representation; decimal, octal or hexadecimal basis; control over number of digits, leading/trailing zeros and spaces.

The library consists of efficient conversion routines that have been extracted from the V8 JavaScript engine. The code has been refactored and improved so that it can be used more easily in other projects.

This package contains a shared version of the library.

There are three methods to install libdouble-conversion3 on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libdouble-conversion3 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libdouble-conversion3

Install libdouble-conversion3 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdouble-conversion3

Install libdouble-conversion3 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libdouble-conversion3 using aptitude by running the following command:

sudo aptitude -y install libdouble-conversion3

How To Uninstall libdouble-conversion3 on Debian 11

To uninstall only the libdouble-conversion3 package we can use the following command:

sudo apt-get remove libdouble-conversion3

Uninstall libdouble-conversion3 And Its Dependencies

To uninstall libdouble-conversion3 and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove libdouble-conversion3

Remove libdouble-conversion3 Configurations and Data

To remove libdouble-conversion3 configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge libdouble-conversion3

Remove libdouble-conversion3 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libdouble-conversion3

Dependencies

libdouble-conversion3 have the following dependencies:

References

Summary

In this tutorial we learn how to install libdouble-conversion3 package on Debian 11 using different package management tools: apt, apt-get and aptitude.