How to Install and Uninstall php7.2-redis Package on Debian 11 (Bullseye)

Last updated: July 01,2024

1. Install "php7.2-redis" package

Please follow the instructions below to install php7.2-redis on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php7.2-redis

2. Uninstall "php7.2-redis" package

This guide covers the steps necessary to uninstall php7.2-redis on Debian 11 (Bullseye):

$ sudo apt remove php7.2-redis $ sudo apt autoclean && sudo apt autoremove

3. Information about the php7.2-redis package on Debian 11 (Bullseye)

Package: php7.2-redis
Source: php-redis
Version: 5.3.7+4.3.0-1+0~20220330.42+debian11~1.gbp6fe8b7
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 665
Pre-Depends: php-common (>= 2:69~)
Depends: php7.2-common, php7.2-igbinary, phpapi-20170718, libc6 (>= 2.14), liblz4-1 (>= 0.0~r130), libzstd1 (>= 1.4.0)
Suggests: redis-server
Breaks: php-redis (<< 5.3.7+4.3.0-1+0~20220330.42+debian11~1.gbp6fe8b7~)
Replaces: php-redis (<< 5.3.7+4.3.0-1+0~20220330.42+debian11~1.gbp6fe8b7~)
Provides: php-redis
Homepage: https://pecl.php.net/package/redis
Priority: optional
Section: php
Filename: pool/main/p/php-redis/php7.2-redis_5.3.7+4.3.0-1+0~20220330.42+debian11~1.gbp6fe8b7_amd64.deb
Size: 156000
SHA256: 6af3eee3ead1e069d5e103f17cf016e6825654ddd838862be02a40052a35a5dc
SHA1: 7a146358f5d04662e163b1fcd9959293d0b4f081
MD5sum: e18599619c0934a0d9d8b5757a39959f
Description: PHP extension for interfacing with Redis
This extension allows php applications to communicate with the Redis
persistent key-value store. The php-redis module provides an easy
object oriented interface.
Description-md5: b8a3de89cf7f4311899f1f5751dbc60a