How To Install ghc-prettyprinter-ansi-terminal on Fedora 36
Introduction
In this tutorial we learn how to install ghc-prettyprinter-ansi-terminal on Fedora 36.
What is ghc-prettyprinter-ansi-terminal
This package defines a renderer for documents generated by the
prettyprinterpackage, suitable for displaying them on ANSI-compatible terminals, including colors, boldening, underlining and italication. For more information about the prettyprinter in general, refer to the mainprettyprinterpackage documentation.
We can use yum or dnf to install ghc-prettyprinter-ansi-terminal on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-prettyprinter-ansi-terminal.
Install ghc-prettyprinter-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-prettyprinter-ansi-terminal using dnf by running the following command:
sudo dnf -y install ghc-prettyprinter-ansi-terminal
Install ghc-prettyprinter-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-prettyprinter-ansi-terminal using yum by running the following command:
sudo yum -y install ghc-prettyprinter-ansi-terminal
How To Uninstall ghc-prettyprinter-ansi-terminal on Fedora 36
To uninstall only the ghc-prettyprinter-ansi-terminal package we can use the following command:
sudo dnf remove ghc-prettyprinter-ansi-terminal
ghc-prettyprinter-ansi-terminal Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/31916fedc7de8e93ac36d11db1cd4748e1e4f1
/usr/lib64/libHSprettyprinter-ansi-terminal-1.1.2-CmWoaJiclOSFdMTGkJDhwI-ghc8.10.5.so
/usr/share/licenses/ghc-prettyprinter-ansi-terminal
/usr/share/licenses/ghc-prettyprinter-ansi-terminal/LICENSE.md
References
Summary
In this tutorial we learn how to install ghc-prettyprinter-ansi-terminal on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).