How to Install and Uninstall php7.1-rdkafka Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 14,2024

1. Install "php7.1-rdkafka" package

Here is a brief guide to show you how to install php7.1-rdkafka on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php7.1-rdkafka" package

Please follow the steps below to uninstall php7.1-rdkafka on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the php7.1-rdkafka package on Ubuntu 20.04 LTS (Focal Fossa)

Package: php7.1-rdkafka
Source: php-rdkafka
Priority: optional
Section: php
Installed-Size: 141
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 6.0.3-1+ubuntu20.04.1+deb.sury.org+3
Replaces: php-rdkafka (<< 6.0.3-1+ubuntu20.04.1+deb.sury.org+3~)
Provides: php-rdkafka
Depends: php7.1-common, phpapi-20160303, libc6 (>= 2.14), librdkafka1 (>= 1.2.1)
Pre-Depends: php-common (>= 2:69~)
Breaks: php-rdkafka (<< 6.0.3-1+ubuntu20.04.1+deb.sury.org+3~)
Filename: pool/main/p/php-rdkafka/php7.1-rdkafka_6.0.3-1+ubuntu20.04.1+deb.sury.org+3_amd64.deb
Size: 32240
MD5sum: 7ab49103fa733d01938c3ba4a1d8e421
SHA1: 46b98387e678d527fa33afeda75402e690476fdf
SHA256: f621c7624f35828a9bc9df6ca956c2797f29468067c0b78d3f13562a98a5333b
Description: Kafka client for PHP based on librdkafka
Description-md5: 7d1642ab7dc1c48491a9cd79301e1eb2