How To Install ghc-gi-cairo on Fedora 36
Introduction
In this tutorial we learn how to install ghc-gi-cairo
on Fedora 36.
What is ghc-gi-cairo
Bindings for Cairo, autogenerated by haskell-gi.
We can use yum
or dnf
to install ghc-gi-cairo
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-gi-cairo.
Install ghc-gi-cairo 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
using dnf
by running the following command:
sudo dnf -y install ghc-gi-cairo
Install ghc-gi-cairo 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
using yum
by running the following command:
sudo yum -y install ghc-gi-cairo
How To Uninstall ghc-gi-cairo on Fedora 36
To uninstall only the ghc-gi-cairo
package we can use the following command:
sudo dnf remove ghc-gi-cairo
ghc-gi-cairo Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/dcf097fb9a8676ff66fa5e973a913c2346cddc
/usr/lib64/libHSgi-cairo-1.0.25-4crmAXhUturIYhQEU7OKtc-ghc8.10.5.so
/usr/share/licenses/ghc-gi-cairo
/usr/share/licenses/ghc-gi-cairo/LICENSE
References
Summary
In this tutorial we learn how to install ghc-gi-cairo
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).