How To Install ghc-aeson-yaml on Fedora 36
Introduction
In this tutorial we learn how to install ghc-aeson-yaml
on Fedora 36.
What is ghc-aeson-yaml
This library exposes functions for encoding any Aeson value as YAML. There is also support for encoding multiple values into YAML “documents”. This library is pure Haskell, and does not depend on C FFI with libyaml. It is also licensed under the BSD3 license.
We can use yum
or dnf
to install ghc-aeson-yaml
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-aeson-yaml.
Install ghc-aeson-yaml 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-aeson-yaml
using dnf
by running the following command:
sudo dnf -y install ghc-aeson-yaml
Install ghc-aeson-yaml 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-aeson-yaml
using yum
by running the following command:
sudo yum -y install ghc-aeson-yaml
How To Uninstall ghc-aeson-yaml on Fedora 36
To uninstall only the ghc-aeson-yaml
package we can use the following command:
sudo dnf remove ghc-aeson-yaml
ghc-aeson-yaml Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/b3936f6465b608a15632148976efe136f6b300
/usr/lib64/libHSaeson-yaml-1.1.0.0-1Jg6hmctmxdIUKNWwzl0Ny-ghc8.10.5.so
/usr/share/licenses/ghc-aeson-yaml
/usr/share/licenses/ghc-aeson-yaml/LICENSE
References
Summary
In this tutorial we learn how to install ghc-aeson-yaml
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).