How To Install go-bindata on Fedora 36

In this tutorial we learn how to install go-bindata in Fedora 36. go-bindata is A small utility which generates Go code from any file

Introduction

In this tutorial we learn how to install go-bindata on Fedora 36.

What is go-bindata

A small utility which generates Go code from any file This tool converts any file into managable Go source code. Useful for embedding binary data into a go program. The file data is optionally gzip compressed before being converted to a raw byte slice.

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

Install go-bindata 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 go-bindata using dnf by running the following command:

sudo dnf -y install go-bindata

Install go-bindata 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 go-bindata using yum by running the following command:

sudo yum -y install go-bindata

How To Uninstall go-bindata on Fedora 36

To uninstall only the go-bindata package we can use the following command:

sudo dnf remove go-bindata

go-bindata Package Contents on Fedora 36

/usr/bin/go-bindata
/usr/lib/.build-id
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/4f8c225326ec3ed775dc65fff641131ec6362a
/usr/share/doc/go-bindata
/usr/share/doc/go-bindata/LICENSE
/usr/share/doc/go-bindata/README.md

References

Summary

In this tutorial we learn how to install go-bindata on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).