How To Install golang-gopkg-playground-validator-8-devel on Fedora 36

In this tutorial we learn how to install golang-gopkg-playground-validator-8-devel in Fedora 36. golang-gopkg-playground-validator-8-devel is Go struct and field validation

Introduction

In this tutorial we learn how to install golang-gopkg-playground-validator-8-devel on Fedora 36.

What is golang-gopkg-playground-validator-8-devel

Package Validator implements value validations for structs and individual fields based on tags. It can also handle Cross-Field and Cross-Struct validation for nested structs and has the ability to dive into arrays and maps of any type. This package contains the source code needed for building packages that reference the following Go import paths – gopkg.in/go-playground/validator.v8

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

Install golang-gopkg-playground-validator-8-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-gopkg-playground-validator-8-devel using dnf by running the following command:

sudo dnf -y install golang-gopkg-playground-validator-8-devel

Install golang-gopkg-playground-validator-8-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-gopkg-playground-validator-8-devel using yum by running the following command:

sudo yum -y install golang-gopkg-playground-validator-8-devel

How To Uninstall golang-gopkg-playground-validator-8-devel on Fedora 36

To uninstall only the golang-gopkg-playground-validator-8-devel package we can use the following command:

sudo dnf remove golang-gopkg-playground-validator-8-devel

golang-gopkg-playground-validator-8-devel Package Contents on Fedora 36

/usr/share/doc/golang-gopkg-playground-validator-8-devel
/usr/share/doc/golang-gopkg-playground-validator-8-devel/README.md
/usr/share/doc/golang-gopkg-playground-validator-8-devel/examples
/usr/share/doc/golang-gopkg-playground-validator-8-devel/examples/custom
/usr/share/doc/golang-gopkg-playground-validator-8-devel/examples/custom/custom.go
/usr/share/doc/golang-gopkg-playground-validator-8-devel/examples/simple
/usr/share/doc/golang-gopkg-playground-validator-8-devel/examples/simple/simple.go
/usr/share/doc/golang-gopkg-playground-validator-8-devel/examples/struct-level
/usr/share/doc/golang-gopkg-playground-validator-8-devel/examples/struct-level/struct_level.go
/usr/share/gocode/src/gopkg.in
/usr/share/gocode/src/gopkg.in/go-playground
/usr/share/gocode/src/gopkg.in/go-playground/validator.v8
/usr/share/gocode/src/gopkg.in/go-playground/validator.v8/.goipath
/usr/share/gocode/src/gopkg.in/go-playground/validator.v8/README.md
/usr/share/gocode/src/gopkg.in/go-playground/validator.v8/baked_in.go
/usr/share/gocode/src/gopkg.in/go-playground/validator.v8/benchmarks_test.go
/usr/share/gocode/src/gopkg.in/go-playground/validator.v8/cache.go
/usr/share/gocode/src/gopkg.in/go-playground/validator.v8/doc.go
/usr/share/gocode/src/gopkg.in/go-playground/validator.v8/examples_test.go
/usr/share/gocode/src/gopkg.in/go-playground/validator.v8/regexes.go
/usr/share/gocode/src/gopkg.in/go-playground/validator.v8/util.go
/usr/share/gocode/src/gopkg.in/go-playground/validator.v8/validator.go
/usr/share/gocode/src/gopkg.in/go-playground/validator.v8/validator_test.go
/usr/share/licenses/golang-gopkg-playground-validator-8-devel
/usr/share/licenses/golang-gopkg-playground-validator-8-devel/LICENSE

References

Summary

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