How To Install ghc-unix-devel on Fedora 36

In this tutorial we learn how to install ghc-unix-devel in Fedora 36. ghc-unix-devel is Haskell unix library development files

Introduction

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

What is ghc-unix-devel

This package provides the Haskell unix library development files.

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

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

sudo dnf -y install ghc-unix-devel

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

sudo yum -y install ghc-unix-devel

How To Uninstall ghc-unix-devel on Fedora 36

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

sudo dnf remove ghc-unix-devel

ghc-unix-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/package.conf.d/unix-2.7.2.2.conf
/usr/lib64/ghc-8.10.5/unix-2.7.2.2
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/HSunix-2.7.2.2.o
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/HSunix-2.7.2.2.p_o
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/ByteString
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/ByteString.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/ByteString.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/ByteString/FilePath.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/ByteString/FilePath.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Directory
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Directory.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Directory.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Directory/ByteString.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Directory/ByteString.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Directory/Common.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Directory/Common.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/DynamicLinker
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/DynamicLinker.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/DynamicLinker.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/DynamicLinker/ByteString.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/DynamicLinker/ByteString.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/DynamicLinker/Common.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/DynamicLinker/Common.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/DynamicLinker/Module
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/DynamicLinker/Module.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/DynamicLinker/Module.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/DynamicLinker/Module/ByteString.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/DynamicLinker/Module/ByteString.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/DynamicLinker/Prim.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/DynamicLinker/Prim.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Env
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Env.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Env.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Env/ByteString.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Env/ByteString.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Error.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Error.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Fcntl.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Fcntl.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Files
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Files.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Files.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Files/ByteString.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Files/ByteString.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Files/Common.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Files/Common.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/IO
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/IO.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/IO.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/IO/ByteString.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/IO/ByteString.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/IO/Common.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/IO/Common.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Process
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Process.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Process.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Process/ByteString.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Process/ByteString.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Process/Common.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Process/Common.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Process/Internals.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Process/Internals.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Resource.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Resource.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Semaphore.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Semaphore.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/SharedMem.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/SharedMem.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Signals
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Signals.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Signals.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Signals/Exts.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Signals/Exts.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Temp
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Temp.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Temp.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Temp/ByteString.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Temp/ByteString.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Terminal
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Terminal.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Terminal.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Terminal/ByteString.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Terminal/ByteString.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Terminal/Common.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Terminal/Common.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Time.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Time.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Unistd.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/Unistd.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/User.dyn_hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/System/Posix/User.hi
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/include
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/include/HsUnix.h
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/include/HsUnixConfig.h
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/include/execvpe.h
/usr/lib64/ghc-8.10.5/unix-2.7.2.2/libHSunix-2.7.2.2.a

References

Summary

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