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