How To Install ghc-stringbuilder on Fedora 36
Introduction
In this tutorial we learn how to install ghc-stringbuilder
on Fedora 36.
What is ghc-stringbuilder
A string builder can be used to construct multi-line string literals in a monadic way. This is primarily meant for test suites that use a lot of multi-line string literals, and when it really matters that the syntax is as easy on the eyes as it can get.
We can use yum
or dnf
to install ghc-stringbuilder
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-stringbuilder.
Install ghc-stringbuilder 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-stringbuilder
using dnf
by running the following command:
sudo dnf -y install ghc-stringbuilder
Install ghc-stringbuilder 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-stringbuilder
using yum
by running the following command:
sudo yum -y install ghc-stringbuilder
How To Uninstall ghc-stringbuilder on Fedora 36
To uninstall only the ghc-stringbuilder
package we can use the following command:
sudo dnf remove ghc-stringbuilder
ghc-stringbuilder Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/b03cb707424233e2976d2bcd6e3eba669fcb5d
/usr/lib64/libHSstringbuilder-0.5.1-4h1iqlLYzrT1J9bb6ayUT1-ghc8.10.5.so
/usr/share/licenses/ghc-stringbuilder
/usr/share/licenses/ghc-stringbuilder/LICENSE
References
Summary
In this tutorial we learn how to install ghc-stringbuilder
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).