How to Install and Uninstall php7.2-rdkafka Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: December 27,2024

1. Install "php7.2-rdkafka" package

This tutorial shows how to install php7.2-rdkafka on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

2. Uninstall "php7.2-rdkafka" package

Please follow the instructions below to uninstall php7.2-rdkafka on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the php7.2-rdkafka package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: php7.2-rdkafka
Source: php-rdkafka
Priority: optional
Section: php
Installed-Size: 153
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 6.0.3-1+ubuntu22.04.1+deb.sury.org+3
Replaces: php-rdkafka (<< 6.0.3-1+ubuntu22.04.1+deb.sury.org+3~)
Provides: php-rdkafka
Depends: php7.2-common, phpapi-20170718, libc6 (>= 2.14), librdkafka1 (>= 1.4.2)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-rdkafka (<< 6.0.3-1+ubuntu22.04.1+deb.sury.org+3~)
Filename: pool/main/p/php-rdkafka/php7.2-rdkafka_6.0.3-1+ubuntu22.04.1+deb.sury.org+3_amd64.deb
Size: 38020
MD5sum: e169a77d2add5a0c3de5f9159f0a634b
SHA1: 77abf5403bda6c1f659e71ddf5543e847e9116c6
SHA256: f60c56212075f4edc8ebbf9ab0392df7bb5887158449844413cf9ce9a338f945
Description: Kafka client for PHP based on librdkafka
Description-md5: 7d1642ab7dc1c48491a9cd79301e1eb2