How To Install ghc-cborg on Fedora 36
Introduction
In this tutorial we learn how to install ghc-cborg
on Fedora 36.
What is ghc-cborg
This package provides an efficient implementation of the Concise Binary Object Representation (CBOR), as specified by [RFC 7049](https If you are looking for a library for serialisation of Haskell values, have a look at the serialise package, which is built upon this library. 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. This package was formerly known as ‘binary-serialise-cbor’.
We can use yum
or dnf
to install ghc-cborg
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-cborg.
Install ghc-cborg 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-cborg
using dnf
by running the following command:
sudo dnf -y install ghc-cborg
Install ghc-cborg 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-cborg
using yum
by running the following command:
sudo yum -y install ghc-cborg
How To Uninstall ghc-cborg on Fedora 36
To uninstall only the ghc-cborg
package we can use the following command:
sudo dnf remove ghc-cborg
ghc-cborg Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/869c47cf3cb267a9ff5c09350b408ca6c1c73f
/usr/lib64/libHScborg-0.2.5.0-4aWBd6WW3yyLJEh8E3tX9l-ghc8.10.5.so
/usr/share/licenses/ghc-cborg
/usr/share/licenses/ghc-cborg/LICENSE.txt
References
Summary
In this tutorial we learn how to install ghc-cborg
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).