How To Install ghc-brick on Fedora 36
Introduction
In this tutorial we learn how to install ghc-brick
on Fedora 36.
What is ghc-brick
Write terminal user interfaces (TUIs) painlessly with ‘brick’! You write an event handler and a drawing function and the library does the rest.
We can use yum
or dnf
to install ghc-brick
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-brick.
Install ghc-brick 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-brick
using dnf
by running the following command:
sudo dnf -y install ghc-brick
Install ghc-brick 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-brick
using yum
by running the following command:
sudo yum -y install ghc-brick
How To Uninstall ghc-brick on Fedora 36
To uninstall only the ghc-brick
package we can use the following command:
sudo dnf remove ghc-brick
ghc-brick Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/8c659aea8354e73ec235f272fa2d59cac99218
/usr/lib64/libHSbrick-0.62-6IXY5hjnHKsGmXqRtft2zT-ghc8.10.5.so
/usr/share/licenses/ghc-brick
/usr/share/licenses/ghc-brick/LICENSE
References
Summary
In this tutorial we learn how to install ghc-brick
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).