How to Install and Uninstall php-rdkafka Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: November 24,2024
Notice
You can also install and uninstall the php-rdkafka on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "php-rdkafka" package
This tutorial shows how to install php-rdkafka on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
php-rdkafka
Copied
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
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
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
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