How To Install golang-github-magiconair-properties-devel on Fedora 36

In this tutorial we learn how to install golang-github-magiconair-properties-devel in Fedora 36. golang-github-magiconair-properties-devel is Java properties scanner for Go

Introduction

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

What is golang-github-magiconair-properties-devel

Properties is a Go library for reading and writing properties files. It supports reading from multiple files or URLs and Spring style recursive property expansion of expressions like ${key} to their corresponding value. Value expressions can refer to other keys like in ${key} or to environment variables like in ${USER}. Filenames can also contain environment variables like in /home/${USER}/myapp.properties. Properties can be decoded into structs, maps, arrays and values through struct tags. Comments and the order of keys are preserved. Comments can be modified and can be written to the output. The properties library supports both ISO-8859-1 and UTF-8 encoded data. This package contains the source code needed for building packages that reference the following Go import paths – github.com/magiconair/properties

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

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

sudo dnf -y install golang-github-magiconair-properties-devel

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

sudo yum -y install golang-github-magiconair-properties-devel

How To Uninstall golang-github-magiconair-properties-devel on Fedora 36

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

sudo dnf remove golang-github-magiconair-properties-devel

golang-github-magiconair-properties-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-magiconair-properties-devel
/usr/share/doc/golang-github-magiconair-properties-devel/CHANGELOG.md
/usr/share/doc/golang-github-magiconair-properties-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/magiconair
/usr/share/gocode/src/github.com/magiconair/properties
/usr/share/gocode/src/github.com/magiconair/properties/.goipath
/usr/share/gocode/src/github.com/magiconair/properties/CHANGELOG.md
/usr/share/gocode/src/github.com/magiconair/properties/LICENSE.md
/usr/share/gocode/src/github.com/magiconair/properties/README.md
/usr/share/gocode/src/github.com/magiconair/properties/assert
/usr/share/gocode/src/github.com/magiconair/properties/assert/assert.go
/usr/share/gocode/src/github.com/magiconair/properties/assert/assert_test.go
/usr/share/gocode/src/github.com/magiconair/properties/benchmark_test.go
/usr/share/gocode/src/github.com/magiconair/properties/decode.go
/usr/share/gocode/src/github.com/magiconair/properties/decode_test.go
/usr/share/gocode/src/github.com/magiconair/properties/doc.go
/usr/share/gocode/src/github.com/magiconair/properties/example_test.go
/usr/share/gocode/src/github.com/magiconair/properties/glide.lock
/usr/share/gocode/src/github.com/magiconair/properties/glide.yaml
/usr/share/gocode/src/github.com/magiconair/properties/go.mod
/usr/share/gocode/src/github.com/magiconair/properties/integrate.go
/usr/share/gocode/src/github.com/magiconair/properties/integrate_test.go
/usr/share/gocode/src/github.com/magiconair/properties/lex.go
/usr/share/gocode/src/github.com/magiconair/properties/load.go
/usr/share/gocode/src/github.com/magiconair/properties/load_test.go
/usr/share/gocode/src/github.com/magiconair/properties/parser.go
/usr/share/gocode/src/github.com/magiconair/properties/properties.go
/usr/share/gocode/src/github.com/magiconair/properties/properties_test.go
/usr/share/gocode/src/github.com/magiconair/properties/rangecheck.go

References

Summary

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