How To Install ghc-split on Fedora 36
Introduction
In this tutorial we learn how to install ghc-split
on Fedora 36.
What is ghc-split
A collection of various methods for splitting lists into parts, akin to the “split” function found in several mainstream languages. Here is its tale Once upon a time the standard “Data.List” module held no function for splitting a list into parts according to a delimiter. Many a brave lambda-knight strove to add such a function, but their striving was in vain, for Lo, the Supreme Council fell to bickering amongst themselves what was to be the essential nature of the One True Function which could cleave a list in twain (or thrain, or any required number of parts). And thus came to pass the split package, comprising divers functions for splitting a list asunder, each according to its nature. And the Supreme Council had no longer any grounds for argument, for the favored method of each was contained therein. To get started, see the “Data.List.Split” module.
We can use yum
or dnf
to install ghc-split
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-split.
Install ghc-split 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-split
using dnf
by running the following command:
sudo dnf -y install ghc-split
Install ghc-split 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-split
using yum
by running the following command:
sudo yum -y install ghc-split
How To Uninstall ghc-split on Fedora 36
To uninstall only the ghc-split
package we can use the following command:
sudo dnf remove ghc-split
ghc-split Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/39
/usr/lib/.build-id/39/9db047abe3f98b1ca98753d54c83ca0cd90179
/usr/lib64/libHSsplit-0.2.3.4-9bcArGQAspn7wiU3tzsZKC-ghc8.10.5.so
/usr/share/licenses/ghc-split
/usr/share/licenses/ghc-split/LICENSE
References
Summary
In this tutorial we learn how to install ghc-split
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).