How To Install ghc-unix-compat-devel on CentOS 7

In this tutorial we learn how to install ghc-unix-compat-devel on CentOS 7. ghc-unix-compat-devel is Haskell unix-compat library development files

Introduction

In this tutorial we learn how to install ghc-unix-compat-devel on CentOS 7.

What is ghc-unix-compat-devel

This package provides the Haskell unix-compat library development files.

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

Install ghc-unix-compat-devel on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install ghc-unix-compat-devel using yum by running the following command:

sudo yum -y install ghc-unix-compat-devel

Install ghc-unix-compat-devel on CentOS 7 Using dnf

If you don’t have dnf installed you can install dnf first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install ghc-unix-compat-devel using dnf by running the following command:

sudo dnf -y install ghc-unix-compat-devel

How To Uninstall ghc-unix-compat-devel on CentOS 7

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

sudo dnf remove ghc-unix-compat-devel

ghc-unix-compat-devel Package Contents on CentOS 7

/usr/lib64/ghc-7.6.3/package.conf.d/unix-compat-0.4.1.1.conf
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat.dyn_hi
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat.hi
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat.p_hi
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat/Extensions.dyn_hi
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat/Extensions.hi
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat/Extensions.p_hi
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat/Files.dyn_hi
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat/Files.hi
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat/Files.p_hi
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat/Temp.dyn_hi
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat/Temp.hi
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat/Temp.p_hi
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat/Time.dyn_hi
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat/Time.hi
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat/Time.p_hi
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat/Types.dyn_hi
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat/Types.hi
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat/Types.p_hi
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat/Unistd.dyn_hi
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat/Unistd.hi
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat/Unistd.p_hi
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat/User.dyn_hi
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat/User.hi
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/System/PosixCompat/User.p_hi
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/include
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/include/HsUnixCompat.h
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/libHSunix-compat-0.4.1.1.a
/usr/lib64/ghc-7.6.3/unix-compat-0.4.1.1/libHSunix-compat-0.4.1.1_p.a
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/System-PosixCompat-Extensions.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/System-PosixCompat-Files.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/System-PosixCompat-Temp.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/System-PosixCompat-Time.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/System-PosixCompat-Types.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/System-PosixCompat-Unistd.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/System-PosixCompat-User.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/System-PosixCompat.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/doc-index.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/frames.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/haddock-util.js
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/hslogo-16.png
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/index-frames.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/index.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/mini_System-PosixCompat-Extensions.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/mini_System-PosixCompat-Files.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/mini_System-PosixCompat-Temp.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/mini_System-PosixCompat-Time.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/mini_System-PosixCompat-Types.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/mini_System-PosixCompat-Unistd.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/mini_System-PosixCompat-User.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/mini_System-PosixCompat.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/minus.gif
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/ocean.css
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/plus.gif
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/src
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/src/System-PosixCompat-Extensions.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/src/System-PosixCompat-Files.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/src/System-PosixCompat-Temp.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/src/System-PosixCompat-Time.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/src/System-PosixCompat-Types.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/src/System-PosixCompat-Unistd.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/src/System-PosixCompat-User.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/src/System-PosixCompat.html
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/src/hscolour.css
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/synopsis.png
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/unix-compat.haddock
/usr/share/doc/ghc/html/libraries/unix-compat-0.4.1.1/unix-compat.txt

References

Summary

In this tutorial we learn how to install ghc-unix-compat-devel on CentOS 7 using yum and dnf.