How To Install golang-github-playground-validator-10-devel on Fedora 36

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

Introduction

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

What is golang-github-playground-validator-10-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 – github.com/go-playground/validator/v10

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

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

sudo dnf -y install golang-github-playground-validator-10-devel

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

sudo yum -y install golang-github-playground-validator-10-devel

How To Uninstall golang-github-playground-validator-10-devel on Fedora 36

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

sudo dnf remove golang-github-playground-validator-10-devel

golang-github-playground-validator-10-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-playground-validator-10-devel
/usr/share/doc/golang-github-playground-validator-10-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/go-playground
/usr/share/gocode/src/github.com/go-playground/validator
/usr/share/gocode/src/github.com/go-playground/validator/v10
/usr/share/gocode/src/github.com/go-playground/validator/v10/.goipath
/usr/share/gocode/src/github.com/go-playground/validator/v10/MAINTAINERS.md
/usr/share/gocode/src/github.com/go-playground/validator/v10/README.md
/usr/share/gocode/src/github.com/go-playground/validator/v10/baked_in.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/benchmarks_test.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/cache.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/country_codes.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/currency_codes.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/doc.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/errors.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/field_level.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/go.mod
/usr/share/gocode/src/github.com/go-playground/validator/v10/non-standard
/usr/share/gocode/src/github.com/go-playground/validator/v10/non-standard/validators
/usr/share/gocode/src/github.com/go-playground/validator/v10/non-standard/validators/notblank.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/non-standard/validators/notblank_test.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/postcode_regexes.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/regexes.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/struct_level.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/en
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/en/en.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/en/en_test.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/es
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/es/es.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/es/es_test.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/fa
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/fa/fa.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/fa/fa_test.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/fr
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/fr/fr.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/fr/fr_test.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/id
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/id/id.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/id/id_test.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/ja
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/ja/ja.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/ja/ja_test.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/nl
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/nl/nl.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/nl/nl_test.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/pt
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/pt/pt.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/pt/pt_test.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/pt_BR
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/pt_BR/pt_BR.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/pt_BR/pt_BR_test.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/ru
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/ru/ru.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/ru/ru_test.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/tr
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/tr/tr.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/tr/tr_test.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/zh
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/zh/zh.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/zh/zh_test.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/zh_tw
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/zh_tw/zh_tw.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/translations/zh_tw/zh_tw_test.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/util.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/validator.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/validator_instance.go
/usr/share/gocode/src/github.com/go-playground/validator/v10/validator_test.go
/usr/share/licenses/golang-github-playground-validator-10-devel
/usr/share/licenses/golang-github-playground-validator-10-devel/LICENSE

References

Summary

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