How To Install golang-github-insomniacslk-termhook on Fedora 36

In this tutorial we learn how to install golang-github-insomniacslk-termhook in Fedora 36. golang-github-insomniacslk-termhook is Simple terminal that allows attaching hooks

Introduction

In this tutorial we learn how to install golang-github-insomniacslk-termhook on Fedora 36.

What is golang-github-insomniacslk-termhook

termhook is a small library that attaches to a terminal, serial console or other similar device, and lets you attach your own hook on terminal output.

We can use yum or dnf to install golang-github-insomniacslk-termhook on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-insomniacslk-termhook.

Install golang-github-insomniacslk-termhook 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 golang-github-insomniacslk-termhook using dnf by running the following command:

sudo dnf -y install golang-github-insomniacslk-termhook

Install golang-github-insomniacslk-termhook 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 golang-github-insomniacslk-termhook using yum by running the following command:

sudo yum -y install golang-github-insomniacslk-termhook

How To Uninstall golang-github-insomniacslk-termhook on Fedora 36

To uninstall only the golang-github-insomniacslk-termhook package we can use the following command:

sudo dnf remove golang-github-insomniacslk-termhook

golang-github-insomniacslk-termhook Package Contents on Fedora 36

/usr/bin/termhook
/usr/lib/.build-id
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/636279f1422b9e61503facf49b664734cfec38
/usr/share/doc/golang-github-insomniacslk-termhook
/usr/share/doc/golang-github-insomniacslk-termhook/README.md
/usr/share/licenses/golang-github-insomniacslk-termhook
/usr/share/licenses/golang-github-insomniacslk-termhook/COPYING

References

Summary

In this tutorial we learn how to install golang-github-insomniacslk-termhook on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).