How to Install and Uninstall php7.2-redis Package on Debian 12 (Bookworm)

Last updated: November 26,2024

1. Install "php7.2-redis" package

Please follow the guidance below to install php7.2-redis on Debian 12 (Bookworm)

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

2. Uninstall "php7.2-redis" package

Here is a brief guide to show you how to uninstall php7.2-redis on Debian 12 (Bookworm):

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

3. Information about the php7.2-redis package on Debian 12 (Bookworm)

Package: php7.2-redis
Source: php-redis
Version: 6.0.2-1+0~20231128.56+debian12~1.gbp9f3071
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 821
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.5.2)
Suggests: redis-server
Breaks: php-redis (<< 6.0.2-1+0~20231128.56+debian12~1.gbp9f3071~)
Replaces: php-redis (<< 6.0.2-1+0~20231128.56+debian12~1.gbp9f3071~)
Provides: php-redis
Homepage: https://pecl.php.net/package/redis
Priority: optional
Section: php
Filename: pool/main/p/php-redis/php7.2-redis_6.0.2-1+0~20231128.56+debian12~1.gbp9f3071_amd64.deb
Size: 186100
SHA256: 474880f546d903893655805ca9c5fc3673a780013eeb8a9a2a32e58d54482e9c
SHA1: 6be26d23815ae8c08b578422256afd8788f58ad8
MD5sum: da5d25b66029c70beea12fd71248444e
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