How To Install ghc-modern-uri on Fedora 36

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

Introduction

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

What is ghc-modern-uri

Modern library for working with URIs.

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

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

sudo dnf -y install ghc-modern-uri

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

sudo yum -y install ghc-modern-uri

How To Uninstall ghc-modern-uri on Fedora 36

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

sudo dnf remove ghc-modern-uri

ghc-modern-uri Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/38d0b2d7a9e20e76f1ddd27bfa48115e1283bb
/usr/lib64/libHSmodern-uri-0.3.4.1-4XLVUEuKof1BkUB4Wh8yy6-ghc8.10.5.so
/usr/share/licenses/ghc-modern-uri
/usr/share/licenses/ghc-modern-uri/LICENSE.md

References

Summary

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