How to Install and Uninstall php-redis Package on Debian 10 (Buster)

Last updated: December 25,2024

1. Install "php-redis" package

Please follow the step by step instructions below to install php-redis on Debian 10 (Buster)

$ sudo apt update $ sudo apt install php-redis

2. Uninstall "php-redis" package

Here is a brief guide to show you how to uninstall php-redis on Debian 10 (Buster):

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

3. Information about the php-redis package on Debian 10 (Buster)

Package: php-redis
Version: 5.3.7+4.3.0-1+0~20220330.42+debian10~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+debian10~1.gbp6fe8b7_amd64.deb
Size: 6152
SHA256: 50699d338d44536b010e4f2ba23eed0eef080c84e8608e9c681cfd3a010cf225
SHA1: c0f0600e11758a68cc3ab032c8f43c88a35fa91d
MD5sum: 395cd2053776f1203dfba469f5edc7b3
Description: PHP extension for interfacing with Redis
Description-md5: b8a3de89cf7f4311899f1f5751dbc60a

Package: php-redis
Version: 4.2.0-1
Installed-Size: 546
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Provides: php7.3-redis
Depends: php-igbinary, php-common (>= 1:7.0+33~), phpapi-20180731, libc6 (>= 2.14)
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_4.2.0-1_amd64.deb
Size: 128420
MD5sum: 2f911fb3e12b79c5b7874929b7228cbb
SHA256: 923b71688bd3309478fc7100388eae1f0408286129bfd5a7c577b1e7f865d424