How To Install ghc-highlighting-kate on Fedora 36

In this tutorial we learn how to install ghc-highlighting-kate in Fedora 36. ghc-highlighting-kate is Sourcecode syntax highlighting

Introduction

In this tutorial we learn how to install ghc-highlighting-kate on Fedora 36.

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 Kate can be added. An (optional) command-line program is provided, along with a utility for generating new parsers from Kate XML syntax descriptions. This library has been deprecated. Please use skylighting instead..

We can use yum or dnf to install ghc-highlighting-kate on Fedora 36. 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 Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install ghc-highlighting-kate using dnf by running the following command:

sudo dnf -y install ghc-highlighting-kate

Install ghc-highlighting-kate on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ghc-highlighting-kate using yum by running the following command:

sudo yum -y install ghc-highlighting-kate

How To Uninstall ghc-highlighting-kate on Fedora 36

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

sudo dnf remove ghc-highlighting-kate

ghc-highlighting-kate Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/7cc70a91acf8704dd5bcb7afa9b69120238095
/usr/lib64/libHShighlighting-kate-0.6.4-9npEklnGi2gLPvteVV50SS-ghc8.10.5.so
/usr/share/licenses/ghc-highlighting-kate
/usr/share/licenses/ghc-highlighting-kate/LICENSE

References

Summary

In this tutorial we learn how to install ghc-highlighting-kate on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).