How To Install libdouble-conversion-dev on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libdouble-conversion-dev
on Ubuntu 20.04.
What is libdouble-conversion-dev
libdouble-conversion-dev 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 static version of the library and development headers.
There are three methods to install libdouble-conversion-dev
on Ubuntu 20.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 libdouble-conversion-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 libdouble-conversion-dev
using apt-get
by running the following command:
sudo apt-get -y install libdouble-conversion-dev
Install libdouble-conversion-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libdouble-conversion-dev
using apt
by running the following command:
sudo apt -y install libdouble-conversion-dev
Install libdouble-conversion-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 libdouble-conversion-dev
using aptitude
by running the following command:
sudo aptitude -y install libdouble-conversion-dev
How To Uninstall libdouble-conversion-dev on Ubuntu 20.04
To uninstall only the libdouble-conversion-dev
package we can use the following command:
sudo apt-get remove libdouble-conversion-dev
Uninstall libdouble-conversion-dev And Its Dependencies
To uninstall libdouble-conversion-dev
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libdouble-conversion-dev
Remove libdouble-conversion-dev Configurations and Data
To remove libdouble-conversion-dev
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libdouble-conversion-dev
Remove libdouble-conversion-dev configuration, data, and all of its dependencies
We can use the following command to remove libdouble-conversion-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdouble-conversion-dev
References
Summary
In this tutorial we learn how to install libdouble-conversion-dev
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.