How To Install ghc-pretty-terminal on Fedora 36
Introduction
In this tutorial we learn how to install ghc-pretty-terminal
on Fedora 36.
What is ghc-pretty-terminal
Useful helpers to style and color text with ANSI escape sequences.
We can use yum
or dnf
to install ghc-pretty-terminal
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-pretty-terminal.
Install ghc-pretty-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-pretty-terminal
using dnf
by running the following command:
sudo dnf -y install ghc-pretty-terminal
Install ghc-pretty-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-pretty-terminal
using yum
by running the following command:
sudo yum -y install ghc-pretty-terminal
How To Uninstall ghc-pretty-terminal on Fedora 36
To uninstall only the ghc-pretty-terminal
package we can use the following command:
sudo dnf remove ghc-pretty-terminal
ghc-pretty-terminal Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/eb1932b6a35e6c2d4864a5a1578f7247fe2447
/usr/lib64/libHSpretty-terminal-0.1.0.0-LYUStGoNxIUBA4xGFdnoO7-ghc8.10.5.so
/usr/share/licenses/ghc-pretty-terminal
/usr/share/licenses/ghc-pretty-terminal/LICENSE
References
Summary
In this tutorial we learn how to install ghc-pretty-terminal
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).