How To Install ghc-generics-sop on Fedora 36
Introduction
In this tutorial we learn how to install ghc-generics-sop
on Fedora 36.
What is ghc-generics-sop
A library to support the definition of generic functions. Datatypes are viewed in a uniform, structured way using an n-ary sum, and the arguments of each constructor are represented using an n-ary product. The module “Generics.SOP” is the main module of this library and contains more detailed documentation. Since version 0.4.0.0, this package is now based on ‘<https contains all the functionality of n-ary sums and products, whereas this package provides the datatype-generic programming support on top. Examples of using this library are provided by the following packages * ‘<https * ‘<https printing, * ‘<https computed lenses, * ‘<https conversions. A detailed description of the ideas behind this library is provided by the paper * Edsko de Vries and Andres Löh. <http Workshop on Generic Programming (WGP) 2014.
We can use yum
or dnf
to install ghc-generics-sop
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-generics-sop.
Install ghc-generics-sop 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-generics-sop
using dnf
by running the following command:
sudo dnf -y install ghc-generics-sop
Install ghc-generics-sop 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-generics-sop
using yum
by running the following command:
sudo yum -y install ghc-generics-sop
How To Uninstall ghc-generics-sop on Fedora 36
To uninstall only the ghc-generics-sop
package we can use the following command:
sudo dnf remove ghc-generics-sop
ghc-generics-sop Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/bc0ab09ac21355879bd92443d16f25a9326c74
/usr/lib64/libHSgenerics-sop-0.5.1.1-JtNDPIT1a4JCUAggfmCZD9-ghc8.10.5.so
/usr/share/licenses/ghc-generics-sop
/usr/share/licenses/ghc-generics-sop/LICENSE
References
Summary
In this tutorial we learn how to install ghc-generics-sop
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).