How To Install ghc-colour on Fedora 36
Introduction
In this tutorial we learn how to install ghc-colour
on Fedora 36.
What is ghc-colour
This package provides a data type for colors and transparency. Colors can be blended and composed. Various color spaces are supported. A module of color names (“Data.Colour.Names”) is provided.
We can use yum
or dnf
to install ghc-colour
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-colour.
Install ghc-colour 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
using dnf
by running the following command:
sudo dnf -y install ghc-colour
Install ghc-colour 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
using yum
by running the following command:
sudo yum -y install ghc-colour
How To Uninstall ghc-colour on Fedora 36
To uninstall only the ghc-colour
package we can use the following command:
sudo dnf remove ghc-colour
ghc-colour Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/5fd413f93a9067bb54dbfb70e78f22cb5bfe11
/usr/lib64/libHScolour-2.3.6-3UUgRTzi059JmZ2oC00Tg-ghc8.10.5.so
/usr/share/licenses/ghc-colour
/usr/share/licenses/ghc-colour/LICENSE
References
Summary
In this tutorial we learn how to install ghc-colour
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).