How To Install golang-k8s-klog-devel on Fedora 36

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

Introduction

In this tutorial we learn how to install golang-k8s-klog-devel on Fedora 36.

What is golang-k8s-klog-devel

This is an efficient pure Go implementation of leveled logs in the manner of the open source C++ package This package contains the source code needed for building packages that reference the following Go import paths – k8s.io/klog

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

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

sudo dnf -y install golang-k8s-klog-devel

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

sudo yum -y install golang-k8s-klog-devel

How To Uninstall golang-k8s-klog-devel on Fedora 36

To uninstall only the golang-k8s-klog-devel package we can use the following command:

sudo dnf remove golang-k8s-klog-devel

golang-k8s-klog-devel Package Contents on Fedora 36

/usr/share/doc/golang-k8s-klog-devel
/usr/share/doc/golang-k8s-klog-devel/CONTRIBUTING.md
/usr/share/doc/golang-k8s-klog-devel/README.md
/usr/share/doc/golang-k8s-klog-devel/RELEASE.md
/usr/share/doc/golang-k8s-klog-devel/examples
/usr/share/doc/golang-k8s-klog-devel/examples/coexist_glog
/usr/share/doc/golang-k8s-klog-devel/examples/coexist_glog/coexist_glog.go
/usr/share/doc/golang-k8s-klog-devel/examples/coexist_klog_v1_and_v2
/usr/share/doc/golang-k8s-klog-devel/examples/coexist_klog_v1_and_v2/coexist_klog_v1_and_v2.go
/usr/share/doc/golang-k8s-klog-devel/examples/coexist_klog_v1_and_v2/go.mod
/usr/share/doc/golang-k8s-klog-devel/examples/go.mod
/usr/share/doc/golang-k8s-klog-devel/examples/go.sum
/usr/share/doc/golang-k8s-klog-devel/examples/klogr
/usr/share/doc/golang-k8s-klog-devel/examples/klogr/main.go
/usr/share/doc/golang-k8s-klog-devel/examples/log_file
/usr/share/doc/golang-k8s-klog-devel/examples/log_file/usage_log_file.go
/usr/share/doc/golang-k8s-klog-devel/examples/set_output
/usr/share/doc/golang-k8s-klog-devel/examples/set_output/usage_set_output.go
/usr/share/gocode/src/k8s.io
/usr/share/gocode/src/k8s.io/klog
/usr/share/gocode/src/k8s.io/klog/.goipath
/usr/share/gocode/src/k8s.io/klog/CONTRIBUTING.md
/usr/share/gocode/src/k8s.io/klog/README.md
/usr/share/gocode/src/k8s.io/klog/RELEASE.md
/usr/share/gocode/src/k8s.io/klog/SECURITY.md
/usr/share/gocode/src/k8s.io/klog/code-of-conduct.md
/usr/share/gocode/src/k8s.io/klog/go.mod
/usr/share/gocode/src/k8s.io/klog/hack
/usr/share/gocode/src/k8s.io/klog/hack/tools
/usr/share/gocode/src/k8s.io/klog/hack/tools/logcheck
/usr/share/gocode/src/k8s.io/klog/hack/tools/logcheck/README.md
/usr/share/gocode/src/k8s.io/klog/hack/tools/logcheck/main.go
/usr/share/gocode/src/k8s.io/klog/hack/tools/logcheck/main_test.go
/usr/share/gocode/src/k8s.io/klog/integration_tests
/usr/share/gocode/src/k8s.io/klog/integration_tests/internal
/usr/share/gocode/src/k8s.io/klog/integration_tests/internal/main.go
/usr/share/gocode/src/k8s.io/klog/klog.go
/usr/share/gocode/src/k8s.io/klog/klog_file.go
/usr/share/gocode/src/k8s.io/klog/klog_test.go
/usr/share/gocode/src/k8s.io/klog/klog_wrappers_test.go
/usr/share/gocode/src/k8s.io/klog/klogr
/usr/share/gocode/src/k8s.io/klog/klogr/README.md
/usr/share/gocode/src/k8s.io/klog/klogr/klogr.go
/usr/share/gocode/src/k8s.io/klog/klogr/klogr_test.go
/usr/share/licenses/golang-k8s-klog-devel
/usr/share/licenses/golang-k8s-klog-devel/LICENSE

References

Summary

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