How To Install gowrap on Fedora 36

In this tutorial we learn how to install gowrap in Fedora 36. gowrap is GoWrap is a command line tool for generating decorators for Go interfaces

Introduction

In this tutorial we learn how to install gowrap on Fedora 36.

What is gowrap

GoWrap is a command line tool that generates decorators for Go interface types using simple templates. With GoWrap you can easily add metrics, tracing, fallbacks, pools, and many other features into your existing code in a few seconds.

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

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

sudo dnf -y install gowrap

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

sudo yum -y install gowrap

How To Uninstall gowrap on Fedora 36

To uninstall only the gowrap package we can use the following command:

sudo dnf remove gowrap

gowrap Package Contents on Fedora 36

/usr/bin/gowrap
/usr/share/doc/gowrap
/usr/share/doc/gowrap/README.md
/usr/share/licenses/gowrap
/usr/share/licenses/gowrap/LICENSE

References

Summary

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