How To Install ghc-base-unicode-symbols on Fedora 36

In this tutorial we learn how to install ghc-base-unicode-symbols in Fedora 36. ghc-base-unicode-symbols is Unicode alternatives for common functions and operators

Introduction

In this tutorial we learn how to install ghc-base-unicode-symbols on Fedora 36.

What is ghc-base-unicode-symbols

This package defines new symbols for a number of functions, operators and types in the base package. All symbols are documented with their actual definition and information regarding their Unicode code point. They should be completely interchangeable with their definitions. For more Unicode goodness you can enable the UnicodeSyntax language extension. This extension enables Unicode characters to be used to stand for certain ASCII character sequences, i.e. → instead of ->, ∀ instead of forall and many others.

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

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

sudo dnf -y install ghc-base-unicode-symbols

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

sudo yum -y install ghc-base-unicode-symbols

How To Uninstall ghc-base-unicode-symbols on Fedora 36

To uninstall only the ghc-base-unicode-symbols package we can use the following command:

sudo dnf remove ghc-base-unicode-symbols

ghc-base-unicode-symbols Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/f5567189854420d2a21e7f4d48b67911002461
/usr/lib64/libHSbase-unicode-symbols-0.2.4.2-56wfVFEVGOTCw4DUD8dwJw-ghc8.10.5.so
/usr/share/licenses/ghc-base-unicode-symbols
/usr/share/licenses/ghc-base-unicode-symbols/LICENSE

References

Summary

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