How To Install ghc-gio on CentOS 7

In this tutorial we learn how to install ghc-gio on CentOS 7. ghc-gio is Binding to GIO

Introduction

In this tutorial we learn how to install ghc-gio on CentOS 7.

What is ghc-gio

GIO is striving to provide a modern, easy-to-use VFS API that sits at the right level in the library stack. The goal is to overcome the shortcomings of GnomeVFS and provide an API that is so good that developers prefer it over raw POSIX calls. Among other things that means using GObject. It also means not cloning the POSIX API, but providing higher-level, document-centric interfaces.

We can use yum or dnf to install ghc-gio on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-gio.

Install ghc-gio 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-gio using yum by running the following command:

sudo yum -y install ghc-gio

Install ghc-gio 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-gio using dnf by running the following command:

sudo dnf -y install ghc-gio

How To Uninstall ghc-gio on CentOS 7

To uninstall only the ghc-gio package we can use the following command:

sudo dnf remove ghc-gio

References

Summary

In this tutorial we learn how to install ghc-gio on CentOS 7 using yum and dnf.