How To Install ghc-nanospec on Fedora 36
Introduction
In this tutorial we learn how to install ghc-nanospec
on Fedora 36.
What is ghc-nanospec
A lightweight implementation of a subset of Hspec’s API with minimal dependencies.
We can use yum
or dnf
to install ghc-nanospec
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-nanospec.
Install ghc-nanospec 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-nanospec
using dnf
by running the following command:
sudo dnf -y install ghc-nanospec
Install ghc-nanospec 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-nanospec
using yum
by running the following command:
sudo yum -y install ghc-nanospec
How To Uninstall ghc-nanospec on Fedora 36
To uninstall only the ghc-nanospec
package we can use the following command:
sudo dnf remove ghc-nanospec
ghc-nanospec Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/39
/usr/lib/.build-id/39/795da8a02fd7f0947da3c343b19a24e3233967
/usr/lib64/libHSnanospec-0.2.2-E7XWa7JDlgXIczJlGBJwYx-ghc8.10.5.so
/usr/share/licenses/ghc-nanospec
/usr/share/licenses/ghc-nanospec/LICENSE
References
Summary
In this tutorial we learn how to install ghc-nanospec
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).