How To Install ghc-cpphs on Fedora 36

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

Introduction

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

What is ghc-cpphs

This package provides the Haskell cpphs shared library.

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

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

sudo dnf -y install ghc-cpphs

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

sudo yum -y install ghc-cpphs

How To Uninstall ghc-cpphs on Fedora 36

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

sudo dnf remove ghc-cpphs

ghc-cpphs Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/7be188acaba63b62b54be9e66c177d66ee3782
/usr/lib64/libHScpphs-1.20.9.1-8u5B4l6K95R8QvpGeHGR6D-ghc8.10.5.so
/usr/share/licenses/ghc-cpphs
/usr/share/licenses/ghc-cpphs/LICENCE-GPL
/usr/share/licenses/ghc-cpphs/LICENCE-LGPL

References

Summary

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