How To Install hugs98-hgl on CentOS 7

In this tutorial we learn how to install hugs98-hgl on CentOS 7. hugs98-hgl is Haskell Graphics Library for Hugs98

Introduction

In this tutorial we learn how to install hugs98-hgl on CentOS 7.

What is hugs98-hgl

Haskell Graphics Library for Hugs98.

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

Install hugs98-hgl on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install hugs98-hgl using yum by running the following command:

sudo yum -y install hugs98-hgl

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

sudo dnf -y install hugs98-hgl

How To Uninstall hugs98-hgl on CentOS 7

To uninstall only the hugs98-hgl package we can use the following command:

sudo dnf remove hugs98-hgl

References

Summary

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