How To Install ghc-filelock on Fedora 36
Introduction
In this tutorial we learn how to install ghc-filelock
on Fedora 36.
What is ghc-filelock
This package provides the Haskell filelock library.
We can use yum
or dnf
to install ghc-filelock
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-filelock.
Install ghc-filelock 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-filelock
using dnf
by running the following command:
sudo dnf -y install ghc-filelock
Install ghc-filelock 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-filelock
using yum
by running the following command:
sudo yum -y install ghc-filelock
How To Uninstall ghc-filelock on Fedora 36
To uninstall only the ghc-filelock
package we can use the following command:
sudo dnf remove ghc-filelock
ghc-filelock Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/59
/usr/lib/.build-id/59/c6f7520410102dd54cfc86d70fdf3bf79436be
/usr/lib64/libHSfilelock-0.1.1.5-FbfhEN3DNFHJQ8xWsQRW7c-ghc8.10.5.so
/usr/share/licenses/ghc-filelock
/usr/share/licenses/ghc-filelock/LICENSE
References
Summary
In this tutorial we learn how to install ghc-filelock
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).