How To Install ghc-url on Fedora 36

In this tutorial we learn how to install ghc-url in Fedora 36. ghc-url is A library for working with URLs

Introduction

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

What is ghc-url

A library for working with URLs.

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

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

sudo dnf -y install ghc-url

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

sudo yum -y install ghc-url

How To Uninstall ghc-url on Fedora 36

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

sudo dnf remove ghc-url

ghc-url Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/8c2dcf310ab464b824ce8e9b35120c4e4b0d31
/usr/lib64/libHSurl-2.1.3-9ToclYnkt4zJRtztn9COWK-ghc8.10.5.so
/usr/share/licenses/ghc-url
/usr/share/licenses/ghc-url/LICENSE

References

Summary

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