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

Last updated: November 24,2024

1. Install "php-rdkafka" package

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

$ sudo apt update $ sudo apt install php-rdkafka

2. Uninstall "php-rdkafka" package

Please follow the guidance below to uninstall php-rdkafka on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

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

Package: php-rdkafka
Priority: optional
Section: php
Installed-Size: 9
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 6.0.3-1+ubuntu22.04.1+deb.sury.org+3
Depends: php8.3-rdkafka
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-rdkafka/php-rdkafka_6.0.3-1+ubuntu22.04.1+deb.sury.org+3_amd64.deb
Size: 2140
MD5sum: cffaa7e82283d9fcdb7879aef29b2823
SHA1: 841f901f226d274970d0320693dc371816b2c910
SHA256: 27c8b4d74cc8fbf9ff73a7805fefa5b3c284a34ba1c8114bbb72773d5b258f7a
Description: Kafka client for PHP based on librdkafka
Description-md5: 7d1642ab7dc1c48491a9cd79301e1eb2