How to Install and Uninstall php7.4-rdkafka Package on Debian 12 (Bookworm)

Last updated: June 06,2024

1. Install "php7.4-rdkafka" package

In this section, we are going to explain the necessary steps to install php7.4-rdkafka on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install php7.4-rdkafka

2. Uninstall "php7.4-rdkafka" package

This tutorial shows how to uninstall php7.4-rdkafka on Debian 12 (Bookworm):

$ sudo apt remove php7.4-rdkafka $ sudo apt autoclean && sudo apt autoremove

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

Package: php7.4-rdkafka
Source: php-rdkafka
Version: 6.0.3-1+0~20231125.4+debian12~1.gbpfa9fd4
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 141
Pre-Depends: php-common (>= 2:69~)
Depends: php7.4-common, phpapi-20190902, libc6 (>= 2.14), librdkafka1 (>= 1.4.2)
Breaks: php-rdkafka (<< 6.0.3-1+0~20231125.4+debian12~1.gbpfa9fd4~)
Replaces: php-rdkafka (<< 6.0.3-1+0~20231125.4+debian12~1.gbpfa9fd4~)
Provides: php-rdkafka
Homepage: http://pecl.php.net/package/rdkafka
Priority: optional
Section: php
Filename: pool/main/p/php-rdkafka/php7.4-rdkafka_6.0.3-1+0~20231125.4+debian12~1.gbpfa9fd4_amd64.deb
Size: 33632
SHA256: c22bb33f551768b016dfa1d042fd316c47b2afb1918ece2016431ec1d19bf9e4
SHA1: 2aa4809eeb1fc4725a2341e1e9a2e004b5ee9a3a
MD5sum: ee12ae357d8c8155b0166614fc0049fc
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.
Description-md5: 7d1642ab7dc1c48491a9cd79301e1eb2