How To Install ghc-skylighting on Fedora 36
Introduction
In this tutorial we learn how to install ghc-skylighting on Fedora 36.
What is ghc-skylighting
Skylighting is a syntax highlighting library with support for over one hundred languages. It derives its tokenizers from XML syntax definitions used by KDE’s KSyntaxHighlighting framework, so any syntax supported by that framework can be added. An optional command-line program is provided. Skylighting is intended to be the successor to highlighting-kate. This package provides generated syntax modules based on the KDE XML definitions provided by the ‘skylighting-core’ package. As a result this package is licensed under the GPL.
We can use yum or dnf to install ghc-skylighting on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-skylighting.
Install ghc-skylighting 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-skylighting using dnf by running the following command:
sudo dnf -y install ghc-skylighting
Install ghc-skylighting 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-skylighting using yum by running the following command:
sudo yum -y install ghc-skylighting
How To Uninstall ghc-skylighting on Fedora 36
To uninstall only the ghc-skylighting package we can use the following command:
sudo dnf remove ghc-skylighting
ghc-skylighting Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/51
/usr/lib/.build-id/51/799cff1d2aa40e29e7a6388c7946a38fae25de
/usr/lib64/libHSskylighting-0.10.5.2-KZ77Qvds0iF2NjxbuA0uP5-ghc8.10.5.so
/usr/share/licenses/ghc-skylighting
/usr/share/licenses/ghc-skylighting/LICENSE
References
Summary
In this tutorial we learn how to install ghc-skylighting on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).