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

Last updated: December 23,2024

1. Install "php7.1-redis" package

Learn how to install php7.1-redis on Debian 12 (Bookworm)

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

2. Uninstall "php7.1-redis" package

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

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

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

Package: php7.1-redis
Source: php-redis-5
Version: 1:5.3.7-1+0~20230912.1+debian12~1.gbp41f5ba
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 664
Pre-Depends: php-common (>= 2:69~)
Depends: php7.1-common, php7.1-igbinary, phpapi-20160303, libc6 (>= 2.14), liblz4-1 (>= 0.0~r130), libzstd1 (>= 1.5.2)
Suggests: redis-server
Breaks: php-redis (<< 1:5.3.7-1+0~20230912.1+debian12~1.gbp41f5ba~)
Replaces: php-redis (<< 1:5.3.7-1+0~20230912.1+debian12~1.gbp41f5ba~)
Provides: php-redis
Homepage: https://pecl.php.net/package/redis
Priority: optional
Section: php
Filename: pool/main/p/php-redis-5/php7.1-redis_5.3.7-1+0~20230912.1+debian12~1.gbp41f5ba_amd64.deb
Size: 155128
SHA256: b0b79ef03fe5bb68dd45c0d2eb4fcd231b52c9766990af92b6ff5dcb7d9f2d29
SHA1: d13503a93626e8e7f0735b191f3b584ac52c1d80
MD5sum: ab92bb1f2276208d4f4e1c102cbc57a5
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