How To Install ghc-text on CentOS 7
Introduction
In this tutorial we learn how to install ghc-text
on CentOS 7.
What is ghc-text
An efficient packed, immutable Unicode text type (both strict and lazy), with a powerful loop fusion optimization framework. The ‘Text’ type represents Unicode character strings, in a time and space-efficient manner. This package provides text processing capabilities that are optimized for performance critical use, both in terms of large data quantities and high speed. The ‘Text’ type provides character-encoding, type-safe case conversion via whole-string case conversion functions. It also provides a range of functions for converting ‘Text’ values to and from ‘ByteStrings’, using several standard encodings. Efficient locale-sensitive support for text IO is also supported.
We can use yum
or dnf
to install ghc-text
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-text.
Install ghc-text on CentOS 7 Using yum
Update yum database with yum
using the following command.
sudo yum makecache
After updating yum database, We can install ghc-text
using yum
by running the following command:
sudo yum -y install ghc-text
Install ghc-text on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
sudo dnf makecache
After updating yum database, We can install ghc-text
using dnf
by running the following command:
sudo dnf -y install ghc-text
How To Uninstall ghc-text on CentOS 7
To uninstall only the ghc-text
package we can use the following command:
sudo dnf remove ghc-text
References
Summary
In this tutorial we learn how to install ghc-text
on CentOS 7 using yum
and dnf
.