How To Install ghc-Decimal on Fedora 36
Introduction
In this tutorial we learn how to install ghc-Decimal
on Fedora 36.
What is ghc-Decimal
A decimal number has an integer mantissa and a negative exponent. The exponent can be interpreted as the number of decimal places in the value.
We can use yum
or dnf
to install ghc-Decimal
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-Decimal.
Install ghc-Decimal 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-Decimal
using dnf
by running the following command:
sudo dnf -y install ghc-Decimal
Install ghc-Decimal 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-Decimal
using yum
by running the following command:
sudo yum -y install ghc-Decimal
How To Uninstall ghc-Decimal on Fedora 36
To uninstall only the ghc-Decimal
package we can use the following command:
sudo dnf remove ghc-Decimal
ghc-Decimal Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/01f0c258995530bced78ea38cf5ad5993ad776
/usr/lib64/libHSDecimal-0.5.2-9CkbMZoaE9qJfkAAbPqMO8-ghc8.10.5.so
/usr/share/licenses/ghc-Decimal
/usr/share/licenses/ghc-Decimal/LICENSE.txt
References
Summary
In this tutorial we learn how to install ghc-Decimal
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).