How To Install ghc-gi-cairo-prof on Fedora 36

In this tutorial we learn how to install ghc-gi-cairo-prof in Fedora 36. ghc-gi-cairo-prof is Haskell gi-cairo profiling library

Introduction

In this tutorial we learn how to install ghc-gi-cairo-prof on Fedora 36.

What is ghc-gi-cairo-prof

This package provides the Haskell gi-cairo profiling library.

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

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

sudo dnf -y install ghc-gi-cairo-prof

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

sudo yum -y install ghc-gi-cairo-prof

How To Uninstall ghc-gi-cairo-prof on Fedora 36

To uninstall only the ghc-gi-cairo-prof package we can use the following command:

sudo dnf remove ghc-gi-cairo-prof

ghc-gi-cairo-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/gi-cairo-1.0.25/GI/Cairo.p_hi
/usr/lib64/ghc-8.10.5/gi-cairo-1.0.25/GI/Cairo/Config.p_hi
/usr/lib64/ghc-8.10.5/gi-cairo-1.0.25/GI/Cairo/Enums.p_hi
/usr/lib64/ghc-8.10.5/gi-cairo-1.0.25/GI/Cairo/Functions.p_hi
/usr/lib64/ghc-8.10.5/gi-cairo-1.0.25/GI/Cairo/Structs.p_hi
/usr/lib64/ghc-8.10.5/gi-cairo-1.0.25/GI/Cairo/Structs/Context.p_hi
/usr/lib64/ghc-8.10.5/gi-cairo-1.0.25/GI/Cairo/Structs/Device.p_hi
/usr/lib64/ghc-8.10.5/gi-cairo-1.0.25/GI/Cairo/Structs/FontFace.p_hi
/usr/lib64/ghc-8.10.5/gi-cairo-1.0.25/GI/Cairo/Structs/FontOptions.p_hi
/usr/lib64/ghc-8.10.5/gi-cairo-1.0.25/GI/Cairo/Structs/Matrix.p_hi
/usr/lib64/ghc-8.10.5/gi-cairo-1.0.25/GI/Cairo/Structs/Path.p_hi
/usr/lib64/ghc-8.10.5/gi-cairo-1.0.25/GI/Cairo/Structs/Pattern.p_hi
/usr/lib64/ghc-8.10.5/gi-cairo-1.0.25/GI/Cairo/Structs/Rectangle.p_hi
/usr/lib64/ghc-8.10.5/gi-cairo-1.0.25/GI/Cairo/Structs/RectangleInt.p_hi
/usr/lib64/ghc-8.10.5/gi-cairo-1.0.25/GI/Cairo/Structs/Region.p_hi
/usr/lib64/ghc-8.10.5/gi-cairo-1.0.25/GI/Cairo/Structs/ScaledFont.p_hi
/usr/lib64/ghc-8.10.5/gi-cairo-1.0.25/GI/Cairo/Structs/Surface.p_hi
/usr/lib64/ghc-8.10.5/gi-cairo-1.0.25/libHSgi-cairo-1.0.25-4crmAXhUturIYhQEU7OKtc_p.a

References

Summary

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