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

Last updated: November 16,2024

1. Install "php7.0-rdkafka" package

This guide let you learn how to install php7.0-rdkafka on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php7.0-rdkafka" package

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

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

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

Package: php7.0-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.0-common, phpapi-20151012, 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.0-rdkafka_6.0.3-1+ubuntu20.04.1+deb.sury.org+3_amd64.deb
Size: 32392
MD5sum: f92b3b2025ab022a55cc7c3cefbb1aec
SHA1: baff265149e8b19c8b2c5d4fb9b56c339794e468
SHA256: 189278d52d0e5d00f60bf39cc8b6293e1d85385e3bd63975e8ec78350edeaa7b
Description: Kafka client for PHP based on librdkafka
Description-md5: 7d1642ab7dc1c48491a9cd79301e1eb2