How To Install highlight-gui on Rocky Linux 8

In this tutorial we learn how to install highlight-gui on Rocky Linux 8. highlight-gui is GUI for the hihghlight source code formatter

Introduction

In this tutorial we learn how to install highlight-gui on Rocky Linux 8.

What is highlight-gui

A Qt-based GUI for the highlight source code formatter source.

We can use yum or dnf to install highlight-gui on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install highlight-gui.

Install highlight-gui on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install highlight-gui using dnf by running the following command:

sudo dnf -y install highlight-gui

Install highlight-gui on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install highlight-gui

How To Uninstall highlight-gui on Rocky Linux 8

To uninstall only the highlight-gui package we can use the following command:

sudo dnf remove highlight-gui

highlight-gui Package Contents on Rocky Linux 8

/usr/bin/highlight-gui
/usr/lib/.build-id
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/efbd175ab9046a69f6c16c43044aa405a45217
/usr/share/applications/highlight.desktop
/usr/share/pixmaps/highlight.xpm

References

Summary

In this tutorial we learn how to install highlight-gui on Rocky Linux 8 using yum and dnf.