How To Install golang-google-protobuf on Fedora 36

In this tutorial we learn how to install golang-google-protobuf in Fedora 36. golang-google-protobuf is Go support for Google’s protocol buffers

Introduction

In this tutorial we learn how to install golang-google-protobuf on Fedora 36.

What is golang-google-protobuf

Go support for Google’s protocol buffers.

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

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

sudo dnf -y install golang-google-protobuf

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

sudo yum -y install golang-google-protobuf

How To Uninstall golang-google-protobuf on Fedora 36

To uninstall only the golang-google-protobuf package we can use the following command:

sudo dnf remove golang-google-protobuf

golang-google-protobuf Package Contents on Fedora 36

/usr/bin/protoc-gen-go
/usr/lib/.build-id
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/4066f6e32aaab35bd92becb05ae87cb792a05c
/usr/share/doc/golang-google-protobuf
/usr/share/doc/golang-google-protobuf/AUTHORS
/usr/share/doc/golang-google-protobuf/CONTRIBUTING.md
/usr/share/doc/golang-google-protobuf/CONTRIBUTORS
/usr/share/doc/golang-google-protobuf/README.md
/usr/share/licenses/golang-google-protobuf
/usr/share/licenses/golang-google-protobuf/LICENSE
/usr/share/licenses/golang-google-protobuf/PATENTS

References

Summary

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