How to Install and Uninstall php-redis Package on Debian 11 (Bullseye)

Last updated: November 26,2024

1. Install "php-redis" package

In this section, we are going to explain the necessary steps to install php-redis on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install php-redis

2. Uninstall "php-redis" package

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

$ sudo apt remove php-redis $ sudo apt autoclean && sudo apt autoremove

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

Package: 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: 14
Pre-Depends: php-common (>= 2:69~)
Depends: php8.1-redis, php-igbinary
Suggests: redis-server
Homepage: https://pecl.php.net/package/redis
Priority: optional
Section: php
Filename: pool/main/p/php-redis/php-redis_5.3.7+4.3.0-1+0~20220330.42+debian11~1.gbp6fe8b7_amd64.deb
Size: 6156
SHA256: 9474a73f8599a6d10dde32b6b43af80a9dde742519cd181f2d765aede0b2bfed
SHA1: 5cbc3d3a721b43eeda7c3612cb7960a67047786e
MD5sum: 4627f1054e5967d19e81d18b413f2e30
Description: PHP extension for interfacing with Redis
Description-md5: b8a3de89cf7f4311899f1f5751dbc60a

Package: php-redis
Version: 5.3.2+4.3.0-2+deb11u1
Installed-Size: 652
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Provides: php7.4-redis
Depends: php-igbinary, phpapi-20190902, libc6 (>= 2.14)
Pre-Depends: php-common (>= 2:69~)
Suggests: redis-server
Description: PHP extension for interfacing with Redis
Description-md5: b8a3de89cf7f4311899f1f5751dbc60a
Homepage: https://pecl.php.net/package/redis
Section: php
Priority: optional
Filename: pool/main/p/php-redis/php-redis_5.3.2+4.3.0-2+deb11u1_amd64.deb
Size: 148688
MD5sum: b3c7535e22b24a9d721e7e81194b62dc
SHA256: fe665ce17a22b1a512cb48e797cdb1b736336dd0227bc44c4001d49d62d996a5