How to Install and Uninstall php7.1-rdkafka Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: January 08,2025
Notice
You can also install and uninstall the php7.1-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 "php7.1-rdkafka" package
This tutorial shows how to install php7.1-rdkafka on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
php7.1-rdkafka
Copied
2. Uninstall "php7.1-rdkafka" package
This is a short guide on how to uninstall php7.1-rdkafka on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
php7.1-rdkafka
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the php7.1-rdkafka package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: php7.1-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.1-common, phpapi-20160303, 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.1-rdkafka_6.0.3-1+ubuntu22.04.1+deb.sury.org+3_amd64.deb
Size: 37836
MD5sum: ab2c77d5b0aab50c4d892b07b64795f0
SHA1: 559bf989888b1b77006a391e07da90860639e88b
SHA256: 0a41b501295ecf406fe63bf62ac15c4f57dfa595ffc091b6c4b4c9f60abfac4c
Description: Kafka client for PHP based on librdkafka
Description-md5: 7d1642ab7dc1c48491a9cd79301e1eb2
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.1-common, phpapi-20160303, 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.1-rdkafka_6.0.3-1+ubuntu22.04.1+deb.sury.org+3_amd64.deb
Size: 37836
MD5sum: ab2c77d5b0aab50c4d892b07b64795f0
SHA1: 559bf989888b1b77006a391e07da90860639e88b
SHA256: 0a41b501295ecf406fe63bf62ac15c4f57dfa595ffc091b6c4b4c9f60abfac4c
Description: Kafka client for PHP based on librdkafka
Description-md5: 7d1642ab7dc1c48491a9cd79301e1eb2