How To Install golang-github-glog-devel on Fedora 36

In this tutorial we learn how to install golang-github-glog-devel in Fedora 36. golang-github-glog-devel is Leveled execution logs for Go

Introduction

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

What is golang-github-glog-devel

This is an efficient pure Go implementation of leveled logs in the manner of the open source C++ package. By binding methods to booleans it is possible to use the log package without paying the expense of evaluating the arguments to the log. Through the -vmodule flag, the package also provides fine-grained control over logging at the file level. This package contains the source code needed for building packages that reference the following Go import paths – github.com/golang/glog

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

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

sudo dnf -y install golang-github-glog-devel

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

sudo yum -y install golang-github-glog-devel

How To Uninstall golang-github-glog-devel on Fedora 36

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

sudo dnf remove golang-github-glog-devel

golang-github-glog-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-glog-devel
/usr/share/doc/golang-github-glog-devel/README
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/golang
/usr/share/gocode/src/github.com/golang/glog
/usr/share/gocode/src/github.com/golang/glog/.goipath
/usr/share/gocode/src/github.com/golang/glog/glide.lock
/usr/share/gocode/src/github.com/golang/glog/glide.yaml
/usr/share/gocode/src/github.com/golang/glog/glog.go
/usr/share/gocode/src/github.com/golang/glog/glog_file.go
/usr/share/gocode/src/github.com/golang/glog/glog_test.go
/usr/share/licenses/golang-github-glog-devel
/usr/share/licenses/golang-github-glog-devel/LICENSE

References

Summary

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