How To Install ghc-X11-prof on Fedora 36

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

Introduction

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

What is ghc-X11-prof

This package provides the Haskell X11 profiling library.

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

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

sudo dnf -y install ghc-X11-prof

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

sudo yum -y install ghc-X11-prof

How To Uninstall ghc-X11-prof on Fedora 36

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

sudo dnf remove ghc-X11-prof

ghc-X11-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/ExtraTypes.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/ExtraTypes/AP.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/ExtraTypes/DEC.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/ExtraTypes/HP.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/ExtraTypes/Sun.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/ExtraTypes/XF86.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/ExtraTypes/XorgDefault.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/Types.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/XScreenSaver.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/Xinerama.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/Xlib.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/Xlib/Atom.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/Xlib/Color.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/Xlib/Context.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/Xlib/Cursor.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/Xlib/Display.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/Xlib/Event.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/Xlib/Extras.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/Xlib/Font.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/Xlib/Image.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/Xlib/Internal.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/Xlib/Misc.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/Xlib/Region.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/Xlib/Screen.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/Xlib/Types.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/Xlib/Window.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/Graphics/X11/Xrandr.p_hi
/usr/lib64/ghc-8.10.5/X11-1.10/libHSX11-1.10-EqtunLmgnzYJPr2Zt9iwVQ_p.a

References

Summary

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