How To Install ghc-terminal-size on Fedora 36

In this tutorial we learn how to install ghc-terminal-size in Fedora 36. ghc-terminal-size is Get terminal window height and width

Introduction

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

What is ghc-terminal-size

Get terminal window height and width without ncurses dependency.

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

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

sudo dnf -y install ghc-terminal-size

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

sudo yum -y install ghc-terminal-size

How To Uninstall ghc-terminal-size on Fedora 36

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

sudo dnf remove ghc-terminal-size

ghc-terminal-size Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/8c420e5fd663b59d58bf87374c35e9166a1d6f
/usr/lib64/libHSterminal-size-0.3.2.1-8LMlp57ywuCIM7VIh4tqn1-ghc8.10.5.so
/usr/share/licenses/ghc-terminal-size
/usr/share/licenses/ghc-terminal-size/LICENSE

References

Summary

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