How To Install ghc-integer-logarithms on Fedora 36

In this tutorial we learn how to install ghc-integer-logarithms in Fedora 36. ghc-integer-logarithms is Integer logarithms

Introduction

In this tutorial we learn how to install ghc-integer-logarithms on Fedora 36.

What is ghc-integer-logarithms

“Math.NumberTheory.Logarithms” and “Math.NumberTheory.Powers.Integer” from the arithmoi package. Also provides “GHC.Integer.Logarithms.Compat” and “Math.NumberTheory.Power.Natural” modules, as well as some additional functions in migrated modules.

We can use yum or dnf to install ghc-integer-logarithms on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-integer-logarithms.

Install ghc-integer-logarithms 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-integer-logarithms using dnf by running the following command:

sudo dnf -y install ghc-integer-logarithms

Install ghc-integer-logarithms 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-integer-logarithms using yum by running the following command:

sudo yum -y install ghc-integer-logarithms

How To Uninstall ghc-integer-logarithms on Fedora 36

To uninstall only the ghc-integer-logarithms package we can use the following command:

sudo dnf remove ghc-integer-logarithms

ghc-integer-logarithms Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/74
/usr/lib/.build-id/74/f5106140305b0ec4c06fe83d258b62e9580a0b
/usr/lib64/libHSinteger-logarithms-1.0.3.1-JdgTo8TuEi7GJLFkpW7C4m-ghc8.10.5.so
/usr/share/licenses/ghc-integer-logarithms
/usr/share/licenses/ghc-integer-logarithms/LICENSE

References

Summary

In this tutorial we learn how to install ghc-integer-logarithms on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).