How To Install python3-kafka+snappy on Fedora 36

In this tutorial we learn how to install python3-kafka+snappy in Fedora 36. python3-kafka+snappy is Metapackage for python3-kafka

Introduction

In this tutorial we learn how to install python3-kafka+snappy on Fedora 36.

What is python3-kafka+snappy

This is a metapackage bringing in snappy extras requires for python3-kafka. It makes sure the dependencies are installed.

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

Install python3-kafka+snappy 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 python3-kafka+snappy using dnf by running the following command:

sudo dnf -y install python3-kafka+snappy

Install python3-kafka+snappy 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 python3-kafka+snappy using yum by running the following command:

sudo yum -y install python3-kafka+snappy

How To Uninstall python3-kafka+snappy on Fedora 36

To uninstall only the python3-kafka+snappy package we can use the following command:

sudo dnf remove python3-kafka+snappy

python3-kafka+snappy Package Contents on Fedora 36

/usr/lib/python3.10/site-packages/kafka_python-2.0.2.dist-info
/usr/lib/python3.10/site-packages/kafka_python-2.0.2.dist-info/INSTALLER
/usr/lib/python3.10/site-packages/kafka_python-2.0.2.dist-info/LICENSE
/usr/lib/python3.10/site-packages/kafka_python-2.0.2.dist-info/METADATA
/usr/lib/python3.10/site-packages/kafka_python-2.0.2.dist-info/WHEEL
/usr/lib/python3.10/site-packages/kafka_python-2.0.2.dist-info/top_level.txt

References

Summary

In this tutorial we learn how to install python3-kafka+snappy on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).