How To Install ghc-stm-chans on CentOS 7

In this tutorial we learn how to install ghc-stm-chans on CentOS 7. ghc-stm-chans is Additional types of channels for STM

Introduction

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

What is ghc-stm-chans

Additional types of channels for STM closeable TChan’s and TQueue’s.

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

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

sudo yum -y install ghc-stm-chans

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

sudo dnf -y install ghc-stm-chans

How To Uninstall ghc-stm-chans on CentOS 7

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

sudo dnf remove ghc-stm-chans

References

Summary

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