How To Install ghc-ansi-terminal on Fedora 36
Introduction
In this tutorial we learn how to install ghc-ansi-terminal
on Fedora 36.
What is ghc-ansi-terminal
ANSI terminal support for Haskell color output, showing or hiding the cursor, and changing the title. Works on UNIX and Windows.
We can use yum
or dnf
to install ghc-ansi-terminal
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-ansi-terminal.
Install ghc-ansi-terminal 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
using dnf
by running the following command:
sudo dnf -y install ghc-ansi-terminal
Install ghc-ansi-terminal 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
using yum
by running the following command:
sudo yum -y install ghc-ansi-terminal
How To Uninstall ghc-ansi-terminal on Fedora 36
To uninstall only the ghc-ansi-terminal
package we can use the following command:
sudo dnf remove ghc-ansi-terminal
ghc-ansi-terminal Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/ea92f6104fa2f73937ba4b249960ab917a6892
/usr/lib64/libHSansi-terminal-0.11-BFECZyAKVuwLiwKwUzXX6o-ghc8.10.5.so
/usr/share/licenses/ghc-ansi-terminal
/usr/share/licenses/ghc-ansi-terminal/LICENSE
References
Summary
In this tutorial we learn how to install ghc-ansi-terminal
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).