How To Install ghc-highlighting-kate on CentOS 7

In this tutorial we learn how to install ghc-highlighting-kate on CentOS 7. ghc-highlighting-kate is Sourcecode syntax highlighting

Introduction

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

What is ghc-highlighting-kate

highlighting-kate is a syntax highlighting library with support for nearly one hundred languages. The syntax parsers are automatically generated from Kate syntax descriptions (<http be added.

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

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

sudo yum -y install ghc-highlighting-kate

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

sudo dnf -y install ghc-highlighting-kate

How To Uninstall ghc-highlighting-kate on CentOS 7

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

sudo dnf remove ghc-highlighting-kate

References

Summary

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