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

Last updated: November 24,2024

1. Install "php8.1-rdkafka" package

Learn how to install php8.1-rdkafka on Ubuntu 20.04 LTS (Focal Fossa)

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

2. Uninstall "php8.1-rdkafka" package

This guide covers the steps necessary to uninstall php8.1-rdkafka on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: php8.1-rdkafka
Source: php-rdkafka
Priority: optional
Section: php
Installed-Size: 137
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: php8.1-common, phpapi-20210902, 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/php8.1-rdkafka_6.0.3-1+ubuntu20.04.1+deb.sury.org+3_amd64.deb
Size: 32272
MD5sum: a5d4eb8d0253ce3f479378f6ad5b44d1
SHA1: 38c2db0044d09c789bd32bb9ab5467758c82810b
SHA256: f8724351ccd20aae423e352f24718372dc3d2c6777df9f8ed9d0fe9c458e7014
Description: Kafka client for PHP based on librdkafka
Description-md5: 7d1642ab7dc1c48491a9cd79301e1eb2