How To Install golang-github-hpcloud-tail on Fedora 36

In this tutorial we learn how to install golang-github-hpcloud-tail in Fedora 36. golang-github-hpcloud-tail is Go package for reading from continously updated files (tail -f)

Introduction

In this tutorial we learn how to install golang-github-hpcloud-tail on Fedora 36.

What is golang-github-hpcloud-tail

A Go package striving to emulate the features of the BSD tail program.

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

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

sudo dnf -y install golang-github-hpcloud-tail

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

sudo yum -y install golang-github-hpcloud-tail

How To Uninstall golang-github-hpcloud-tail on Fedora 36

To uninstall only the golang-github-hpcloud-tail package we can use the following command:

sudo dnf remove golang-github-hpcloud-tail

golang-github-hpcloud-tail Package Contents on Fedora 36

/usr/bin/gotail
/usr/lib/.build-id
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/15cf825fbff4a264c82b2caf3617b881fd1ca4
/usr/share/doc/golang-github-hpcloud-tail
/usr/share/doc/golang-github-hpcloud-tail/CHANGES.md
/usr/share/doc/golang-github-hpcloud-tail/README.md
/usr/share/licenses/golang-github-hpcloud-tail
/usr/share/licenses/golang-github-hpcloud-tail/LICENSE.txt

References

Summary

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