How To Install ghc-language-c on Fedora 36

In this tutorial we learn how to install ghc-language-c in Fedora 36. ghc-language-c is Analysis and generation of C code

Introduction

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

What is ghc-language-c

Language C is a Haskell library for the analysis and generation of C code. It features a complete, well tested parser and pretty printer for all of C99 and a large set of GNU extensions.

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

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

sudo dnf -y install ghc-language-c

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

sudo yum -y install ghc-language-c

How To Uninstall ghc-language-c on Fedora 36

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

sudo dnf remove ghc-language-c

ghc-language-c Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/a378dde9858869d5b3013a96e5907efd06915e
/usr/lib64/libHSlanguage-c-0.9.0.1-LOPpEDOEaB4HzTHxmAabtl-ghc8.10.5.so
/usr/share/licenses/ghc-language-c
/usr/share/licenses/ghc-language-c/LICENSE

References

Summary

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