How To Install golang-github-src-d-gcfg-devel on Fedora 36

In this tutorial we learn how to install golang-github-src-d-gcfg-devel in Fedora 36. golang-github-src-d-gcfg-devel is Read “INI-style” text-based configuration files

Introduction

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

What is golang-github-src-d-gcfg-devel

Package gcfg reads “INI-style” text-based configuration files with “name=value” pairs grouped into sections (gcfg files). This package contains the source code needed for building packages that reference the following Go import paths – github.com/src-d/gcfg

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

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

sudo dnf -y install golang-github-src-d-gcfg-devel

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

sudo yum -y install golang-github-src-d-gcfg-devel

How To Uninstall golang-github-src-d-gcfg-devel on Fedora 36

To uninstall only the golang-github-src-d-gcfg-devel package we can use the following command:

sudo dnf remove golang-github-src-d-gcfg-devel

golang-github-src-d-gcfg-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-src-d-gcfg-devel
/usr/share/doc/golang-github-src-d-gcfg-devel/README
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/src-d
/usr/share/gocode/src/github.com/src-d/gcfg
/usr/share/gocode/src/github.com/src-d/gcfg/.goipath
/usr/share/gocode/src/github.com/src-d/gcfg/doc.go
/usr/share/gocode/src/github.com/src-d/gcfg/errors.go
/usr/share/gocode/src/github.com/src-d/gcfg/example_test.go
/usr/share/gocode/src/github.com/src-d/gcfg/go1_0.go
/usr/share/gocode/src/github.com/src-d/gcfg/go1_2.go
/usr/share/gocode/src/github.com/src-d/gcfg/issues_test.go
/usr/share/gocode/src/github.com/src-d/gcfg/read.go
/usr/share/gocode/src/github.com/src-d/gcfg/read_test.go
/usr/share/gocode/src/github.com/src-d/gcfg/scanner
/usr/share/gocode/src/github.com/src-d/gcfg/scanner/errors.go
/usr/share/gocode/src/github.com/src-d/gcfg/scanner/example_test.go
/usr/share/gocode/src/github.com/src-d/gcfg/scanner/scanner.go
/usr/share/gocode/src/github.com/src-d/gcfg/scanner/scanner_test.go
/usr/share/gocode/src/github.com/src-d/gcfg/set.go
/usr/share/gocode/src/github.com/src-d/gcfg/token
/usr/share/gocode/src/github.com/src-d/gcfg/token/position.go
/usr/share/gocode/src/github.com/src-d/gcfg/token/position_test.go
/usr/share/gocode/src/github.com/src-d/gcfg/token/serialize.go
/usr/share/gocode/src/github.com/src-d/gcfg/token/serialize_test.go
/usr/share/gocode/src/github.com/src-d/gcfg/token/token.go
/usr/share/gocode/src/github.com/src-d/gcfg/types
/usr/share/gocode/src/github.com/src-d/gcfg/types/bool.go
/usr/share/gocode/src/github.com/src-d/gcfg/types/doc.go
/usr/share/gocode/src/github.com/src-d/gcfg/types/enum.go
/usr/share/gocode/src/github.com/src-d/gcfg/types/enum_test.go
/usr/share/gocode/src/github.com/src-d/gcfg/types/int.go
/usr/share/gocode/src/github.com/src-d/gcfg/types/int_test.go
/usr/share/gocode/src/github.com/src-d/gcfg/types/scan.go
/usr/share/gocode/src/github.com/src-d/gcfg/types/scan_test.go
/usr/share/licenses/golang-github-src-d-gcfg-devel
/usr/share/licenses/golang-github-src-d-gcfg-devel/LICENSE

References

Summary

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