How To Install librdkafka on Fedora 36

In this tutorial we learn how to install librdkafka in Fedora 36. librdkafka is The Apache Kafka C library

Introduction

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

What is librdkafka

Librdkafka is a C/C++ library implementation of the Apache Kafka protocol, containing both Producer and Consumer support. It was designed with message delivery reliability and high performance in mind, current figures exceed 800000 messages/second for the producer and 3 million messages/second for the consumer.

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

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

sudo dnf -y install librdkafka

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

sudo yum -y install librdkafka

How To Uninstall librdkafka on Fedora 36

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

sudo dnf remove librdkafka

librdkafka Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/89f232b85d3dba0c44003de842451d8e76fe67
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/e5f60e48b13243bbe236ba764002e1806d3f5d
/usr/lib/librdkafka++.so.1
/usr/lib/librdkafka.so.1
/usr/share/doc/librdkafka
/usr/share/doc/librdkafka/CHANGELOG.md
/usr/share/doc/librdkafka/CONFIGURATION.md
/usr/share/doc/librdkafka/INTRODUCTION.md
/usr/share/doc/librdkafka/LICENSE
/usr/share/doc/librdkafka/LICENSES.txt
/usr/share/doc/librdkafka/README.md
/usr/share/doc/librdkafka/STATISTICS.md
/usr/share/licenses/librdkafka
/usr/share/licenses/librdkafka/LICENSE
/usr/share/licenses/librdkafka/LICENSE.pycrc
/usr/share/licenses/librdkafka/LICENSE.snappy

References

Summary

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


title: “How To Install librdkafka on Fedora 36” linkTitle: “librdkafka” type: “docs” description: “In this tutorial we learn how to install librdkafka in Fedora 36. librdkafka is The Apache Kafka C library” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/librdkafka-featured.png

Introduction

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

What is librdkafka

Librdkafka is a C/C++ library implementation of the Apache Kafka protocol, containing both Producer and Consumer support. It was designed with message delivery reliability and high performance in mind, current figures exceed 800000 messages/second for the producer and 3 million messages/second for the consumer.

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

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

sudo dnf -y install librdkafka

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

sudo yum -y install librdkafka

How To Uninstall librdkafka on Fedora 36

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

sudo dnf remove librdkafka

librdkafka Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/38
/usr/lib/.build-id/38/98491d55e1f68edc3f77e9bd0df2cd9eae9170
/usr/lib/.build-id/65
/usr/lib/.build-id/65/f44ddf47be3e905493738b9c375ed91fbb8a95
/usr/lib64/librdkafka++.so.1
/usr/lib64/librdkafka.so.1
/usr/share/doc/librdkafka
/usr/share/doc/librdkafka/CHANGELOG.md
/usr/share/doc/librdkafka/CONFIGURATION.md
/usr/share/doc/librdkafka/INTRODUCTION.md
/usr/share/doc/librdkafka/LICENSE
/usr/share/doc/librdkafka/LICENSES.txt
/usr/share/doc/librdkafka/README.md
/usr/share/doc/librdkafka/STATISTICS.md
/usr/share/licenses/librdkafka
/usr/share/licenses/librdkafka/LICENSE
/usr/share/licenses/librdkafka/LICENSE.pycrc
/usr/share/licenses/librdkafka/LICENSE.snappy

References

Summary

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