How to Install and Uninstall python-kafka Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 19,2024

1. Install "python-kafka" package

Please follow the instructions below to install python-kafka on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-kafka

2. Uninstall "python-kafka" package

Here is a brief guide to show you how to uninstall python-kafka on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python-kafka $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-kafka package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-kafka
Priority: optional
Section: universe/python
Installed-Size: 201
Maintainer: Ubuntu Developers
Original-Maintainer: PKG OpenStack
Architecture: all
Version: 0.9.3-2
Depends: python-six, python:any (<< 2.8), python:any (>= 2.7.5-5~)
Pre-Depends: dpkg (>= 1.15.6~)
Suggests: python-kafka-doc
Filename: pool/universe/p/python-kafka/python-kafka_0.9.3-2_all.deb
Size: 32504
MD5sum: 9485bac5f5a999ecff40d590254b3a62
SHA1: ea30baa04f4a6372f67c8e8ac45f9e06dc9daf75
SHA256: 9d70ec8d3613988def5ed9dc5ca2ccce69b0872de36c0384be7931ffc91c4707
Description-en: Pure Python client for Apache Kafka - Python 2.x
This module provides low-level protocol support for Apache Kafka as well as
high-level consumer and producer classes. Request batching is supported by the
protocol as well as broker-aware request routing. Gzip and Snappy compression
is also supported for message sets.
.
This package contains the Python 2.x module.
Description-md5: 86472497e76470b1a2196680910e49a9
Homepage: https://github.com/mumrah/kafka-python
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu