How To Install ghc-serialise on Fedora 36
Introduction
In this tutorial we learn how to install ghc-serialise
on Fedora 36.
What is ghc-serialise
This package (formerly ‘binary-serialise-cbor’) provides pure, efficient serialization of Haskell values directly into ‘ByteString’s for storage or transmission purposes. By providing a set of type class instances, you can also serialise any custom data type you have as well. The underlying binary format used is the ‘Concise Binary Object Representation’, or CBOR, specified in RFC 7049. As a result, serialised Haskell values have implicit structure outside of the Haskell program itself, meaning they can be inspected or analyzed without custom tools. An implementation of the standard bijection between CBOR and JSON is provided by the cborg-json package. Also see cbor-tool for a convenient command-line utility for working with CBOR data.
We can use yum
or dnf
to install ghc-serialise
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-serialise.
Install ghc-serialise 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-serialise
using dnf
by running the following command:
sudo dnf -y install ghc-serialise
Install ghc-serialise 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-serialise
using yum
by running the following command:
sudo yum -y install ghc-serialise
How To Uninstall ghc-serialise on Fedora 36
To uninstall only the ghc-serialise
package we can use the following command:
sudo dnf remove ghc-serialise
ghc-serialise Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/f6fe479a240ae6f5b9b7b004b5912ca72c8806
/usr/lib64/libHSserialise-0.2.3.0-wDJ7BtqDGwDAntnxClDIO-ghc8.10.5.so
/usr/share/licenses/ghc-serialise
/usr/share/licenses/ghc-serialise/LICENSE.txt
References
Summary
In this tutorial we learn how to install ghc-serialise
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).