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

Last updated: May 21,2024

1. Install "php8.1-redis" package

This tutorial shows how to install php8.1-redis on Debian 12 (Bookworm)

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

2. Uninstall "php8.1-redis" package

Please follow the steps below to uninstall php8.1-redis on Debian 12 (Bookworm):

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

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

Package: php8.1-redis
Source: php-redis
Version: 6.0.2-1+0~20231128.56+debian12~1.gbp9f3071
Architecture: amd64
Maintainer: Debian PHP PECL Maintainers
Installed-Size: 849
Pre-Depends: php-common (>= 2:69~)
Depends: php8.1-common, php8.1-igbinary, phpapi-20210902, 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/php8.1-redis_6.0.2-1+0~20231128.56+debian12~1.gbp9f3071_amd64.deb
Size: 187568
SHA256: 35a674fd50bcaad56bdbebd60ecce1a0525a619a772733e4074a958ba54c7aec
SHA1: 1ed59ea57b54721dba5f858a53333524f3142582
MD5sum: 8cda8573962896070699b6ed1e89df55
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