How To Install golang-github-graylog2-gelf-devel on Fedora 36

In this tutorial we learn how to install golang-github-graylog2-gelf-devel in Fedora 36. golang-github-graylog2-gelf-devel is GELF library for Go

Introduction

In this tutorial we learn how to install golang-github-graylog2-gelf-devel on Fedora 36.

What is golang-github-graylog2-gelf-devel

GELF (Graylog Extended Log Format) is an application-level logging protocol that avoids many of the shortcomings of syslog. While it can be run over any stream or datagram transport protocol, it has special support (chunking) to allow long messages to be split over multiple datagrams. This package contains the source code needed for building packages that reference the following Go import paths – github.com/Graylog2/go-gelf

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

Install golang-github-graylog2-gelf-devel 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-graylog2-gelf-devel using dnf by running the following command:

sudo dnf -y install golang-github-graylog2-gelf-devel

Install golang-github-graylog2-gelf-devel 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-graylog2-gelf-devel using yum by running the following command:

sudo yum -y install golang-github-graylog2-gelf-devel

How To Uninstall golang-github-graylog2-gelf-devel on Fedora 36

To uninstall only the golang-github-graylog2-gelf-devel package we can use the following command:

sudo dnf remove golang-github-graylog2-gelf-devel

golang-github-graylog2-gelf-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-graylog2-gelf-devel
/usr/share/doc/golang-github-graylog2-gelf-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/Graylog2
/usr/share/gocode/src/github.com/Graylog2/go-gelf
/usr/share/gocode/src/github.com/Graylog2/go-gelf/.goipath
/usr/share/gocode/src/github.com/Graylog2/go-gelf/README.md
/usr/share/gocode/src/github.com/Graylog2/go-gelf/gelf
/usr/share/gocode/src/github.com/Graylog2/go-gelf/gelf/message.go
/usr/share/gocode/src/github.com/Graylog2/go-gelf/gelf/message_test.go
/usr/share/gocode/src/github.com/Graylog2/go-gelf/gelf/reader.go
/usr/share/gocode/src/github.com/Graylog2/go-gelf/gelf/tcpreader.go
/usr/share/gocode/src/github.com/Graylog2/go-gelf/gelf/tcpwriter.go
/usr/share/gocode/src/github.com/Graylog2/go-gelf/gelf/tcpwriter_test.go
/usr/share/gocode/src/github.com/Graylog2/go-gelf/gelf/udpwriter.go
/usr/share/gocode/src/github.com/Graylog2/go-gelf/gelf/udpwriter_test.go
/usr/share/gocode/src/github.com/Graylog2/go-gelf/gelf/utils.go
/usr/share/gocode/src/github.com/Graylog2/go-gelf/gelf/writer.go
/usr/share/licenses/golang-github-graylog2-gelf-devel
/usr/share/licenses/golang-github-graylog2-gelf-devel/LICENSE

References

Summary

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