How To Install ghc-unix-prof on Fedora 36

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

Introduction

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

What is ghc-unix-prof

This package provides the Haskell unix profiling library.

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

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

sudo dnf -y install ghc-unix-prof

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

sudo yum -y install ghc-unix-prof

How To Uninstall ghc-unix-prof on Fedora 36

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

sudo dnf remove ghc-unix-prof

ghc-unix-prof Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/ByteString.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/ByteString/FilePath.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Directory.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Directory/ByteString.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Directory/Common.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/DynamicLinker.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/DynamicLinker/ByteString.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/DynamicLinker/Common.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/DynamicLinker/Module.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/DynamicLinker/Module/ByteString.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/DynamicLinker/Prim.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Env.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Env/ByteString.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Error.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Fcntl.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Files.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Files/ByteString.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Files/Common.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/IO.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/IO/ByteString.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/IO/Common.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Process.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Process/ByteString.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Process/Common.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Process/Internals.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Resource.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Semaphore.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/SharedMem.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Signals.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Signals/Exts.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Temp.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Temp/ByteString.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Terminal.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Terminal/ByteString.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Terminal/Common.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Time.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Unistd.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/User.p_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/libHSunix-2.7.2.2_p.a

References

Summary

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