How To Install ghc-basement on Fedora 36

In this tutorial we learn how to install ghc-basement in Fedora 36. ghc-basement is Foundation scrap box of array & string

Introduction

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

What is ghc-basement

Foundation most basic primitives without any dependencies.

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

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

sudo dnf -y install ghc-basement

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

sudo yum -y install ghc-basement

How To Uninstall ghc-basement on Fedora 36

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

sudo dnf remove ghc-basement

ghc-basement Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/57d077c036b6aca69f17457ef2748f88f9008d
/usr/lib64/libHSbasement-0.0.12-I5rgpQyLmajwT0dUlA8hE-ghc8.10.5.so
/usr/share/licenses/ghc-basement
/usr/share/licenses/ghc-basement/LICENSE

References

Summary

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