How To Install ghc-double-conversion on Fedora 36
Introduction
In this tutorial we learn how to install ghc-double-conversion
on Fedora 36.
What is ghc-double-conversion
A library that performs fast, accurate conversion between double precision floating point and text. This library is implemented as bindings to the C++ ‘double-conversion’ library written by Florian Loitsch at Google <https The ‘Text’ versions of these functions are about 30 times faster than the default ‘show’ implementation for the ‘Double’ type. The ‘ByteString’ versions are /slower/ than the ‘Text’ versions; roughly half the speed. (This seems to be due to the cost of allocating ‘ByteString’ values via ‘malloc’.) As a final note, be aware that the ‘bytestring-show’ package is about 50% slower than simply using ‘show’.
We can use yum
or dnf
to install ghc-double-conversion
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-double-conversion.
Install ghc-double-conversion on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install ghc-double-conversion
using dnf
by running the following command:
sudo dnf -y install ghc-double-conversion
Install ghc-double-conversion on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install ghc-double-conversion
using yum
by running the following command:
sudo yum -y install ghc-double-conversion
How To Uninstall ghc-double-conversion on Fedora 36
To uninstall only the ghc-double-conversion
package we can use the following command:
sudo dnf remove ghc-double-conversion
ghc-double-conversion Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/724f63bf3e6516c1622ad2fa3e55e144aacae4
/usr/lib64/libHSdouble-conversion-2.0.2.0-LyOoAmJScaOLjcTJ76YB8b-ghc8.10.5.so
/usr/share/licenses/ghc-double-conversion
/usr/share/licenses/ghc-double-conversion/LICENSE
References
Summary
In this tutorial we learn how to install ghc-double-conversion
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).