How To Install golang-github-mattermost-xml-roundtrip-validator on Fedora 36

In this tutorial we learn how to install golang-github-mattermost-xml-roundtrip-validator in Fedora 36. golang-github-mattermost-xml-roundtrip-validator is Mitigations for multiple security issues in Go’s encoding/xml

Introduction

In this tutorial we learn how to install golang-github-mattermost-xml-roundtrip-validator on Fedora 36.

What is golang-github-mattermost-xml-roundtrip-validator

The Go module github.com/mattermost/xml-roundtrip-validator implements mitigations for multiple security issues in Go’s encoding/xml. Applications that use encoding/xml for security-critical operations, such as XML signature validation and SAML, may use the Validate and ValidateAll functions to avoid impact from malicious XML inputs.

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

Install golang-github-mattermost-xml-roundtrip-validator 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-mattermost-xml-roundtrip-validator using dnf by running the following command:

sudo dnf -y install golang-github-mattermost-xml-roundtrip-validator

Install golang-github-mattermost-xml-roundtrip-validator 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-mattermost-xml-roundtrip-validator using yum by running the following command:

sudo yum -y install golang-github-mattermost-xml-roundtrip-validator

How To Uninstall golang-github-mattermost-xml-roundtrip-validator on Fedora 36

To uninstall only the golang-github-mattermost-xml-roundtrip-validator package we can use the following command:

sudo dnf remove golang-github-mattermost-xml-roundtrip-validator

golang-github-mattermost-xml-roundtrip-validator Package Contents on Fedora 36

/usr/bin/xrv
/usr/lib/.build-id
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/9576a26514cd10e216969066b5f011414f9957
/usr/share/doc/golang-github-mattermost-xml-roundtrip-validator
/usr/share/doc/golang-github-mattermost-xml-roundtrip-validator/README.md
/usr/share/doc/golang-github-mattermost-xml-roundtrip-validator/SECURITY.md
/usr/share/doc/golang-github-mattermost-xml-roundtrip-validator/unstable-attributes.md
/usr/share/doc/golang-github-mattermost-xml-roundtrip-validator/unstable-directives.md
/usr/share/doc/golang-github-mattermost-xml-roundtrip-validator/unstable-elements.md
/usr/share/licenses/golang-github-mattermost-xml-roundtrip-validator
/usr/share/licenses/golang-github-mattermost-xml-roundtrip-validator/LICENSE.txt

References

Summary

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