How To Install ghc-uri on Fedora 36

In this tutorial we learn how to install ghc-uri in Fedora 36. ghc-uri is Library for working with URIs

Introduction

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

What is ghc-uri

Library for working with URIs, including parsing, rendering, merging, escaping.

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

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

sudo dnf -y install ghc-uri

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

sudo yum -y install ghc-uri

How To Uninstall ghc-uri on Fedora 36

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

sudo dnf remove ghc-uri

ghc-uri Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/24
/usr/lib/.build-id/24/eb3c84cd41b198053952d2da9c076fd96f4637
/usr/lib64/libHSuri-0.1.6.5-GhvohmUkxUSC9TV8Y9ZruB-ghc8.10.5.so
/usr/share/licenses/ghc-uri
/usr/share/licenses/ghc-uri/COPYING

References

Summary

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