How To Install golang-github-alecthomas-template-devel on Fedora 36

In this tutorial we learn how to install golang-github-alecthomas-template-devel in Fedora 36. golang-github-alecthomas-template-devel is Fork of go’s text/template adding newline elision

Introduction

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

What is golang-github-alecthomas-template-devel

Fork of go’s text/template adding newline elision. This package contains the source code needed for building packages that reference the following Go import paths – github.com/alecthomas/template

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

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

sudo dnf -y install golang-github-alecthomas-template-devel

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

sudo yum -y install golang-github-alecthomas-template-devel

How To Uninstall golang-github-alecthomas-template-devel on Fedora 36

To uninstall only the golang-github-alecthomas-template-devel package we can use the following command:

sudo dnf remove golang-github-alecthomas-template-devel

golang-github-alecthomas-template-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-alecthomas-template-devel
/usr/share/doc/golang-github-alecthomas-template-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/alecthomas
/usr/share/gocode/src/github.com/alecthomas/template
/usr/share/gocode/src/github.com/alecthomas/template/.goipath
/usr/share/gocode/src/github.com/alecthomas/template/README.md
/usr/share/gocode/src/github.com/alecthomas/template/doc.go
/usr/share/gocode/src/github.com/alecthomas/template/example_test.go
/usr/share/gocode/src/github.com/alecthomas/template/examplefiles_test.go
/usr/share/gocode/src/github.com/alecthomas/template/examplefunc_test.go
/usr/share/gocode/src/github.com/alecthomas/template/exec.go
/usr/share/gocode/src/github.com/alecthomas/template/exec_test.go
/usr/share/gocode/src/github.com/alecthomas/template/funcs.go
/usr/share/gocode/src/github.com/alecthomas/template/go.mod
/usr/share/gocode/src/github.com/alecthomas/template/helper.go
/usr/share/gocode/src/github.com/alecthomas/template/multi_test.go
/usr/share/gocode/src/github.com/alecthomas/template/parse
/usr/share/gocode/src/github.com/alecthomas/template/parse/lex.go
/usr/share/gocode/src/github.com/alecthomas/template/parse/lex_test.go
/usr/share/gocode/src/github.com/alecthomas/template/parse/node.go
/usr/share/gocode/src/github.com/alecthomas/template/parse/parse.go
/usr/share/gocode/src/github.com/alecthomas/template/parse/parse_test.go
/usr/share/gocode/src/github.com/alecthomas/template/template.go
/usr/share/licenses/golang-github-alecthomas-template-devel
/usr/share/licenses/golang-github-alecthomas-template-devel/LICENSE

References

Summary

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