How To Install ghc-semver on Fedora 36

In this tutorial we learn how to install ghc-semver in Fedora 36. ghc-semver is Representation, manipulation, and de/serialisation of Semantic Versions

Introduction

In this tutorial we learn how to install ghc-semver on Fedora 36.

What is ghc-semver

Representation, manipulation, and de/serialisation of a Version type following the Semantic Versioning specification. For more information see

We can use yum or dnf to install ghc-semver on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-semver.

Install ghc-semver 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-semver using dnf by running the following command:

sudo dnf -y install ghc-semver

Install ghc-semver 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-semver using yum by running the following command:

sudo yum -y install ghc-semver

How To Uninstall ghc-semver on Fedora 36

To uninstall only the ghc-semver package we can use the following command:

sudo dnf remove ghc-semver

ghc-semver Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/5b32e1233ec9f48aace15f53b4b7261ecf4991
/usr/lib64/libHSsemver-0.4.0.1-JqmpdsdcbjxGMdp6CtywaV-ghc8.10.5.so
/usr/share/licenses/ghc-semver
/usr/share/licenses/ghc-semver/LICENSE

References

Summary

In this tutorial we learn how to install ghc-semver on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).