How To Install ghc-ansi-terminal-devel on Fedora 36

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

Introduction

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

What is ghc-ansi-terminal-devel

This package provides the Haskell ansi-terminal library development files.

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

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

sudo dnf -y install ghc-ansi-terminal-devel

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

sudo yum -y install ghc-ansi-terminal-devel

How To Uninstall ghc-ansi-terminal-devel on Fedora 36

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

sudo dnf remove ghc-ansi-terminal-devel

ghc-ansi-terminal-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/ansi-terminal-0.11
/usr/lib64/ghc-8.10.5/ansi-terminal-0.11/System
/usr/lib64/ghc-8.10.5/ansi-terminal-0.11/System/Console
/usr/lib64/ghc-8.10.5/ansi-terminal-0.11/System/Console/ANSI
/usr/lib64/ghc-8.10.5/ansi-terminal-0.11/System/Console/ANSI.dyn_hi
/usr/lib64/ghc-8.10.5/ansi-terminal-0.11/System/Console/ANSI.hi
/usr/lib64/ghc-8.10.5/ansi-terminal-0.11/System/Console/ANSI/Codes.dyn_hi
/usr/lib64/ghc-8.10.5/ansi-terminal-0.11/System/Console/ANSI/Codes.hi
/usr/lib64/ghc-8.10.5/ansi-terminal-0.11/System/Console/ANSI/Types.dyn_hi
/usr/lib64/ghc-8.10.5/ansi-terminal-0.11/System/Console/ANSI/Types.hi
/usr/lib64/ghc-8.10.5/ansi-terminal-0.11/System/Console/ANSI/Unix.dyn_hi
/usr/lib64/ghc-8.10.5/ansi-terminal-0.11/System/Console/ANSI/Unix.hi
/usr/lib64/ghc-8.10.5/ansi-terminal-0.11/libHSansi-terminal-0.11-BFECZyAKVuwLiwKwUzXX6o.a
/usr/lib64/ghc-8.10.5/package.conf.d/ansi-terminal-0.11.conf
/usr/share/doc/ghc-ansi-terminal-devel
/usr/share/doc/ghc-ansi-terminal-devel/CHANGELOG.md
/usr/share/doc/ghc-ansi-terminal-devel/README.md

References

Summary

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