How To Install ghc-json on Fedora 36
Introduction
In this tutorial we learn how to install ghc-json
on Fedora 36.
What is ghc-json
This library provides a parser and pretty printer for converting between Haskell values and JSON.
We can use yum
or dnf
to install ghc-json
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-json.
Install ghc-json 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-json
using dnf
by running the following command:
sudo dnf -y install ghc-json
Install ghc-json 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-json
using yum
by running the following command:
sudo yum -y install ghc-json
How To Uninstall ghc-json on Fedora 36
To uninstall only the ghc-json
package we can use the following command:
sudo dnf remove ghc-json
ghc-json Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/56
/usr/lib/.build-id/56/47c5ace50dcaa5adfd6cb5b70a71d5562818da
/usr/lib64/libHSjson-0.10-6r9W2yie6t3H2fbZJVt1si-ghc8.10.5.so
/usr/share/licenses/ghc-json
/usr/share/licenses/ghc-json/LICENSE
References
Summary
In this tutorial we learn how to install ghc-json
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).