How To Install ghc-X11 on Fedora 36
Introduction
In this tutorial we learn how to install ghc-X11
on Fedora 36.
What is ghc-X11
A Haskell binding to the X11 graphics library. The binding is a direct translation of the C binding; for documentation of these calls, refer to “The Xlib Programming Manual”, available online at <http
We can use yum
or dnf
to install ghc-X11
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-X11.
Install ghc-X11 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-X11
using dnf
by running the following command:
sudo dnf -y install ghc-X11
Install ghc-X11 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-X11
using yum
by running the following command:
sudo yum -y install ghc-X11
How To Uninstall ghc-X11 on Fedora 36
To uninstall only the ghc-X11
package we can use the following command:
sudo dnf remove ghc-X11
ghc-X11 Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/8999f70c162e10d47601a2f81fe1061c09f1fe
/usr/lib64/libHSX11-1.10-EqtunLmgnzYJPr2Zt9iwVQ-ghc8.10.5.so
/usr/share/licenses/ghc-X11
/usr/share/licenses/ghc-X11/LICENSE
References
Summary
In this tutorial we learn how to install ghc-X11
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).