How To Install ghc-colour-prof on Fedora 36

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

Introduction

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

What is ghc-colour-prof

This package provides the Haskell colour profiling library.

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

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

sudo dnf -y install ghc-colour-prof

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

sudo yum -y install ghc-colour-prof

How To Uninstall ghc-colour-prof on Fedora 36

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

sudo dnf remove ghc-colour-prof

ghc-colour-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/colour-2.3.6/Data/Colour.p_hi
/usr/lib64/ghc-8.10.5/colour-2.3.6/Data/Colour/CIE.p_hi
/usr/lib64/ghc-8.10.5/colour-2.3.6/Data/Colour/CIE/Chromaticity.p_hi
/usr/lib64/ghc-8.10.5/colour-2.3.6/Data/Colour/CIE/Illuminant.p_hi
/usr/lib64/ghc-8.10.5/colour-2.3.6/Data/Colour/Chan.p_hi
/usr/lib64/ghc-8.10.5/colour-2.3.6/Data/Colour/Internal.p_hi
/usr/lib64/ghc-8.10.5/colour-2.3.6/Data/Colour/Matrix.p_hi
/usr/lib64/ghc-8.10.5/colour-2.3.6/Data/Colour/Names.p_hi
/usr/lib64/ghc-8.10.5/colour-2.3.6/Data/Colour/RGB.p_hi
/usr/lib64/ghc-8.10.5/colour-2.3.6/Data/Colour/RGBSpace.p_hi
/usr/lib64/ghc-8.10.5/colour-2.3.6/Data/Colour/RGBSpace/HSL.p_hi
/usr/lib64/ghc-8.10.5/colour-2.3.6/Data/Colour/RGBSpace/HSV.p_hi
/usr/lib64/ghc-8.10.5/colour-2.3.6/Data/Colour/SRGB.p_hi
/usr/lib64/ghc-8.10.5/colour-2.3.6/Data/Colour/SRGB/Linear.p_hi
/usr/lib64/ghc-8.10.5/colour-2.3.6/libHScolour-2.3.6-3UUgRTzi059JmZ2oC00Tg_p.a

References

Summary

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