How To Install golang-x-lint-devel on Fedora 36

In this tutorial we learn how to install golang-x-lint-devel in Fedora 36. golang-x-lint-devel is Linter for Go source code

Introduction

In this tutorial we learn how to install golang-x-lint-devel on Fedora 36.

What is golang-x-lint-devel

Golint is a linter for Go source code. This package contains the source code needed for building packages that reference the following Go import paths – golang.org/x/lint

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

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

sudo dnf -y install golang-x-lint-devel

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

sudo yum -y install golang-x-lint-devel

How To Uninstall golang-x-lint-devel on Fedora 36

To uninstall only the golang-x-lint-devel package we can use the following command:

sudo dnf remove golang-x-lint-devel

golang-x-lint-devel Package Contents on Fedora 36

/usr/share/doc/golang-x-lint-devel
/usr/share/doc/golang-x-lint-devel/CONTRIBUTING.md
/usr/share/doc/golang-x-lint-devel/README.md
/usr/share/gocode/src/golang.org
/usr/share/gocode/src/golang.org/x
/usr/share/gocode/src/golang.org/x/lint
/usr/share/gocode/src/golang.org/x/lint/.goipath
/usr/share/gocode/src/golang.org/x/lint/CONTRIBUTING.md
/usr/share/gocode/src/golang.org/x/lint/README.md
/usr/share/gocode/src/golang.org/x/lint/go.mod
/usr/share/gocode/src/golang.org/x/lint/golint
/usr/share/gocode/src/golang.org/x/lint/golint/golint.go
/usr/share/gocode/src/golang.org/x/lint/golint/import.go
/usr/share/gocode/src/golang.org/x/lint/golint/importcomment.go
/usr/share/gocode/src/golang.org/x/lint/lint.go
/usr/share/gocode/src/golang.org/x/lint/lint_test.go
/usr/share/licenses/golang-x-lint-devel
/usr/share/licenses/golang-x-lint-devel/LICENSE

References

Summary

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