How To Install golang-github-shopify-sarama on Fedora 36

In this tutorial we learn how to install golang-github-shopify-sarama in Fedora 36. golang-github-shopify-sarama is Go library for Apache Kafka 0.8, and up

Introduction

In this tutorial we learn how to install golang-github-shopify-sarama on Fedora 36.

What is golang-github-shopify-sarama

Sarama is an MIT-licensed Go client library for Apache Kafka version 0.8 (and later).

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

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

sudo dnf -y install golang-github-shopify-sarama

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

sudo yum -y install golang-github-shopify-sarama

How To Uninstall golang-github-shopify-sarama on Fedora 36

To uninstall only the golang-github-shopify-sarama package we can use the following command:

sudo dnf remove golang-github-shopify-sarama

golang-github-shopify-sarama Package Contents on Fedora 36

/usr/bin/kafka-console-consumer
/usr/bin/kafka-console-partitionconsumer
/usr/bin/kafka-console-producer
/usr/bin/kafka-producer-performance
/usr/lib/.build-id
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/2a99a49ea43e0344231cd049401d31a4aab046
/usr/lib/.build-id/66
/usr/lib/.build-id/66/2f69c9f20f62104b1d9db0b7bd7f270f9482f9
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/c64a505c1f703e0124cadce8069fa60d224b02
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/975ef5763961cf20ec4964b914d4ac5f647572
/usr/share/doc/golang-github-shopify-sarama
/usr/share/doc/golang-github-shopify-sarama/CHANGELOG.md
/usr/share/doc/golang-github-shopify-sarama/README.md
/usr/share/doc/golang-github-shopify-sarama/examples
/usr/share/doc/golang-github-shopify-sarama/examples/README.md
/usr/share/doc/golang-github-shopify-sarama/examples/consumergroup
/usr/share/doc/golang-github-shopify-sarama/examples/consumergroup/README.md
/usr/share/doc/golang-github-shopify-sarama/examples/consumergroup/go.mod
/usr/share/doc/golang-github-shopify-sarama/examples/consumergroup/go.sum
/usr/share/doc/golang-github-shopify-sarama/examples/consumergroup/main.go
/usr/share/doc/golang-github-shopify-sarama/examples/http_server
/usr/share/doc/golang-github-shopify-sarama/examples/http_server/.gitignore
/usr/share/doc/golang-github-shopify-sarama/examples/http_server/README.md
/usr/share/doc/golang-github-shopify-sarama/examples/http_server/http_server.go
/usr/share/doc/golang-github-shopify-sarama/examples/http_server/http_server_test.go
/usr/share/doc/golang-github-shopify-sarama/examples/interceptors
/usr/share/doc/golang-github-shopify-sarama/examples/interceptors/README.md
/usr/share/doc/golang-github-shopify-sarama/examples/interceptors/go.mod
/usr/share/doc/golang-github-shopify-sarama/examples/interceptors/go.sum
/usr/share/doc/golang-github-shopify-sarama/examples/interceptors/main.go
/usr/share/doc/golang-github-shopify-sarama/examples/interceptors/trace_interceptor.go
/usr/share/doc/golang-github-shopify-sarama/examples/sasl_scram_client
/usr/share/doc/golang-github-shopify-sarama/examples/sasl_scram_client/.gitignore
/usr/share/doc/golang-github-shopify-sarama/examples/sasl_scram_client/README.md
/usr/share/doc/golang-github-shopify-sarama/examples/sasl_scram_client/main.go
/usr/share/doc/golang-github-shopify-sarama/examples/sasl_scram_client/scram_client.go
/usr/share/licenses/golang-github-shopify-sarama
/usr/share/licenses/golang-github-shopify-sarama/LICENSE

References

Summary

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