How to Install and Uninstall php-rdkafka Package on Debian 12 (Bookworm)

Last updated: November 07,2024

1. Install "php-rdkafka" package

Please follow the steps below to install php-rdkafka on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php-rdkafka

2. Uninstall "php-rdkafka" package

Please follow the step by step instructions below to uninstall php-rdkafka on Debian 12 (Bookworm):

$ sudo apt remove php-rdkafka $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-rdkafka package on Debian 12 (Bookworm)

Package: php-rdkafka
Version: 6.0.3-1+0~20231125.4+debian12~1.gbpfa9fd4
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 9
Pre-Depends: php-common (>= 2:69~)
Depends: php8.3-rdkafka
Homepage: http://pecl.php.net/package/rdkafka
Priority: optional
Section: php
Filename: pool/main/p/php-rdkafka/php-rdkafka_6.0.3-1+0~20231125.4+debian12~1.gbpfa9fd4_amd64.deb
Size: 2348
SHA256: 1887e66fa60858cb67b264990519feb81fdb77d47aa3fd9c89f2c55b2125672a
SHA1: 6f818e158b5bbba6192c03963800173ab065b6b5
MD5sum: 749c62d9ab32da5afaca540c17b90253
Description: Kafka client for PHP based on librdkafka
PHP-rdkafka is a stable, production-ready, long term support, and fast Kafka
client for PHP based on librdkafka.
.
The goal of the extension is to be a low-level un-opinionated librdkafka
binding focused on production and long term support.
.
The high level and low level consumers, producer, and metadata APIs are
supported.
.
This is empty package that depends on default PHP version.
Description-md5: e253421508bebf4f4f650bf40c85c268