How To Install golang-github-masterminds-sprig-devel on Fedora 36

In this tutorial we learn how to install golang-github-masterminds-sprig-devel in Fedora 36. golang-github-masterminds-sprig-devel is Useful template functions for Go templates

Introduction

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

What is golang-github-masterminds-sprig-devel

The Go language comes with a built-in template language, but not very many template functions. Sprig is a library that provides more than 100 commonly used template functions. It is inspired by the template functions found in Twig and in various JavaScript libraries, such as underscore.js. This package contains the source code needed for building packages that reference the following Go import paths – github.com/Masterminds/sprig

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

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

sudo dnf -y install golang-github-masterminds-sprig-devel

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

sudo yum -y install golang-github-masterminds-sprig-devel

How To Uninstall golang-github-masterminds-sprig-devel on Fedora 36

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

sudo dnf remove golang-github-masterminds-sprig-devel

golang-github-masterminds-sprig-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-masterminds-sprig-devel
/usr/share/doc/golang-github-masterminds-sprig-devel/CHANGELOG.md
/usr/share/doc/golang-github-masterminds-sprig-devel/README.md
/usr/share/doc/golang-github-masterminds-sprig-devel/docs
/usr/share/doc/golang-github-masterminds-sprig-devel/docs/_config.yml
/usr/share/doc/golang-github-masterminds-sprig-devel/docs/conversion.md
/usr/share/doc/golang-github-masterminds-sprig-devel/docs/crypto.md
/usr/share/doc/golang-github-masterminds-sprig-devel/docs/date.md
/usr/share/doc/golang-github-masterminds-sprig-devel/docs/defaults.md
/usr/share/doc/golang-github-masterminds-sprig-devel/docs/dicts.md
/usr/share/doc/golang-github-masterminds-sprig-devel/docs/encoding.md
/usr/share/doc/golang-github-masterminds-sprig-devel/docs/flow_control.md
/usr/share/doc/golang-github-masterminds-sprig-devel/docs/index.md
/usr/share/doc/golang-github-masterminds-sprig-devel/docs/integer_slice.md
/usr/share/doc/golang-github-masterminds-sprig-devel/docs/lists.md
/usr/share/doc/golang-github-masterminds-sprig-devel/docs/math.md
/usr/share/doc/golang-github-masterminds-sprig-devel/docs/mathf.md
/usr/share/doc/golang-github-masterminds-sprig-devel/docs/network.md
/usr/share/doc/golang-github-masterminds-sprig-devel/docs/os.md
/usr/share/doc/golang-github-masterminds-sprig-devel/docs/paths.md
/usr/share/doc/golang-github-masterminds-sprig-devel/docs/reflection.md
/usr/share/doc/golang-github-masterminds-sprig-devel/docs/semver.md
/usr/share/doc/golang-github-masterminds-sprig-devel/docs/string_slice.md
/usr/share/doc/golang-github-masterminds-sprig-devel/docs/strings.md
/usr/share/doc/golang-github-masterminds-sprig-devel/docs/url.md
/usr/share/doc/golang-github-masterminds-sprig-devel/docs/uuid.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/Masterminds
/usr/share/gocode/src/github.com/Masterminds/sprig
/usr/share/gocode/src/github.com/Masterminds/sprig/.goipath
/usr/share/gocode/src/github.com/Masterminds/sprig/CHANGELOG.md
/usr/share/gocode/src/github.com/Masterminds/sprig/README.md
/usr/share/gocode/src/github.com/Masterminds/sprig/crypto.go
/usr/share/gocode/src/github.com/Masterminds/sprig/crypto_test.go
/usr/share/gocode/src/github.com/Masterminds/sprig/date.go
/usr/share/gocode/src/github.com/Masterminds/sprig/date_test.go
/usr/share/gocode/src/github.com/Masterminds/sprig/defaults.go
/usr/share/gocode/src/github.com/Masterminds/sprig/defaults_test.go
/usr/share/gocode/src/github.com/Masterminds/sprig/dict.go
/usr/share/gocode/src/github.com/Masterminds/sprig/dict_test.go
/usr/share/gocode/src/github.com/Masterminds/sprig/doc.go
/usr/share/gocode/src/github.com/Masterminds/sprig/docs
/usr/share/gocode/src/github.com/Masterminds/sprig/docs/conversion.md
/usr/share/gocode/src/github.com/Masterminds/sprig/docs/crypto.md
/usr/share/gocode/src/github.com/Masterminds/sprig/docs/date.md
/usr/share/gocode/src/github.com/Masterminds/sprig/docs/defaults.md
/usr/share/gocode/src/github.com/Masterminds/sprig/docs/dicts.md
/usr/share/gocode/src/github.com/Masterminds/sprig/docs/encoding.md
/usr/share/gocode/src/github.com/Masterminds/sprig/docs/flow_control.md
/usr/share/gocode/src/github.com/Masterminds/sprig/docs/index.md
/usr/share/gocode/src/github.com/Masterminds/sprig/docs/integer_slice.md
/usr/share/gocode/src/github.com/Masterminds/sprig/docs/lists.md
/usr/share/gocode/src/github.com/Masterminds/sprig/docs/math.md
/usr/share/gocode/src/github.com/Masterminds/sprig/docs/mathf.md
/usr/share/gocode/src/github.com/Masterminds/sprig/docs/network.md
/usr/share/gocode/src/github.com/Masterminds/sprig/docs/os.md
/usr/share/gocode/src/github.com/Masterminds/sprig/docs/paths.md
/usr/share/gocode/src/github.com/Masterminds/sprig/docs/reflection.md
/usr/share/gocode/src/github.com/Masterminds/sprig/docs/semver.md
/usr/share/gocode/src/github.com/Masterminds/sprig/docs/string_slice.md
/usr/share/gocode/src/github.com/Masterminds/sprig/docs/strings.md
/usr/share/gocode/src/github.com/Masterminds/sprig/docs/url.md
/usr/share/gocode/src/github.com/Masterminds/sprig/docs/uuid.md
/usr/share/gocode/src/github.com/Masterminds/sprig/example_test.go
/usr/share/gocode/src/github.com/Masterminds/sprig/flow_control_test.go
/usr/share/gocode/src/github.com/Masterminds/sprig/functions.go
/usr/share/gocode/src/github.com/Masterminds/sprig/functions_linux_test.go
/usr/share/gocode/src/github.com/Masterminds/sprig/functions_test.go
/usr/share/gocode/src/github.com/Masterminds/sprig/functions_windows_test.go
/usr/share/gocode/src/github.com/Masterminds/sprig/go.mod
/usr/share/gocode/src/github.com/Masterminds/sprig/issue_188_test.go
/usr/share/gocode/src/github.com/Masterminds/sprig/list.go
/usr/share/gocode/src/github.com/Masterminds/sprig/list_test.go
/usr/share/gocode/src/github.com/Masterminds/sprig/network.go
/usr/share/gocode/src/github.com/Masterminds/sprig/network_test.go
/usr/share/gocode/src/github.com/Masterminds/sprig/numeric.go
/usr/share/gocode/src/github.com/Masterminds/sprig/numeric_test.go
/usr/share/gocode/src/github.com/Masterminds/sprig/reflect.go
/usr/share/gocode/src/github.com/Masterminds/sprig/reflect_test.go
/usr/share/gocode/src/github.com/Masterminds/sprig/regex.go
/usr/share/gocode/src/github.com/Masterminds/sprig/regex_test.go
/usr/share/gocode/src/github.com/Masterminds/sprig/semver.go
/usr/share/gocode/src/github.com/Masterminds/sprig/semver_test.go
/usr/share/gocode/src/github.com/Masterminds/sprig/strings.go
/usr/share/gocode/src/github.com/Masterminds/sprig/strings_test.go
/usr/share/gocode/src/github.com/Masterminds/sprig/url.go
/usr/share/gocode/src/github.com/Masterminds/sprig/url_test.go
/usr/share/licenses/golang-github-masterminds-sprig-devel
/usr/share/licenses/golang-github-masterminds-sprig-devel/LICENSE.txt

References

Summary

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