How To Install golang-github-burntsushi-toml on Fedora 36

In this tutorial we learn how to install golang-github-burntsushi-toml in Fedora 36. golang-github-burntsushi-toml is Toml parser with reflection for Golang

Introduction

In this tutorial we learn how to install golang-github-burntsushi-toml on Fedora 36.

What is golang-github-burntsushi-toml

TOML stands for Tom’s Obvious, Minimal Language. This Go package provides a reflection interface similar to Go’s standard library json and xml packages. This package also supports the encoding.TextUnmarshaler and encoding.TextMarshaler interfaces so that you can define custom data representations.

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

Install golang-github-burntsushi-toml 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-burntsushi-toml using dnf by running the following command:

sudo dnf -y install golang-github-burntsushi-toml

Install golang-github-burntsushi-toml 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-burntsushi-toml using yum by running the following command:

sudo yum -y install golang-github-burntsushi-toml

How To Uninstall golang-github-burntsushi-toml on Fedora 36

To uninstall only the golang-github-burntsushi-toml package we can use the following command:

sudo dnf remove golang-github-burntsushi-toml

golang-github-burntsushi-toml Package Contents on Fedora 36

/usr/bin/toml-test-decoder
/usr/bin/toml-test-encoder
/usr/bin/tomlv
/usr/lib/.build-id
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/1dad9515345da901dac89606c0d8080010d706
/usr/lib/.build-id/77
/usr/lib/.build-id/77/83f531b87a8106752d05023ed3b8f598e06766
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/6359f134830329b91d73ac3e05e521c4c5740b
/usr/share/doc/golang-github-burntsushi-toml
/usr/share/doc/golang-github-burntsushi-toml/README.md
/usr/share/licenses/golang-github-burntsushi-toml
/usr/share/licenses/golang-github-burntsushi-toml/COPYING

References

Summary

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