How To Install ghc-pango on CentOS 7
Introduction
In this tutorial we learn how to install ghc-pango on CentOS 7.
What is ghc-pango
This package provides a wrapper around the Pango C library that allows high-quality rendering of Unicode text. It can be used either with Cairo to output text in PDF, PS or other documents or with Gtk+ to display text on-screen.
We can use yum or dnf to install ghc-pango on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-pango.
Install ghc-pango 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-pango using yum by running the following command:
sudo yum -y install ghc-pango
Install ghc-pango 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-pango using dnf by running the following command:
sudo dnf -y install ghc-pango
How To Uninstall ghc-pango on CentOS 7
To uninstall only the ghc-pango package we can use the following command:
sudo dnf remove ghc-pango
References
Summary
In this tutorial we learn how to install ghc-pango on CentOS 7 using yum and dnf.