How To Install ghc-vty on Fedora 36
Introduction
In this tutorial we learn how to install ghc-vty
on Fedora 36.
What is ghc-vty
Vty is terminal GUI library in the niche of ncurses. It is intended to be easy to use, have no confusing corner cases, and good support for common terminal types. See the ‘vty-examples’ package as well as the program ’test/interactive_terminal_test.hs’ included in the ‘vty’ package for examples on how to use the library. Import the “Graphics.Vty” convenience module to get access to the core parts of the library.
We can use yum
or dnf
to install ghc-vty
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-vty.
Install ghc-vty 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-vty
using dnf
by running the following command:
sudo dnf -y install ghc-vty
Install ghc-vty 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-vty
using yum
by running the following command:
sudo yum -y install ghc-vty
How To Uninstall ghc-vty on Fedora 36
To uninstall only the ghc-vty
package we can use the following command:
sudo dnf remove ghc-vty
ghc-vty Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/18201e3a47f2bd93cae7b7271a40d22a1ba9da
/usr/lib64/libHSvty-5.33-9FHlJVC9M5mHB5NRGKitDh-ghc8.10.5.so
/usr/share/licenses/ghc-vty
/usr/share/licenses/ghc-vty/LICENSE
References
Summary
In this tutorial we learn how to install ghc-vty
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).